The initial version of this project was created from the Maven archetype:archetype
mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-archetype -DarchetypeVer
sion=1.3
Creates a new Maven project for groupId: neilpiper.me
and artifactId: webapi-api
mvn archetype:generate -e -X -DarchetypeGroupId=neilpiper.me -DarchetypeArtifactId=mule-archetype \
-DarchetypeVersion=1.0.0_30.cfa736c -DgroupId=neilpiper.me -DartifactId=webapi-api
During archetype creation the following parameters are requested.
Parameter | Example | Description |
---|---|---|
groupId | com.example | Group id of the new maven project to be created |
artifactId | mule-project | Artifact id of the new maven project to be created |
version | 1.0.0 | Initial Version of the new maven project to be created |
package | com.example.mule | Java package name - root level |
transports | http,jms,vm,file | Comma separated list of Mule transports to add as dependencies. |
modules | db,xml,scripting,json,ws | Comma separated list of Mule modules to add as dependencies. |
muleVersion | 3.9.0 | The release version of mule to base the project on. |
EE | true | Use mule enterprise edition? |
description | 'A mule example project.' | Descripiton for the project to be placed in POM and initial mule sample flows. |
Mulesoft Maven archetypes github
Mule maven repo - mule-example-archetype 3.6.0-M2
Mule maven repo - mule-project-archetype 3.9.0
https://maven.apache.org/archetype/archetype-models/archetype-descriptor/archetype-descriptor.html
https://maven.apache.org/guides/introduction/introduction-to-archetypes.html
https://maven.apache.org/guides/mini/guide-creating-archetypes.html
https://rsankarx.wordpress.com/2013/10/24/creating-maven-archetype-using-create-from-project/
http://www.mojohaus.org/keytool/keytool-maven-plugin/usage.html
http://velocity.apache.org/engine/1.7/user-guide.html#methods