You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Breznsoiza <jo...@sdm.de> on 2007/05/04 18:13:57 UTC

Re: Problem with maven-archetype-quickstart > Reason: Unable to determine the release version


venky4m wrote:
> 
> ...
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> GroupId: org.apache.maven.archetypes
> ArtifactId: maven-archetype-quickstart
> Version: RELEASE
> 
> Reason: Unable to determine the release version
> 
> Try downloading the file manually from the project website.
> 
> Then, install it using the command:
>     mvn install:install-file -DgroupId=org.apache.maven.archetypes
> -DartifactId=maven-arch
> etype-quickstart \
>         -Dversion=RELEASE -Dpackaging=jar -Dfile=/path/to/file
> 
> 
>   org.apache.maven.archetypes:maven-archetype-quickstart:jar:RELEASE
> ...
> 

Hi, 
I guess you have to specify the version of the maven-archetype-quickstart
jar.
mvn -DarchetypeArtifactId=maven-archetype-quickstart
-DarchetypeVersion=version-of-the-jar ...
Take a look at 
http://maven.apache.org/plugins/maven-archetype-plugin/examples/archetype.html
http://maven.apache.org/plugins/maven-archetype-plugin/examples/archetype.html 
section 4: Install and run the archetype
-- 
View this message in context: http://www.nabble.com/Problem-with-maven-archetype-quickstart-%3E-Reason%3A-Unable-to-determine-the-release-version-tf3590702s177.html#a10323966
Sent from the Maven - Users mailing list archive at Nabble.com.


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