[
https://issues.jboss.org/browse/RF-11052?page=com.atlassian.jira.plugin.s...
]
Brian Leathem resolved RF-11052.
--------------------------------
Resolution: Done
Starting with an empty local repository, and configuring my settings.xml as per:
http://community.jboss.org/wiki/MavenGettingStarted-Users
I am not able to build the components module using Maven 3.0.3.
I get the error:
{code}
Failed to execute goal on project richfaces-ui-parent:
Could not resolve dependencies for project
org.richfaces.ui:richfaces-ui-parent:pom:4.1.0-SNAPSHOT:
The following artifacts could not be resolved:
com.sun.faces:jsf-api:jar:2.0.4-b09,
com.sun.faces:jsf-impl:jar:2.0.4-b09:
Could not find artifact
com.sun.faces:jsf-api:jar:2.0.4-b09
in jboss-public-repository-group
(
https://repository.jboss.org/nexus/content/groups/public-jboss/)
{code}
However, configuring my settings.xml with the maven repository as per:
http://community.jboss.org/wiki/MavenGettingStarted-Developers
I am successfully able to build with maven 3.0.3.
I've updated all pages on the wiki (that I know of!) to refer to the above url w.r.t.
configuring one's settings.xml. Perhaps we should write our own page, with
appropriate reference links, to be more clear.
Module components cannot be build with Maven 3
----------------------------------------------
Key: RF-11052
URL:
https://issues.jboss.org/browse/RF-11052
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 4.0.0.Final
Environment: RichFaces 4.1.0-SNAPSHOT
Maven 3.0.3
Reporter: Pavol Pitonak
Assignee: Brian Leathem
Priority: Critical
Fix For: 4.1.0.Milestone1
# Clone Git repository
https://github.com/richfaces/components.git
# run mvn clean package using Maven 3.0.3
result:
{quote}
[INFO] ------------------------------------------------------------------------
[INFO] Building Richfaces UI Components API 4.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.449s
[INFO] Finished at: Mon Jun 06 15:39:44 CEST 2011
[INFO] Final Memory: 8M/105M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:1.3.3:shade
(default) on project richfaces-components-api: Error creating shaded jar: 1 problem was
encountered while building the effective model for
org.richfaces.ui:richfaces-components-api:4.1.0-SNAPSHOT
[ERROR] [FATAL] Non-resolvable parent POM for org.richfaces:richfaces-bom:4.1.0-SNAPSHOT:
Could not find artifact org.richfaces:richfaces-parent:pom:10 in central
(
http://repo1.maven.org/maven2) and 'parent.relativePath' points at wrong local
POM @ org.richfaces:richfaces-bom:4.1.0-SNAPSHOT,
/data/eclipse-workspace/richfaces/build/bom/pom.xml, line 24, column 13
[ERROR] for project org.richfaces.ui:richfaces-components-api:4.1.0-SNAPSHOT at
/data/eclipse-workspace/richfaces/components/dist/richfaces-components-api/dependency-reduced-pom.xml
for project org.richfaces.ui:richfaces-components-api:4.1.0-SNAPSHOT at
/data/eclipse-workspace/richfaces/components/dist/richfaces-components-api/dependency-reduced-pom.xml
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the
following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
{quote}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira