Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.2-SNAPSHOT
-
None
-
Win XP, JDK 1.6.0.20, Maven 2.2.1, MyFaces trunk
Description
see error log below:
...
Downloading: http://repository.apache.org/snapshots/org/apache/myfaces/buildtool
s/checkstyle-rules/2-SNAPSHOT/checkstyle-rules-2-SNAPSHOT.pom
Downloading: http://repository.apache.org/snapshots/org/apache/myfaces/buildtool
s/checkstyle-rules/2-SNAPSHOT/checkstyle-rules-2-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.apache.myfaces.buildtools:checkstyle-rules:jar:2-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.myfaces.buildtools -Dartifac
tId=checkstyle-rules -Dversion=2-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.buildtools -DartifactI
d=checkstyle-rules -Dversion=2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Du
rl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.maven.plugins:maven-checkstyle-plugin:maven-plugin:2.2
2) org.apache.myfaces.buildtools:checkstyle-rules:jar:2-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.apache.maven.plugins:maven-checkstyle-plugin:maven-plugin:2.2
from the specified remote repositories:
apache.snapshots (http://repository.apache.org/snapshots),
central (http://repo1.maven.org/maven2),
java.net (http://download.java.net/maven/2),
Codehaus Snapshots (http://snapshots.repository.codehaus.org/)