tree: 94742d40726d7f9e67acdcca1de0e61b942f09f7 [path history] [tgz]
  1. src/
  2. pom.xml
  3. README.md
apex-app-archetype/README.md

Apex Application Maven Archetype

How to Generate an Apex Application Project Template

Run the following command

mvn archetype:generate -DarchetypeGroupId=org.apache.apex -DarchetypeArtifactId=apex-app-archetype -DarchetypeVersion=3.2.1-incubating -DgroupId=com.example -Dpackage=com.example.myapexapp -DartifactId=myapexapp -Dversion=1.0-SNAPSHOT

Using your favorite IDE, open the project that has just been created by the above command. Write your application code and optionally operator code

Change to the project directory created by the maven archetype and run mvn package

cd myapexapp; mvn package

The Apex App Package will be at target/myapexapp-1.0-SNAPSHOT.apa