3 Replies Latest reply on Oct 17, 2011 5:38 AM by Joey Vergara

    Cannot build RF 4.0 examples

    paul brocelli Newbie

      Hi all RF users,

      I'd like to build and deploy the Richfaces 4 showcase. Unfortunately there are some issues with Mavan I couldn't resolve

       

      C:\richfaces-4.0.0.Final\examples\richfaces-showcase>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:\

      richfaces-4.0.0.Final\examples\richfaces-showcase\pom.xml) has 1 error

      [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 @ line 7, column 13 -> [Help 2]

       

      I've tried adding JBoss repository in my settings.xml (as stated in http://community.jboss.org/wiki/MavenGettingStarted-Users)

       

      <profile>

            <id>jboss-public-repository</id>

            <repositories>

              <repository>

                <id>jboss-public-repository-group</id>

                <name>JBoss Public Maven Repository Group</name>

                <url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>

                <layout>default</layout>

                <releases>

                  <enabled>true</enabled>

                  <updatePolicy>never</updatePolicy>

                </releases>

                <snapshots>

                  <enabled>true</enabled>

                  <updatePolicy>never</updatePolicy>

                </snapshots>

              </repository>

            </repositories>

            <pluginRepositories>

              <pluginRepository>

                <id>jboss-public-repository-group</id>

                <name>JBoss Public Maven Repository Group</name>

                <url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>

                <layout>default</layout>

                <releases>

                  <enabled>true</enabled>

                  <updatePolicy>never</updatePolicy>

                </releases>

                <snapshots>

                  <enabled>true</enabled>

                  <updatePolicy>never</updatePolicy>

                </snapshots>

              </pluginRepository>

            </pluginRepositories>

          </profile>

       

       

      However the error remains. Any help ?

      Thanks

      Paul