2007/5/3, Rémy Sanlaville <[EMAIL PROTECTED]>:
Hi,

If I want to create an archetype, which one is better to use ?
If you want to create it right now, i would say the actual archetype
If you can wait for the archetypeng to have a first release
(i would say the archetype ng - but i'm obviously biased)


what's the difference ?
Mainly
- the descriptor is changed
- user is prompted for selecting the archetype and configuration
(unless using -B)
- any file can be resolved as packaged (using package in the directory
resolution)
- any file can be resolved as binary (copied instead of velocity template)
- support for multi project


http://mojo.codehaus.org/maven-archetypeng/
which is not yet released


or

mvn archetype:create
  -DgroupId=[your project's group id]
  -DartifactId=[your project's artifact id]
  -DarchetypeArtifactId=maven-archetype-archetype


(cf. http://maven.apache.org/guides/mini/guide-creating-archetypes.html)

Rémy

Hope the answer makes sense

Raphaël


Reply via email to