Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
2.1.2-SNAPSHOT
-
None
-
None
-
Win XP, JDK 1.6.0.20, Maven 2.2.1
Description
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)