[
https://issues.apache.org/jira/browse/MYFACES-2752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12880619#action_12880619
]
Oliver Bayer commented on MYFACES-2752:
---------------------------------------
Hi Mark,
I've tried to built myfaces today -with the added mirror in settings.xml- but
got a new error.
Maybe you're already working on this so just FYI here are the logs:
Downloading:
http://repository.apache.org/snapshots/org/apache/myfaces/buildtools/checkstyle-rules/2-SNAPSHOT/checkstyle-rules-2-SNAPSHOT.pom
[INFO] Unable to find resource
'org.apache.myfaces.buildtools:checkstyle-rules:pom:2-SNAPSHOT' in repository
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository)
So the debug output says that it's trying to download from "people.apache.org"
although I put the mirror in settings.xml as you suggested. But the build
process didn't fail as the last time.
After trying to download the jar file from different locations without success
it moved on to build JSF-Core 2.0 API. There I've got the following error:
[INFO] snapshot org.apache.felix:maven-bundle-plugin:2.1.0-SNAPSHOT: checking
for updates from apache.snapshots
[INFO] snapshot org.apache.felix:maven-bundle-plugin:2.1.0-SNAPSHOT: checking
for updates from Codehaus Snapshots
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.apache.felix:maven-bundle-plugin
Reason: Error getting POM for 'org.apache.felix:maven-bundle-plugin' from the
repository: Failed to resolve artifact, possibly due to a repository list that
is not appropriately equipped for this artifact's metadata.
org.apache.felix:maven-bundle-plugin:pom:2.1.0-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
new.apache.snapshots (http://repository.apache.org/snapshots),
Codehaus Snapshots (http://snapshots.repository.codehaus.org/)
for project org.apache.felix:maven-bundle-plugin
HTH
Greets 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.