Fornax-Platform
Forum

[Sculptor] maven archetype upgrade

View: New views
2 Messages — Rating Filter:   Alert me  

[Sculptor] maven archetype upgrade

by Andreas Källberg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I've upgraded all our maven archetypes to be based on version 2.0-alpha-4.
Amongst other, this means that it by default is interactive, i.e. you start it and during the generation it will prompt you for groupId etc.

If you still want to use it in 'batch' mode you need to tell it and provide at least groupId and artifactId, for example:

mvn archetype:generate -DarchetypeGroupId=org.fornax.cartridges -DarchetypeArtifactId=fornax-cartridges-sculptor-archetype-standalone -DarchetypeVersion=1.7.0-SNAPSHOT -DarchetypeRepository=http://www.fornax-platform.org/archiva/repository/snapshots/ -DinteractiveMode=false -DgroupId=foo -DartifactId=bar

This will be available when the next snapshot is deployed.

.../Andreas

Re: [Sculptor] maven archetype upgrade

by Patrik Nordwall :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

snapshot deployed and wiki updated

Andreas Källberg wrote:
Hi,
I've upgraded all our maven archetypes to be based on version 2.0-alpha-4.
Amongst other, this means that it by default is interactive, i.e. you start it and during the generation it will prompt you for groupId etc.

If you still want to use it in 'batch' mode you need to tell it and provide at least groupId and artifactId, for example:

mvn archetype:generate -DarchetypeGroupId=org.fornax.cartridges -DarchetypeArtifactId=fornax-cartridges-sculptor-archetype-standalone -DarchetypeVersion=1.7.0-SNAPSHOT -DarchetypeRepository=http://www.fornax-platform.org/archiva/repository/snapshots/ -DinteractiveMode=false -DgroupId=foo -DartifactId=bar

This will be available when the next snapshot is deployed.

.../Andreas