Uploaded image for project: 'Maven Archetype'
  1. Maven Archetype
  2. ARCHETYPE-479

CREATING FROM A MAVEN ARCHETYPE failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 2.3
    • None
    • Archetypes
    • None
    • ubuntu12.04

    Description

      When I CREATING FROM A MAVEN ARCHETYPE using the command:
      mvn archetype:generate -DarchetypeGroupId=io.brooklyn -DarchetypeArtifactId=brooklyn-archetype-quickstart -DarchetypeVersion=0.7.0-M2-incubating -DgroupId=com.acme -DartifactId=autobrick -Dversion=0.1.0-SNAPSHOT -DpackageName=com.acme.autobrick -DinteractiveMode=false

      The failure happens:
      root@ubuntu_130:/home/jiangchuan/test# mvn archetype:generate -DarchetypeGroupId=io.brooklyn -DarchetypeArtifactId=brooklyn-archetype-quickstart -DarchetypeVersion=0.7.0-M2-incubating -DgroupId=com.acme -DartifactId=autobrick -Dversion=0.1.0-SNAPSHOT -DpackageName=com.acme.autobrick -DinteractiveMode=false
      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Maven Stub Project (No POM) 1
      [INFO] ------------------------------------------------------------------------
      [INFO]
      [INFO] >>> maven-archetype-plugin:2.3:generate (default-cli) @ standalone-pom >>>
      [INFO]
      [INFO] <<< maven-archetype-plugin:2.3:generate (default-cli) @ standalone-pom <<<
      [INFO]
      [INFO] — maven-archetype-plugin:2.3:generate (default-cli) @ standalone-pom —
      [INFO] Generating project in Batch mode
      [INFO] Archetype repository not defined. Using the one from [io.brooklyn:brooklyn-archetype-quickstart:0.7.0-M1] found in catalog remote
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 12.476s
      [INFO] Finished at: Mon Apr 20 16:21:55 CST 2015
      [INFO] Final Memory: 9M/23M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.3:generate (default-cli) on project standalone-pom: The desired archetype does not exist (io.brooklyn:brooklyn-archetype-quickstart:0.7.0-M2-incubating) -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

      My maven version is maven 3.

      Thanks for any reply.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jiangchuan jiangchuan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: