Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: changed archetype name to geronimo-plugin-archetype

...

  1. Get the necessary artifacts into the local maven repo if they are not already available
  2. Construct the base maven project
  3. Use the maven war archetype to build a project to modify the artifacts as necessary using for instance the maven-war-plugin overlay to remove dependencies from WEB-INF/lib so copies in geronimo's repository can be used
  4. Use the geronimo-moduleplugin-archetype to build projects to build plugins for the components
  5. Use the geronimo-assembly-archetype to build a project to assemble the server.

...

Code Block
mvn archetype:create \
  -DarchetypeGroupId=org.apache.geronimo.buildsupport \
  -DarchetypeArtifactId=geronimo-moduleplugin-archetype \
  -DarchetypeVersion=2.2-SNAPSHOT \
  -DgroupId=org.apache.geronimo.plugins \
  -DartifactId=liferay-derby \
  -Dversion=1.0-SNAPSHOT

...

Code Block
mvn archetype:create \
  -DarchetypeGroupId=org.apache.geronimo.buildsupport \
  -DarchetypeArtifactId=geronimo-moduleplugin-archetype \
  -DarchetypeVersion=2.2-SNAPSHOT \
  -DgroupId=org.apache.geronimo.plugins \
  -DartifactId=liferay-jetty \
  -Dversion=1.0-SNAPSHOT

...