Re: svn commit: r683091 - in /cayenne/main/trunk: itests/jpa-chapter5/pom.xml pom.xml

From: Aristedes Maniatis (ar..sh.com.au)
Date: Wed Aug 06 2008 - 09:31:51 EDT

  • Next message: Kevin Menard: "Re: svn commit: r683091 - in /cayenne/main/trunk: itests/jpa-chapter5/pom.xml pom.xml"

    On 06/08/2008, at 1:00 PM, aadamchi..pache.org wrote:

    > snapshot repo at people.apache.org just got (partially?) nuked, so
    > cleaning test snapshot deps
    >
    > Modified:
    > cayenne/main/trunk/itests/jpa-chapter5/pom.xml
    > cayenne/main/trunk/pom.xml

    I think there is more to it than just this. When trying to run
    assembly/build-mac.sh I get this error:

    [INFO] Configured Artifact: org.apache.cayenne:cayenne-modeler-
    mac:null:3.0-SNAPSHOT:jar
    Downloading: http://people.apache.org/repo/m2-snapshot-repository//org/apache/cayenne/cayenne-modeler-mac/3.0-SNAPSHOT/cayenne-modeler-mac-3.0-SNAPSHOT.jar
    [INFO]
    ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO]
    ------------------------------------------------------------------------
    [INFO] Failed to resolve artifact.

    I think this explains my frustration with trying to test Andrey's work
    and commit it. Instead of using the local version of the modeler, it
    was grabbing bits from the snapshot repository and using some old code.

    "mvn -P mac package" is the culprit here, but I can't see what in the
    pom file causes it to go to people.apache.org. There are only two
    references to p.a.o:

    docs/quick-start-rop/cayenne-rop-client-tutorial/pom.xml
    pom.xml (top level)

    I'm thinking we need to get rid of both of these references.

    Furthermore, I don't understand how maven caches files when they
    aren't versioned (such as the snapshots). What forces maven to use the
    most recent version of a jar and not something two weeks old?

    Ari

    -------------------------->
    ish
    http://www.ish.com.au
    Level 1, 30 Wilson Street Newtown 2042 Australia
    phone +61 2 9550 5001 fax +61 2 9550 4001
    GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A



    This archive was generated by hypermail 2.0.0 : Wed Aug 06 2008 - 09:32:28 EDT