THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
mvn archetype:create \ -DarchetypeGroupId=org.apache.camel \ -DarchetypeArtifactId=camel-router \ -DarchetypeVersion=1.34.0 \ -DgroupId=myGroupId \ -DartifactId=myArtifactId |
Note: -DarchetypeVersion=1.34.0 is the version number of Camel. Change this to the current version of Camel you are using.
Note: For Camel 1.5 and later, you must specify -DarchetypeGroupId=org.apache.camel.archetypes
Note: The newer version 2.0-alpha-1 of the maven-archetype-plugin breaks the above command. As a workaround until this gets resolved you can specify the version explicitly as below.
Code Block | ||
---|---|---|
| ||
mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create \ -DarchetypeGroupId=org.apache.camel \ -DarchetypeArtifactId=camel-router \ -DarchetypeVersion=1.34.0 \ -DgroupId=myGroupId \ -DartifactId=myArtifactId |
...