0 Replies Latest reply on Sep 16, 2011 5:46 AM by Be Mo

    Examples for Richfaces 4.0.0.Final don't work with Maven

    Be Mo Newbie

      Hi!

       

      I wanted to try the examples included in the Richfaces 4.0.0.Final with Maven.

       

      Unfortunately it doesn't work.

       

      mvn clean package

      [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 (C:\

      seu\richfaces-4.0.0.Final\examples\richfaces-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]

       

      Line 7 ff in my pom.xml:

      <parent>

              <groupId>org.richfaces.examples</groupId>

              <artifactId>richfaces-example-parent</artifactId>

              <version>4.0.0.Final</version>

              <relativePath>../parent/pom.xml</relativePath>

       

      ../parent/pom.xml is definitely wrong. But I don't know what this is

      supposed to do.

       

      Don't know if this error is on my side.

       

      What can I do to make the examples work?

       

      Thanks,

      Bernd