[
https://issues.apache.org/jira/browse/MYFACES-2752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12878747#action_12878747
]
Mark Struberg commented on MYFACES-2752:
----------------------------------------
can you please check if your system tries to access the old snapshot repo
first?
http://people.apache.org/repo/m2-snapshot-repository/...
If so, then please add the following section to your settings.xml to get rid of
it:
<mirrors>
<mirror>
<id>new.apache.snapshots</id>
<name>new apache snapshots repository. We need this to skip the old
ones</name>
<url>http://repository.apache.org/snapshots</url>
<mirrorOf>apache.snapshots</mirrorOf>
</mirror>
</mirrors>
> Missing checkstyle-rules-2-SNAPSHOT is preventing the build of the current
> myfaces trunk
> ----------------------------------------------------------------------------------------
>
> Key: MYFACES-2752
> URL: https://issues.apache.org/jira/browse/MYFACES-2752
> Project: MyFaces Core
> Issue Type: Bug
> Components: build process
> Affects Versions: 2.0.2-SNAPSHOT
> Environment: Win XP, JDK 1.6.0.20, Maven 2.2.1, MyFaces trunk
> Reporter: Oliver Bayer
>
> 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/)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.