0 Replies Latest reply on Apr 8, 2011 7:00 AM by Mariano Lopez

    Cannot build Richfaces 4.0 Showcase using maven

    Mariano Lopez Newbie

      Cannot build Richfaces 4.0 Showcase using maven

       

      According  to 'readme.txt' file in 'richfaces-4.0.0.Final\examples\richfaces-showcase' running:

       

      mvn clean package

       

      have to create a war file for tomcat deploying but this error happens:

       

      [INFO] Scanning for projects...

      [ERROR] The build could not read 1 project -> [Help 1]

      [ERROR]

      [ERROR]   The project org.richfaces.examples:richfaces-showcase:4.0.0.Final (D:\

      instalar\Java\JBoss\Richfaces\Richfaces4.X\richfaces-4.0.0.Final\examples\richfa

      ces-showcase\pom.xml) has 1 error

      [ERROR]     Non-resolvable parent POM: Failure to find org.richfaces.examples:ri

      chfaces-example-parent:pom:4.0.0.Final in http://repo1.maven.org/maven2 was cach

      ed in the local repository, resolution will not be reattempted until the update

      interval of central has elapsed or updates are forced and 'parent.relativePath'

      points at wrong local POM @ line 7, column 13 -> [Help 2]

      [ERROR]

      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

      ch.

      [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 rea

      d the following articles:

      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin

      gException

      [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo

      delException

      D:\instalar\Java\JBoss\Richfaces\Richfaces4.X\richfaces-4.0.0.Final\examples\ric

       

      I am working with Windowx XP SP3, JDK 16.2-b04 and Apache Maven 3.0.3 (r1075438).

       

      If I import a Maven Project from Eclipse 3.6 Helios with Maven Integration For Eclipse Plugin Ver. 0.12.1.20110112-1712, this error is showed:

       

      Project build error: Non-resolvable parent POM: Failure to find org.richfaces.examples:richfaces-example-parent:pom:4.0.0.Final in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM