Monday, March 15, 2010

Maven Archetypes update

Some changes in maven tools in mobicents platofrm:

  • fix metadata
  • add jslee 1.1 service archetype
So now all desired archetypes are there.

Maven archetypes can be found here.
Also there is good article how to use archetypes to quick start projects, it can be found here.

How to use archetype from CLI? Please follow:

  1. checkout
  2. install with mvn install
  3. use following command(for service):  mvn archetype:generate -DarchetypeArtifactId=jain-slee-11-service -DgroupdId=xxx.y -DartifactId=TestSLee11Archetype_service -DarchetypeVersion=1.0.0.BETA2-SNAPSHOT , where:
    • archetypeGroupId - archetype group
    • archetypeArtifactId - id of archetype
    • archetypeVersion - archetype version, once it is released, it should not be required
    • groupdId - new groupd id of created project
    • artifactId - new artifact id of created project, also directory name

No comments:

Post a Comment