You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org> on 2011/02/19 12:51:38 UTC
[jira] Commented: (MYFACES-3048) Missing
myfaces-api-2.0.5-SNAPSHOT-tests.jar prevent building trunk
[ https://issues.apache.org/jira/browse/MYFACES-3048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996762#comment-12996762 ]
Jakob Korherr commented on MYFACES-3048:
----------------------------------------
You need to run "mvn clean install" in core/trunk or current20, and not directly in impl itself. This way myfaces-api will be built before myfaces-impl and the tests.jar will be available in your local repository.
In addition, I found the tests.jar in the apache snapshots repo: e.g. https://repository.apache.org/content/groups/snapshots/org/apache/myfaces/core/myfaces-api/2.0.5-SNAPSHOT/myfaces-api-2.0.5-20110218.200458-7-tests.jar
Closing this issue as invalid.
> 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
> Fix For: 2.0.5-SNAPSHOT
>
>
> 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