It seems like you had a failure downloading archetype-common - this causes missing dependencies which result in the error you saw. You should check why Artifactory is not able to locate the POM.
- Brett 2008/10/13 Borut Bolčina <[EMAIL PROTECTED]>: > Hello, > > today I tried executing > > C:\workarea>mvn archetype:create -DgroupId=com.acme > -DartifactId=my-web-project -DarchetypeArtifactId=my-webapp > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'archetype'. > [INFO] org.apache.maven.plugins: checking for updates from central > [INFO] org.apache.maven.plugins: checking for updates from releases > [INFO] artifact org.apache.maven.plugins:maven-archetype-plugin: checking > for updates from central > [INFO] artifact org.apache.maven.plugins:maven-archetype-plugin: checking > for updates from releases > Downloading: > https://artifactory.acme.com/releases/org/apache/maven/plugins/maven-archetype-plugin/2.0-alpha-4/maven-archetype-plugin-2.0-al > pha-4.pom > 4K downloaded > Downloading: > https://artifactory.acme.com/repo1-maven-org/org/apache/maven/plugins/maven-archetype-plugin/2.0-alpha-4/maven-archetype-plugin > -2.0-alpha-4.jar > 63K downloaded > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Maven Default Project > [INFO] task-segment: [archetype:create] (aggregator-style) > [INFO] > ------------------------------------------------------------------------ > Downloading: > https://artifactory.acme.com/repo1-maven-org/org/apache/maven/archetype/archetype-common/2.0-alpha-4/archetype-common-2.0-alpha > -4.pom > Downloading: > https://artifactory.acme.com/releases/org/apache/maven/archetype/archetype-common/2.0-alpha-4/archetype-common-2.0-alpha-4.pom > Downloading: > https://artifactory.acme.com/repo1-maven-org/org/apache/maven/archetype/archetype-common/2.0-alpha-4/archetype-common-2.0-alpha > -4.pom > Downloading: > https://artifactory.acme.com/releases/org/apache/maven/archetype/archetype-common/2.0-alpha-4/archetype-common-2.0-alpha-4.pom > ----------------------------------------------------- > this realm = > app0.child-container[org.apache.maven.plugins:maven-archetype-plugin] > urls[0] = file:/C:/Documents and > Settings/borutb/.m2/repository/org/apache/maven/plugins/maven-archetype-plugin/2.0-alpha-4/maven-archetype-plugi > n-2.0-alpha-4.jar > urls[1] = file:/C:/Documents and > Settings/borutb/.m2/repository/org/apache/maven/archetype/archetype-common/2.0-alpha-4/archetype-common-2.0-alph > a-4.jar > urls[2] = file:/C:/Documents and > Settings/borutb/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar > urls[3] = file:/C:/Documents and > Settings/borutb/.m2/repository/org/apache/maven/shared/maven-invoker/2.0.6/maven-invoker-2.0.6.jar > urls[4] = file:/C:/Documents and > Settings/borutb/.m2/repository/commons-collections/commons-collections/3.2/commons-collections-3.2.jar > Number of imports: 6 > import: [EMAIL PROTECTED] > import: [EMAIL PROTECTED] > import: [EMAIL PROTECTED] > import: [EMAIL PROTECTED] > import: [EMAIL PROTECTED] > import: [EMAIL PROTECTED] > > > this realm = plexus.core > urls[0] = file:/C:/apache-maven-2.0.9/bin/../lib/maven-2.0.9-uber.jar > Number of imports: 6 > import: [EMAIL PROTECTED] > import: [EMAIL PROTECTED] > import: [EMAIL PROTECTED] > import: [EMAIL PROTECTED] > import: [EMAIL PROTECTED] > import: [EMAIL PROTECTED] > ----------------------------------------------------- > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Internal error in the plugin manager executing goal > 'org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:create': Unable > to find t > he mojo 'org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:create' > in the plugin 'org.apache.maven.plugins:maven-archetype-plugin' > org/dom4j/DocumentException > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 6 seconds > [INFO] Finished at: Mon Oct 13 13:18:38 CEST 2008 > [INFO] Final Memory: 5M/11M > [INFO] > ------------------------------------------------------------------------ > > Is something wrong with maven-archetype-plugin:2.0-alpha-4? > > Regards, > Borut > -- Brett Porter Blog: http://blogs.exist.com/bporter/
