Saturday, August 14, 2010

mvn + grails


mvn archetype:generate \
-DarchetypeGroupId=org.grails \
-DarchetypeArtifactId=grails-maven-archetype \
-DarchetypeVersion=1.3.3 \
-DarchetypeRepository=http://snapshots.repository.codehaus.org \
-DgroupId=com.ndnlogic \
-DartifactId=test-grails




[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment: [archetype:generate] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] Preparing archetype:generate
[INFO] No goals needed for project - skipping
[INFO] [archetype:generate {execution: default-cli}]
[INFO] Generating project in Interactive mode
[INFO] Archetype defined by properties
[INFO] Using property: groupId = com.ndnlogic
[INFO] Using property: artifactId = qotd
Define value for property 'version': 1.0-SNAPSHOT: 0.1
[INFO] Using property: package = com.ndnlogic
Confirm properties configuration:
groupId: com.ndnlogic
artifactId: qotd
version: 0.1
package: com.ndnlogic
Y: y
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating OldArchetype: grails-maven-archetype:1.3.3
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: com.ndnlogic
[INFO] Parameter: packageName, Value: com.ndnlogic
[INFO] Parameter: package, Value: com.ndnlogic
[INFO] Parameter: artifactId, Value: qotd
[INFO] Parameter: basedir, Value: /home/nem/code/grails
[INFO] Parameter: version, Value: 0.1
[INFO] ********************* End of debug info from resources from generated POM ***********************
[INFO] OldArchetype created in dir: /home/nem/code/grails/qotd
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 29 seconds
[INFO] Finished at: Sat Aug 14 11:50:51 EDT 2010
[INFO] Final Memory: 14M/130M
[INFO] ------------------------------------------------------------------------

No comments: