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

    Cannot build RF 4.0 examples

    developer333

      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

        • 1. Cannot build RF 4.0 examples
          ilya_shaikovsky

          have you added profile to activeProfiles list?

          • 2. Cannot build RF 4.0 examples
            developer333

            Thanks Ilya. that solved the issue. Sorry for my poor knowledge of Maven.

            Paul

            • 3. Re: Cannot build RF 4.0 examples
              cutejigs

              hi ilya,

               

              hope you could help me too. i am also getting the same error when i imported the richfaces 4 showcases in my eclipse indigo version.richfaces_error.JPG

              ERROR:

              DescriptionResourcePathLocationType
              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 POMpom.xml/core-demoline 24Maven pom Loading Problem

               

              is there additional configuration i need to setup with my eclipse? i am a newbie in JBoss and RichFaces.

               

              thank you