2 Replies Latest reply on Jan 20, 2011 11:41 AM by bkafka

    Having problems using mvn to build the examples in M5

    bkafka

      Hi,

       

         Not sure if this is a bug in the build, I'm doing something wrong, or perhaps a firewall issue. I downloaded the M5 binaries from your site, unzipped, went into examples/core-demo (Using WIndows XP) and typed mvn clean package  as per instructions. I get the following error:

       

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

      chfaces-example-parent:pom:4.0.0.20101226-M5 in http://repo1.maven.org/maven2 wa

      s cached in the local repository, resolution will not be reattempted until the u

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

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

      org.apache.maven.model.resolution.UnresolvableModelException: Failure to find or

      g.richfaces.examples:richfaces-example-parent:pom:4.0.0.20101226-M5 in http://re

      po1.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 forc

      ed

       

      Any ideas? I do not have a lot of expertise with Maven though I can see I'm using Maven 3.0.1

        • 1. Re: Having problems using mvn to build the examples in M5
          ilya40umov

          Try to clean your local repository(remove all RF related files) and try to build with mvn again. It sometimes heppens with maven that it uses old copies of files.

          • 2. Having problems using mvn to build the examples in M5
            bkafka

            I removed everything but the pom file and get the same error. I'm concerened with the error "parent.relative.Path points at wronglocal POM" is an issue

            line 7 col 13.

             

                <parent>

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

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

                    <version>4.0.0.20101226-M5</version>

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

                </parent>

             

            In my distribution there is no "parent" directory that is peer to the "example" directory let alone ../parent/pom.xml. I downloaded it again but see the same thing in the zip.