$ 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 <aadamc...@13f79535-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/tr...@826070
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 <[email protected]>:
[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]
------------------------------------------------------------------------