Re: Remote Object Persistence Tutorial Setup

From: Kevin Menard (kmenar..ervprise.com)
Date: Sat Mar 08 2008 - 16:49:05 EST

  • Next message: Andrus Adamchik: "Re: Imports"

    I would change it back to the SNAPSHOT version and make sure that the
    snapshot repository is listed in the POM. If not, please file a JIRA.

    I have the following two repositories listed:

            <repository>
                <snapshots/>
                <id>apache.snapshots</id>
                <url>http://people.apache.org/repo/m2-snapshot-repository>
            </repository>
            <repository>
                <id>cayenne.deps</id>
                <url>
    http://objectstyle.org/maven2>
            </repository>

    -- 
    Kevin
    

    On 3/7/08 6:23 PM, "Borut Bolina" <borut.bolcin..mail.com> wrote:

    > On second thought,

    there really is not version 3.0-SNAPSHOT at repo1. However > there are versions 3.0M1, 3.0M2 and 3.0M3. After correcting 3 poms from > SNAPSHOT to M3, the build (eclipse:eclipse) succeeded, but it did not download > some libs (hessian for example) as the repos locations are probably defined at > a higher level pom.

    I then did a complete checkout: svn co > http://svn.apache.org/repos/asf/cayenne/main/trunk/ cayenne

    but the build > fails with ... [INFO] [compiler:compile] [INFO] Compiling 6 source files > to C:\Users\Borut\Workarea\cayenne\build-tools\maven-cayenne-doc-plugin\target > \classes [INFO] -------------------------------------------------------------- > ---------- [INFO] Building Cayenne Build Tools Parent [INFO] task-segment: > [clean, > compile] [INFO] -------------------------------------------------------------- > ---------- [INFO] [clean:clean] [INFO] No goals needed for project - > skipping [INFO] -------------------------------------------------------------- > ---------- [INFO] Building Cayenne License and Notice Bundle [INFO] > task-segment: [clean, > compile] [INFO] -------------------------------------------------------------- > ---------- [INFO] > artifact org.apache.cayenne.build-tools:maven-cayenne-build-plugin:checking > for updates from mergere [INFO] > artifact org.apache.cayenne.build-tools:maven-cayenne-build-plugin:checking > for updates from > central [INFO] --------------------------------------------------------------- > --------- [ERROR] BUILD > ERROR [INFO] ----------------------------------------------------------------- > ------- [INFO] The plugin > 'org.apache.cayenne.build-tools:maven-cayenne-build-plugin' does not exist or > no valid version could be > found [INFO] ----------------------------------------------------------------- > ------- [INFO] For more information, run Maven with the -e > switch [INFO] ---------------------------------------------------------------- > -------- [INFO] Total time: 1 minute 33 seconds [INFO] Finished at: Sat Mar 08 > 00:17:14 CET 2008 [INFO] Final Memory: > 9M/20M [INFO] ---------------------------------------------------------------- > --------

    Any ideas?

    2008/3/7, Borut Bolina <borut.bolcin..mail.com>: > > > Hi, > > I think you have to modify the instructions at > > http://cayenne.apache.org/doc/remote-object-persistence-tutorial-setup.html >

    > > Checking out with > svn co > > http://svn.apache.org/repos/asf/cayenne/main/trunk/docs/quick-start-rop/ > > > and then running > C:\Users\Borut\Workarea\quick-start-rop>mvn > eclipse:eclipse > [INFO] Scanning for projects... > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] FATAL ERROR > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Failed to resolve artifact. > > GroupId: org.apache.cayenne > > ArtifactId: cayenne-parent > Version: 3.0-SNAPSHOT > > Reason: Unable to > download the artifact from any repository > > > org.apache.cayenne:cayenne-parent:pom:3.0-SNAPSHOT > > from the specified > remote repositories: > central (http://repo1.maven.org/maven2) > > fails on > empty local m2 repository. I don't think you can build a > sub-project without > the parent. > > Regards, > Borut > >



    This archive was generated by hypermail 2.0.0 : Sat Mar 08 2008 - 16:49:43 EST