D:\Projets\AMR\GNG_2\GngWebapp>mvn package
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building GngWebapp Maven Webapp
[INFO] task-segment: [package]
[INFO] ----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) com.pouet.gng:GNG:jar:1.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com.pouet.gng -DartifactId=GNG \
-Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com..pouet.gng -DartifactId=GNG \
-Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file \
-Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.pouet.gng:GngWebapp:war:1.0-SNAPSHOT
2) com.pouet.gng:GNG:jar:1.0-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
com.pouet.gng:GngWebapp:war:1.0-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Tue Jul 17 11:45:25 CEST 2007
[INFO] Final Memory: 3M/6M
[INFO] ------------------------------------------------------------------------
Partager