This Surefire-snapshot is one of official maven team snapshots. We've taken
it to Objectstyle repo exactly for excluding dependencies from Maven
snapshots repo. Changes made is this snapshot are required for building
Cayenne with Hudson, so we're waiting till official surefire-2.5 is
released, but currently it is not.
If you don't have access to objectstyle.org, you will not be able to resolve
other dependencies such as ashwood, as well. So the only way is intall those
artifacts manually in your repo.
23 ноября 2009 г. 11:44 пользователь Рябицкий Евгений <
eryabitski..iasoft.ru> написал:
> Apache Maven 2.2.1 (r801777; 2009-08-06 23:16:01+0400)
> Java version: 1.5.0_12
> Java home: C:\Program Files\Java\jdk1.5.0_12\jre
> Default locale: ru_RU, platform encoding: Cp1251
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>
> Are you using some repo manager? Archiva/Nexus like?
>
> I checkout 2 times on 2 different workstations. Can't check it right now
> couse we have very limitted access to Web at work :(
> maven.org and apache.org are in white list but objectstyle is not....
> From my expirience there are lot's of headake with snapshots...
> Some times it's better to make own realise with timestamp name then use
> SNAPSHOTS.
>
> I know how to fix it manually but the question is: if it's buildable for
> any new user/developer?
>
> Evgeny.
>
>
> $ mvn -v
> Apache Maven 2.1.0 (r755702; 2009-03-18 21:10:27+0200)
> Java version: 1.5.0_20
> Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/
> Home
> Default locale: en_US, platform encoding: MacRoman
> OS name: "mac os x" version: "10.5.8" arch: "i386" Family: "unix"
>
> $ rm -rf ~/.m2/repository-cayenne/org/apache/maven/
>
> $ mvn clean install
>
> This worked for me. Maven grabbed surefire SNAPSHOTs from
> objectstyle.org
>
> Andrus
>
> On Nov 23, 2009, at 7:15 AM, Andrus Adamchik wrote:
>
> > Strange. I deployed it in the objectstyle.org repo per commit
> > below... Will need to try it with a clean repo I guess...
> >
> > Andrus
> >
> > commit f6446a627ace11ba97b3720080f100984739d38e
> > Author: aadamchik <aadamchi..3f79535-47bb-0310-9956-ffa450edef68>
> > Date: Fri Oct 16 20:27:46 2009 +0000
> >
> > fixing pom
> >
> > * adding obnectstyle.org repo for plugin SNAPSHOTs - needed
> > temporarily for surefire 2.5-SNAPSHOT; should get rid of it once
> > that b
> >
> > git-svn-id:
> https://svn.apache.org/repos/asf/cayenne/main/trun..26070
> > 13f79535-47bb-0310-9956-ffa450edef68
> >
> > diff --git a/pom.xml b/pom.xml
> > index b487015..0a98f32 100644
> > --- a/pom.xml
> > +++ b/pom.xml
> >.. -546,6 +546,20 @@
> > <enabled>true</enabled>
> > </releases>
> > </pluginRepository>
> > + <pluginRepository>
> > + <id>objectstyle-snapshots</id>
> > + <name>ObjectStyle Snapshots
> > Repository</name>
> > + <url>
> http://objectstyle.org/maven2
> > </url>
> > + <layout>default</layout>
> > + <snapshots>
> > + <enabled>true</
> > enabled>
> > +
> > <updatePolicy>weekly</updatePolicy>
> > +
> > <checksumPolicy>ignore</checksumPolicy>
> > + </snapshots>
> > + <releases>
> > + <enabled>false</
> > enabled>
> > + </releases>
> > + </pluginRepository>
> > </pluginRepositories>
> >
> >
> > On Nov 23, 2009, at 2:01 AM, Evgeny Ryabitskiy wrote:
> >
> >> this SNAPSHOT for surefire is not going to be downloaded :)
> >> Have you try it with empty Local Repo?
> >>
> >> 2009/11/23 Evgeny Ryabitskiy <evgeny.ryabitski..mail.com>:
> >>> [INFO]
> >>>
> ------------------------------------------------------------------------
> >>> [INFO] Building Cayenne
> >>> [INFO] task-segment: [clean, install]
> >>> [INFO]
> >>>
> ------------------------------------------------------------------------
> >>> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire/2.5-SNAPSHOT/surefire-2.5-SNAPSHOT.pom
> >>> [INFO] Unable to find resource
> >>> 'org.apache.maven.surefire:surefire:pom:2.5-SNAPSHOT' in repository
> >>> Maven Central Repo (h
> >>> ttp://repo1.maven.org/maven2)
> >>> Downloading:
> http://objectstyle.org/maven2/org/apache/maven/surefire/surefire/2.5-SNAPSHOT/surefire-2.5-SNAPSHOT.pom
> >>> [INFO] Unable to find resource
> >>> 'org.apache.maven.surefire:surefire:pom:2.5-SNAPSHOT' in repository
> >>> objectstyle-snapshots
> >>> (http://objectstyle.org/maven2)
> >>> Downloading:
> http://people.apache.org/repo/m2-snapshot-repository//org/apache/maven/surefire/surefire/2.5-SNAPSHOT/suref
> >>> ire-2.5-SNAPSHOT.pom
> >>> [INFO] Unable to find resource
> >>> 'org.apache.maven.surefire:surefire:pom:2.5-SNAPSHOT' in repository
> >>> apache-snapshots (htt
> >>> p://people.apache.org/repo/m2-snapshot-repository/)
> >>> [INFO]
> >>>
> ------------------------------------------------------------------------
> >>> [ERROR] BUILD ERROR
> >>> [INFO]
> >>>
> ------------------------------------------------------------------------
> >>> [INFO] Error building POM (may not be this project's POM).
> >>>
> >>>
> >>> Project ID: org.apache.maven.plugins:maven-surefire-plugin:maven-
> >>> plugin:null
> >>>
> >>> Reason: Cannot find parent: org.apache.maven.surefire:surefire for
> >>> project: org.apache.maven.plugins:maven-surefire-plug
> >>> in:maven-plugin:null for project
> >>> org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:null
> >>>
> >>>
> >>> [INFO]
> >>>
> ------------------------------------------------------------------------
> >>> [INFO] For more information, run Maven with the -e switch
> >>> [INFO]
> >>>
> ------------------------------------------------------------------------
> >>> [INFO] Total time: 3 seconds
> >>> [INFO] Finished at: Mon Nov 23 00:21:40 MSK 2009
> >>> [INFO] Final Memory: 4M/254M
> >>> [INFO]
> >>>
> ------------------------------------------------------------------------
> >>>
> >>
> >
> >
>
>
-- Andrey
This archive was generated by hypermail 2.0.0 : Mon Nov 23 2009 - 04:14:06 EST