Re: Cayenne build failure

From: Evgeny Ryabitskiy (evgeny.ryabitski..mail.com)
Date: Tue Aug 17 2010 - 09:40:20 UTC

  • Next message: Mike Kienenberger: "Re: [VOTE] release 3.0.1"

    Hi.
    Yeah.... it's some well know problem.

    You should build without test skip at first time.

    mvn -Dmaven.test.skip=false clean install

    But you can use test.skip on second and next.

    Evgeny.

    2010/8/17 ajay <ajay.chital..mail.com>:
    > Hi,
    >
    > I am having trouble building Cayenne off trunk...
    >
    > // Steps followed
    > - svn co https://svn.apache.org/repos/asf/cayenne/main/trunk/ cayenne
    > - cd cayenne
    > - mvn -Dmaven.test.skip=true clean install
    >
    > // Version info
    > - mvn -version
    > Apache Maven 2.2.1 (r801777; 2009-08-07 00:46:01+0530)
    > Java version: 1.6.0_15
    >
    > // Error details (while building Cayenne Tools)
    > Downloading:
    > http://people.apache.org/repo/m2-snapshot-repository//org/apache/cayenne/unpublished/cayenne-jdk1.5-unpublished/3.1-SNAPSHOT/cayenne-jdk1.5-unpublished-3.1-SNAPSHOT-tests.jar
    > [INFO] Unable to find resource
    > 'org.apache.cayenne.unpublished:cayenne-jdk1.5-unpublished:test-jar:tests:3.1-SNAPSHOT'
    > in repository apache-snapshots (
    > http://people.apache.org/repo/m2-snapshot-repository/)
    > [INFO]
    > ------------------------------------------------------------------------
    > [ERROR] BUILD ERROR
    > [INFO]
    > ------------------------------------------------------------------------
    > [INFO] Failed to resolve dependencies for one or more projects in the
    > reactor. Reason: Missing:
    > ----------
    > 1)
    > org.apache.cayenne.unpublished:cayenne-jdk1.5-unpublished:test-jar:tests:3.1-SNAPSHOT
    >
    > //  I don't see any directory named "unpublished" at
    > http://people.apache.org/repo/m2-snapshot-repository/org/apache/cayenne/.
    > So, not sure where to download this file from.
    >
    > regards, Ajay
    >



    This archive was generated by hypermail 2.0.0 : Tue Aug 17 2010 - 09:41:07 UTC