You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Steinar Bang <sb...@dod.no> on 2012/09/28 21:03:19 UTC

Re: maven-archetype-quickstart: JUnit 3.8 is really old.

>>>>> 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


Re: maven-archetype-quickstart: JUnit 3.8 is really old.

Posted by Steinar Bang <sb...@dod.no>.
>>>>> Steinar Bang <sb...@dod.no>:
>>>>> Steinar Bang <sb...@dod.no>:

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

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

I have now filed a bug, in case anyone would like to vote on it:
 https://jira.codehaus.org/browse/MARCHETYPES-41

(Note: 3.8.1 is *really* old... 10 years is over half the lifetime of Java itself...)


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