Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
2.0.5-SNAPSHOT
-
None
-
None
-
Win XP, Ant 2.2.1
Description
Following exception is thrown while building the trunk:
Downloading: http://repository.apache.org/snapshots/org/apache/myfaces/core/myfaces-api/2.0.5-SNAPSHOT/myfaces-api-2.0.5-SNAPSHOT-tests.jar
[INFO] Unable to find resource 'org.apache.myfaces.core:myfaces-api:jar:tests:2.0.5-SNAPSHOT' in repository apache.snapshots (http://repository.apache.org/snapshots)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve dependencies for one or more projects in the reactor. Reason: Missing:
----------
1) org.apache.myfaces.core:myfaces-api:jar:tests:2.0.5-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.myfaces.core -DartifactId=myfaces-api -Dversion=2.0.5-SNAPSHOT -Dclassifier=tests -Dpackaging=jar -Dfile=/pa
th/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.apache.myfaces.core -DartifactId=myfaces-api -Dversion=2.0.5-SNAPSHOT -Dclassifier=tests -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.myfaces.core:myfaces-impl:jar:2.0.5-SNAPSHOT
2) org.apache.myfaces.core:myfaces-api:jar:tests:2.0.5-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.apache.myfaces.core:myfaces-impl:jar:2.0.5-SNAPSHOT
from the specified remote repositories:
apache.snapshots (http://repository.apache.org/snapshots),
tomcat (http://tomcat.apache.org/dev/dist/m2-repository),
central (http://repo1.maven.org/maven2),
java.net (http://download.java.net/maven/2)