Re: Remote Object Persistence Tutorial Setup

From: Borut Bolčina (borut.bolcin..mail.com)
Date: Fri Mar 07 2008 - 18:23:36 EST

  • Next message: Malcolm Edgar: "Re: Imports"

    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 Bolčina <borut.bolcina@gmail.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 : Fri Mar 07 2008 - 18:24:10 EST