You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by ajay <aj...@gmail.com> on 2010/08/17 11:34:01 UTC
Cayenne build failure
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
Re: Cayenne build failure
Posted by Andrus Adamchik <an...@objectstyle.org>.
Just fixed it. It is working again for 3.0 branch and trunk.
Andrus
On Aug 17, 2010, at 12:40 PM, Evgeny Ryabitskiy wrote:
> 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 <aj...@gmail.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
>>
>
Re: Cayenne build failure
Posted by Evgeny Ryabitskiy <ev...@gmail.com>.
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 <aj...@gmail.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
>