[ https://issues.apache.org/jira/browse/MYFACES-2752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12879880#action_12879880 ]
Oliver Bayer commented on MYFACES-2752: --------------------------------------- Hi Mark, sorry for the late reply but I didn't get the notification email that you've added a comment. I'm relatively new to maven so I don't know how to check if the old repo path is used. Can you give me some hints? In the error log (see above) I can't find a reference to people.apache.org. But anyway I've tried to add a new mirror as you've suggested into the <maven-install-dir>\conf\settings.xml but ended up with the same error. So I've tried to put the settings.xml to the <user-dir>\.m2 directory. Even if I used the -s or -gs flag and point to the modified (with the added mirror) settings.xml I got the same exception. Thanks for your help. Oli > 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.