Missing myfaces-api-2.0.5-SNAPSHOT-tests.jar prevent building trunk
-------------------------------------------------------------------
Key: MYFACES-3048
URL: https://issues.apache.org/jira/browse/MYFACES-3048
Project: MyFaces Core
Issue Type: Bug
Components: build process
Affects Versions: 2.0.5-SNAPSHOT
Environment: Win XP, Ant 2.2.1
Reporter: Oliver Bayer
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)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira