Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Note: The content of this document is overlapping with Notes on Creating JBI Component using maven2 and Hello World - BC and Hello World - SE. Any changes you might want to do for this document might be relevant for them as well. Questions unanswered by this document may be answered by the other documents.

...

The first three parameters identify the maven 2 archetype to use, while the last two parameters are used for the generated maven 2 project. The version information "3.0-incubating" may have to be changed; just look at any of ServiceMix' pom.xml for the version you are using.

While ServiceMix is in the incubator you have to specify the incubator repository in order to use the servicemix maven 2 archetypes, unless you did not include the repository in your local maven configuration.

Code Block

        -DremoteRepositories=http://people.apache.org/repo/m2-incubating-repository

This will create the following files:

...

Note: For problems with archetypes in Eclipse, see Importing ServiceMix into Eclipse#Projects with failing build in Eclipse workspace

Created by Guillaume Nodet
On Thu May 11 15:07:33 CEST 2006
Using TimTam