Skip to content

Instantly share code, notes, and snippets.

@mikakoivisto
Created February 2, 2012 01:59
Show Gist options
  • Save mikakoivisto/1720897 to your computer and use it in GitHub Desktop.
Save mikakoivisto/1720897 to your computer and use it in GitHub Desktop.
Parent pom
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.liferay.sample</groupId>
<artifactId>sample-project</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>sample-project</name>
<url>http://www.liferay.com</url>
<properties>
<liferay.auto.deploy.dir>/path/to/liferay/bundle/deploy</liferay.auto.deploy.dir>
<liferay.version>6.1.0</liferay.version>
</properties>
</project>
pom.xml
sample-portlet
sample-portlet/pom.xml
sample-portlet/src
sample-portlet/src/main
sample-portlet/src/main/java
sample-portlet/src/main/resources
sample-portlet/src/main/webapp
sample-portlet/src/main/webapp/css
sample-portlet/src/main/webapp/css/main.css
sample-portlet/src/main/webapp/icon.png
sample-portlet/src/main/webapp/js
sample-portlet/src/main/webapp/js/main.js
sample-portlet/src/main/webapp/view.jsp
sample-portlet/src/main/webapp/WEB-INF
sample-portlet/src/main/webapp/WEB-INF/liferay-display.xml
sample-portlet/src/main/webapp/WEB-INF/liferay-plugin-package.properties
sample-portlet/src/main/webapp/WEB-INF/liferay-portlet.xml
sample-portlet/src/main/webapp/WEB-INF/portlet.xml
sample-portlet/src/main/webapp/WEB-INF/web.xml
Define value for property 'groupId': : com.liferay.sample
Define value for property 'artifactId': : sample-portlet
Define value for property 'version': 1.0-SNAPSHOT: :
Define value for property 'package': com.liferay.sample: :
Confirm properties configuration:
groupId: com.liferay.sample
artifactId: sample-portlet
version: 1.0-SNAPSHOT
package: com.liferay.sample
Y: :
...
21: remote -> com.liferay.maven.archetypes:liferay-ext-archetype (Provides an archetype to create Liferay extensions.)
22: remote -> com.liferay.maven.archetypes:liferay-hook-archetype (Provides an archetype to create Liferay hooks.)
23: remote -> com.liferay.maven.archetypes:liferay-layouttpl-archetype (Provides an archetype to create Liferay layout templates.)
24: remote -> com.liferay.maven.archetypes:liferay-portlet-archetype (Provides an archetype to create Liferay portlets.)
25: remote -> com.liferay.maven.archetypes:liferay-servicebuilder-archetype (Provides an archetype to create Liferay Service Builder portlets.)
26: remote -> com.liferay.maven.archetypes:liferay-theme-archetype (Provides an archetype to create Liferay themes.)
27: remote -> com.liferay.maven.archetypes:liferay-web-archetype (Provides an archetype to create Liferay webs.)
...
Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): 171:
Choose version:
1: 6.0.2
2: 6.0.3
3: 6.0.4
4: 6.0.5
5: 6.0.6
6: 6.1.0
7: 6.2.0-SNAPSHOT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment