Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

problem with maven

Question posted by: radhikams (Member) on May 5th, 2008 11:47 AM
Hi All
I have newly started using maven.Im using 2.0.9 .Actually im very much new to it.and my problem is the when im using the command
mvn archetype:create ------
im getting build error saying that

[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-archetype-quickstart -Dversion=RELEASE -
Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.apache.maven.archetypes -DartifactId=maven-archetype-quickstart -Dversion=RELEASE -Dp
ackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


org.apache.maven.archetypes:maven-archetype-quickstart:jar:RELEASE



[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 minutes 34 seconds
[INFO] Finished at: Mon May 05 16:24:08 IST 2008
[INFO] Final Memory: 7M/13M
[INFO] ------------------------------------------------------------------------

please explain me about the error
Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
Reply
Not the answer you were looking for? Post your question . . .
174,849 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Top Apache Forum Contributors