You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Oliver Bayer (JIRA)" <de...@myfaces.apache.org> on 2011/08/01 20:46:09 UTC
[jira] [Created] (MYFACES-3253) Unable to build current trunk
because of missing artifact
Unable to build current trunk because of missing artifact
---------------------------------------------------------
Key: MYFACES-3253
URL: https://issues.apache.org/jira/browse/MYFACES-3253
Project: MyFaces Core
Issue Type: Bug
Components: build process
Affects Versions: 2.1.2-SNAPSHOT
Environment: Win XP, JDK 1.6.0.20, Maven 2.2.1
Reporter: Oliver Bayer
While trying to build the current21 trunk I get the following exception:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve dependencies for one or more projects in the reactor. R
eason: Missing:
----------
1) org.apache.myfaces.core:myfaces-api:jar:2.1.0-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=my
faces-api -Dversion=2.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=org.apache.myfaces.core -DartifactId=myfa
ces-api -Dversion=2.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url
] -DrepositoryId=[id]
Path to dependency:
1) org.apache.myfaces.shared:myfaces-shared-project:pom:4.1.1-SNAPSHOT
2) org.apache.myfaces.core:myfaces-api:jar:2.1.0-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.apache.myfaces.shared:myfaces-shared-project:pom:4.1.1-SNAPSHOT
from the specified remote repositories:
apache.snapshots (http://repository.apache.org/snapshots),
central (http://repo1.maven.org/maven2),
apache-maven-snapshots (http://people.apache.org/repo/m2-snapshot-repository)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (MYFACES-3253) Unable to build current trunk
because of missing artifact
Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leonardo Uribe resolved MYFACES-3253.
-------------------------------------
Resolution: Fixed
Assignee: Leonardo Uribe
yes, it was reverted to 2.1.0-SNAPSHOT while 2.1.0 release occur, but I forget to update it again. Thanks for mention it.
> Unable to build current trunk because of missing artifact
> ---------------------------------------------------------
>
> Key: MYFACES-3253
> URL: https://issues.apache.org/jira/browse/MYFACES-3253
> Project: MyFaces Core
> Issue Type: Bug
> Components: build process
> Affects Versions: 2.1.2-SNAPSHOT
> Environment: Win XP, JDK 1.6.0.20, Maven 2.2.1
> Reporter: Oliver Bayer
> Assignee: Leonardo Uribe
>
> While trying to build the current21 trunk I get the following exception:
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve dependencies for one or more projects in the reactor. R
> eason: Missing:
> ----------
> 1) org.apache.myfaces.core:myfaces-api:jar:2.1.0-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=my
> faces-api -Dversion=2.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=org.apache.myfaces.core -DartifactId=myfa
> ces-api -Dversion=2.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url
> ] -DrepositoryId=[id]
> Path to dependency:
> 1) org.apache.myfaces.shared:myfaces-shared-project:pom:4.1.1-SNAPSHOT
> 2) org.apache.myfaces.core:myfaces-api:jar:2.1.0-SNAPSHOT
> ----------
> 1 required artifact is missing.
> for artifact:
> org.apache.myfaces.shared:myfaces-shared-project:pom:4.1.1-SNAPSHOT
> from the specified remote repositories:
> apache.snapshots (http://repository.apache.org/snapshots),
> central (http://repo1.maven.org/maven2),
> apache-maven-snapshots (http://people.apache.org/repo/m2-snapshot-repository)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira