[ http://jira.codehaus.org/browse/ARCHETYPE-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=138862#action_138862 ]
Raphaël Piéroni commented on ARCHETYPE-184: ------------------------------------------- I works fine here : {noformat} [EMAIL PROTECTED]:~/projects/platina/platina-archetype/target$ mvn -v Maven version: 2.0.9 Java version: 1.6.0_10-beta OS name: "linux" version: "2.6.24-18-generic" arch: "amd64" Family: "unix" {noformat} {noformat} [EMAIL PROTECTED]:~/projects/platina/platina-archetype$ mvn clean archetype:create-from-project -Darchetype.properties=archetype.properties [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] archetype [INFO] archetype :: business domain model [INFO] archetype :: business services [INFO] archetype :: persistence layer [INFO] archetype :: infrastructure [INFO] archetype :: remoting [INFO] archetype :: web services [INFO] archetype :: web application [INFO] archetype :: entreprise application [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] triemax: checking for updates from snapshot [INFO] triemax: checking for updates from apache.snapshots [INFO] triemax: checking for updates from codehaus.snapshots [INFO] org.apache.maven.plugins: checking for updates from snapshot [INFO] org.apache.maven.plugins: checking for updates from apache.snapshots [EMAIL PROTECTED]:~/projects/platina/platina-archetype$ mvn clean archetype:create-from-project -Darchetype.properties=archetype.properties [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] archetype [INFO] archetype :: business domain model [INFO] archetype :: business services [INFO] archetype :: persistence layer [INFO] archetype :: infrastructure [INFO] archetype :: remoting [INFO] archetype :: web services [INFO] archetype :: web application [INFO] archetype :: entreprise application [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.apache.maven.plugins: checking for updates from apache.snapshots [INFO] org.apache.maven.plugins: checking for updates from codehaus.snapshots [INFO] org.codehaus.mojo: checking for updates from snapshot [INFO] org.codehaus.mojo: checking for updates from apache.snapshots [INFO] org.codehaus.mojo: checking for updates from codehaus.snapshots Downloading: http://localhost:8081/nexus/content/repositories/snapshots/org/apache/maven/plugins/maven-archetype-plugin/2.0-alpha-3/maven-archetype-plugin-2.0-alpha-3.pom Downloading: http://localhost:8081/nexus/content/groups/all/org/apache/maven/plugins/maven-archetype-plugin/2.0-alpha-3/maven-archetype-plugin-2.0-alpha-3.pom 4K downloaded Downloading: http://localhost:8081/nexus/content/repositories/snapshots/org/apache/maven/archetype/maven-archetype/2.0-alpha-3/maven-archetype-2.0-alpha-3.pom Downloading: http://localhost:8081/nexus/content/groups/all/org/apache/maven/archetype/maven-archetype/2.0-alpha-3/maven-archetype-2.0-alpha-3.pom 13K downloaded Downloading: http://localhost:8081/nexus/content/repositories/snapshots/org/apache/maven/plugins/maven-archetype-plugin/2.0-alpha-3/maven-archetype-plugin-2.0-alpha-3.jar Downloading: http://localhost:8081/nexus/content/groups/all/org/apache/maven/plugins/maven-archetype-plugin/2.0-alpha-3/maven-archetype-plugin-2.0-alpha-3.jar 71K downloaded [SNIP] [INFO] [archetype:create-from-project] [INFO] Archetype created in target/generated-sources/archetype [INFO] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] ------------------------------------------------------------------------ [INFO] archetype ............................................. SUCCESS [25.989s] [INFO] archetype :: business domain model .................... SUCCESS [0.934s] [INFO] archetype :: business services ........................ SUCCESS [0.829s] [INFO] archetype :: persistence layer ........................ SUCCESS [1.175s] [INFO] archetype :: infrastructure ........................... SUCCESS [0.888s] [INFO] archetype :: remoting ................................. SUCCESS [0.856s] [INFO] archetype :: web services ............................. SUCCESS [1.307s] [INFO] archetype :: web application .......................... SUCCESS [1.132s] [INFO] archetype :: entreprise application ................... SUCCESS [1.108s] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 42 seconds [INFO] Finished at: Tue Jun 17 18:14:57 GMT 2008 [INFO] Final Memory: 38M/81M [INFO] ------------------------------------------------------------------------ {noformat} {noformat} [EMAIL PROTECTED]:~/projects/platina/platina-archetype/target/generated-sources/archetype$ tree . |-- pom.xml `-- src `-- main `-- resources |-- META-INF | `-- maven | |-- archetype-metadata.xml | `-- archetype.xml `-- archetype-resources |-- __rootArtifactId__-application | `-- pom.xml |-- __rootArtifactId__-business | |-- pom.xml | `-- src | |-- main | | |-- java [SNIP] {noformat} {noformat} [EMAIL PROTECTED]:~/projects/platina/platina-archetype/target/generated-sources/archetype$ mvn install [INFO] Scanning for projects... Downloading: http://localhost:8081/nexus/content/repositories/snapshots/org/apache/maven/archetype/archetype-packaging/2.0-alpha-3/archetype-packaging-2.0-alpha-3.pom Downloading: http://localhost:8081/nexus/content/groups/all/org/apache/maven/archetype/archetype-packaging/2.0-alpha-3/archetype-packaging-2.0-alpha-3.pom 690b downloaded Downloading: http://localhost:8081/nexus/content/repositories/snapshots/org/apache/maven/archetype/archetype-packaging/2.0-alpha-3/archetype-packaging-2.0-alpha-3.jar Downloading: http://localhost:8081/nexus/content/groups/all/org/apache/maven/archetype/archetype-packaging/2.0-alpha-3/archetype-packaging-2.0-alpha-3.jar 7K downloaded [INFO] ------------------------------------------------------------------------ [INFO] Building archetype [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on => 'false'. [INFO] Setting property: resource.loader => 'classpath'. [INFO] Setting property: resource.manager.logwhenfound => 'false'. [INFO] [archetype:jar] [INFO] [archetype:add-archetype-metadata] [INFO] [archetype:integration-test] [INFO] [install:install] [INFO] Installing /home/local/rafale/projects/platina/platina-archetype/target/generated-sources/archetype/target/archetype-1.0.0-SNAPSHOT.jar to /home/rafale/.m2/repo/com/capgemini/archetype/archetype/1.0.0-SNAPSHOT/archetype-1.0.0-SNAPSHOT.jar [INFO] [archetype:update-local-catalog] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 11 seconds [INFO] Finished at: Tue Jun 17 18:15:59 GMT 2008 [INFO] Final Memory: 16M/39M [INFO] ------------------------------------------------------------------------ {noformat} {noformat} [EMAIL PROTECTED]:~/projects/platina/platina-archetype/target$ mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3:generate -DarchetypeCatalog=local [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Default Project [INFO] task-segment: [org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3:generate] (aggregator-style) [INFO] ------------------------------------------------------------------------ [INFO] Preparing archetype:generate [INFO] No goals needed for project - skipping [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on => 'false'. [INFO] Setting property: resource.loader => 'classpath'. [INFO] Setting property: resource.manager.logwhenfound => 'false'. [INFO] [archetype:generate] [INFO] Generating project in Interactive mode [INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0) Choose archetype: 1: local -> gmaven-archetype-basic (GMaven Archetypes :: Basic) 2: local -> z (z) 3: local -> archetype (archetype) Choose a number: (1/2/3): 3 Define value for groupId: : sdf Define value for artifactId: : xcv Define value for version: 1.0-SNAPSHOT: : Define value for package: : sdf.xcv Confirm properties configuration: groupId: sdf artifactId: xcv version: 1.0-SNAPSHOT package: sdf.xcv Y: : [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 24 seconds [INFO] Finished at: Tue Jun 17 18:18:50 GMT 2008 [INFO] Final Memory: 12M/29M [INFO] ------------------------------------------------------------------------ {noformat} {noformat} [EMAIL PROTECTED]:~/projects/platina/platina-archetype/target$ tree xcv/ xcv/ |-- pom.xml |-- xcv-application | `-- pom.xml |-- xcv-business | |-- pom.xml | `-- src | |-- main | | |-- java {noformat} > Fail to create multimodule archetype from project : modules created later as > "__rootArtifactId__-modulename" > ------------------------------------------------------------------------------------------------------------ > > Key: ARCHETYPE-184 > URL: http://jira.codehaus.org/browse/ARCHETYPE-184 > Project: Maven Archetype > Issue Type: Bug > Affects Versions: 2.0-alpha-3 > Environment: creating multimodule archetype from project > http://platina.svn.sourceforge.net/svnroot/platina/platina-archetype/trunk/ > using the archetype.properties in SVN root > Reporter: nicolas de loof > > Create archetype from project -> OK > install -> OK > generate -> NOK : > __rootArtifactId__-application > __rootArtifactId__-business > __rootArtifactId__-domain > __rootArtifactId__-infrastructure > __rootArtifactId__-persistence > __rootArtifactId__-remoting > __rootArtifactId__-webapp > __rootArtifactId__-webservices > pom.xml > All other elements are fine. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira