maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steinar Bang ...@dod.no>
Subject Re: maven-archetype-quickstart: JUnit 3.8 is really old.
Date Fri, 28 Sep 2012 19:03:19 GMT
>>>>> Steinar Bang <sb@dod.no>:

> I haven't been able to list all Jira issues here yet.  I think I will
> try to instantiate a quickstart archetype from 5-SNAPSHOT and see what
> happens. 

> If it's still 3.8.1, I'll file a bug.

Hm... that didn't work...?

I tried the command example on this page:
 http://maven.apache.org/archetype/maven-archetype-bundles/maven-archetype-quickstart/

Ie. the command line:
 mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-quickstart
-DarchetypeVersion=5-SNAPSHOT

But the command line failed, because it couldn't find version 5-SNAPSHOT
of the quickstart archetype plugin:

[INFO] Generating project in Interactive mode
[INFO] Archetype repository missing. Using the one from [org.apache.maven.archetypes:maven-archetype-quickstart:1.1]
found in catalog remote
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26.596s
[INFO] Finished at: Fri Sep 28 19:35:27 CEST 2012
[INFO] Final Memory: 9M/21M
[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.apache.maven.archetypes:maven-archetype-quickstart:5-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


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message