2 Replies Latest reply: Apr 10, 2013 10:58 PM by John DeStefano RSS

3.0-SNAPSHOT Arch

John DeStefano Novice

Hi,

 

I'm trying to set up one of the archetypes for the 3.0 branch.

 

I've use the following mvn command:

 

mvn archetype:generate -DarchetypeGroupId=org.jboss.errai.archetypes -DarchetypeArtifactId=jboss-errai-kitchensink-archetype -DarchetypeVersion=3.0-SNAPSHOT -DarchetypeRepository=https://repository.jboss.org/nexus/content/groups/public/

 

I get the following error:

 

[INFO] Scanning for projects...

[INFO]                                                                        

[INFO] ------------------------------------------------------------------------

[INFO] Building Maven Stub Project (No POM) 1

[INFO] ------------------------------------------------------------------------

[INFO]

[INFO] >>> maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom >>>

[INFO]

[INFO] <<< maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom <<<

[INFO]

[INFO] --- maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom ---

[INFO] Generating project in Interactive mode

[INFO] Archetype defined by properties

Downloading: https://repository.jboss.org/nexus/content/groups/public/org/jboss/errai/archetypes/jboss-errai-kitchensink-archetype/3.0-SNAPSHOT/maven-metadata.xml

Downloading: https://repository.jboss.org/nexus/content/groups/public/org/jboss/errai/archetypes/jboss-errai-kitchensink-archetype/3.0-SNAPSHOT/jboss-errai-kitchensink-archetype-3.0-SNAPSHOT.jar

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 2.166s

[INFO] Finished at: Mon Apr 08 13:10:29 EDT 2013

[INFO] Final Memory: 10M/81M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.jboss.errai.archetypes:jboss-errai-kitchensink-archetype:3.0-SNAPSHOT) -> [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

 

 

Looks like the archetype doesn't exist in the repsotory? Is it in a different repository?

 

Thanks