[ http://jira.codehaus.org/browse/ARCHETYPE-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137508#action_137508 ]
a101ymr edited comment on ARCHETYPE-181 at 6/5/08 10:09 AM: --------------------------------------------------------------------- Shouldn't there perhaps be: <dependency> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> </dependency> ....in the org\apache\maven\archetype\archetype-common\2.0-alpha-3\archetype-common-2.0-alpha-3.pom? Without it, Maven isn't retrieving the commons-lang repository, which I assume is needed for the archetype to run!? PS, if I add the dependency to the pom, archetype:generate progresses further, but still have some serious issues. But.... archetype:create works! was (Author: a101ymr): Shouldn't there perhaps be: <dependency> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> </dependency> ....in the org\apache\maven\archetype\archetype-common\2.0-alpha-3\archetype-common-2.0-alpha-3.pom? Without it, Maven isn't retrieving the commons-lang repository, which I assume is needed for the archetype to run!? PS, if I add the dependency ^above^ to the pom, archetype:generate progresses further, but still have some serious issues. But.... archetype:create works! > Missing class org/apache/commons/lang/StringUtils > ------------------------------------------------- > > Key: ARCHETYPE-181 > URL: http://jira.codehaus.org/browse/ARCHETYPE-181 > Project: Maven Archetype > Issue Type: Bug > Affects Versions: 2.0-alpha-3 > Environment: mvn 2.0.9 > java 1.6_06 > Reporter: Andreas Höhmann > Attachments: mvn-debug.txt > > > mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes > -DgroupId=com.mycompany.app -DartifactId=my-app > > throws ... > [ERROR] FATAL ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] org/apache/commons/lang/StringUtils > org.apache.commons.lang.StringUtils > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils > at > org.apache.velocity.runtime.resource.ResourceManagerImpl.initialize(R > esourceManagerImpl.java:165) > at > org.apache.velocity.runtime.RuntimeInstance.initializeResourceManager > (RuntimeInstance.java:594) > Any ideas? -- 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