Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
$ mvn archetype:create \
   -DarchetypeGroupId=org.apache.servicemix.tooling \
   -DarchetypeArtifactId=servicemix-http-consumer-service-unit \
   -DarchetypeVersion=3.2.1 \
   -DgroupId=com.mycompany \
   -DartifactId=my-consumer-su \
   -DremoteRepositories=http://peoplerepo1.apachemaven.org/repo/m2-incubating-repositorymaven2

The command above utilizes the servicemix-http-consumer-service-unit Maven archetype to create a Maven project named my-consumer-su. This command creates a directory named my-consumer-su that contains a Maven project skeleton meaning all the necessary files are in place, you simply need to enter the correct values for the configuration. Below is the directory structure created by this archetype:

...