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:creat e ------
im getting build error saying that
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: org.apache.mave n.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.ap ache.maven.arch etypes -DartifactId=mav en-archetype-quickstart -Dversion=RELEAS E -
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.ap ache.maven.arch etypes -DartifactId=mav en-archetype-quickstart -Dversion=RELEAS E -Dp
ackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
org.apache.mave n.archetypes:ma ven-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
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:creat e ------
im getting build error saying that
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: org.apache.mave n.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.ap ache.maven.arch etypes -DartifactId=mav en-archetype-quickstart -Dversion=RELEAS E -
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.ap ache.maven.arch etypes -DartifactId=mav en-archetype-quickstart -Dversion=RELEAS E -Dp
ackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
org.apache.mave n.archetypes:ma ven-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