FAQ
[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] ------------------------------------------------------------------------

Search Discussions

  • Evgeny Ryabitskiy at Nov 23, 2009 at 12:01 am
    this SNAPSHOT for surefire is not going to be downloaded :)
    Have you try it with empty Local Repo?

    2009/11/23 Evgeny Ryabitskiy [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] ------------------------------------------------------------------------
  • Andrus Adamchik at Nov 23, 2009 at 5:15 am
    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 <aadamchik@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/trunk@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 <evgeny.ryabitskiy@gmail.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]
    ------------------------------------------------------------------------
  • Andrus Adamchik at Nov 23, 2009 at 5:46 am
    $ 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 <aadamchik@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/trunk@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 <evgeny.ryabitskiy@gmail.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]
    ------------------------------------------------------------------------
  • Рябицкий Евгений at Nov 23, 2009 at 8:45 am
    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 <aadamchik@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/trunk@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 <evgeny.ryabitskiy@gmail.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 Razumovsky at Nov 23, 2009 at 9:13 am
    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 пользователь Рябицкий Евгений <
    eryabitskiy@diasoft.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 <aadamchik@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/trunk@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 <evgeny.ryabitskiy@gmail.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
  • Рябицкий Евгений at Nov 23, 2009 at 9:47 am
    So the only way is intall those artifacts manually in your repo.
    I know...

    Sorry maybe I confused you. I can't Build it now because I am at work. But yesterday (when I post first letter in this chain) I was building Cayenne at home. Not successful.... Even I don't have Internet limits at home...

    Evgeny.


    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 пользователь Рябицкий Евгений <
    eryabitskiy@diasoft.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 <aadamchik@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/trunk@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 <evgeny.ryabitskiy@gmail.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
  • Evgeny Ryabitskiy at Nov 23, 2009 at 10:07 am
    So... I got Internet (promised to kill someone before)...

    Still nothing better... It's trying to load it from object style but fails.



    [INFO] ------------------------------------------------------------------------
    [INFO] Building Cayenne
    [INFO] task-segment: [clean, install]
    [INFO] ------------------------------------------------------------------------
    Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.5-SNAPSHOT/maven-surefire-plugin-2.5-SNAPSHOT.pom
    [INFO] Unable to find resource
    'org.apache.maven.plugins:maven-surefire-plugin:pom:2.5-SNAPSHOT' in
    repository Maven Central Repo (http://repo1.maven.org/maven2)
    Downloading: http://objectstyle.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.5-SNAPSHOT/maven-surefire-plugin-2.5-SNAPSHOT.pom
    [INFO] Unable to find resource
    'org.apache.maven.plugins:maven-surefire-plugin:pom:2.5-SNAPSHOT' in
    repository objectstyle-snapshots (http://objectstyle.org/maven2)
    Downloading: http://people.apache.org/repo/m2-snapshot-repository//org/apache/maven/plugins/maven-surefire-plugin/2.5-SNAPSHOT/maven-surefire-plugin-2.5-SNAPSHOT.pom
    [INFO] Unable to find resource
    'org.apache.maven.plugins:maven-surefire-plugin:pom:2.5-SNAPSHOT' in
    repository apache-snapshots
    (http://people.apache.org/repo/m2-snapshot-repository/)
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Failed to resolve artifact.

    GroupId: org.apache.maven.plugins
    ArtifactId: maven-surefire-plugin
    Version: 2.5-SNAPSHOT

    Reason: Unable to download the artifact from any repository

    org.apache.maven.plugins:maven-surefire-plugin:pom:2.5-SNAPSHOT

    from the specified remote repositories:
    central (http://repo1.maven.org/maven2),
    apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository/),
    Maven Central Repo (http://repo1.maven.org/maven2),
    objectstyle-snapshots (http://objectstyle.org/maven2)



    [INFO] ------------------------------------------------------------------------
    [INFO] For more information, run Maven with the -e switch
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 2 seconds
    [INFO] Finished at: Mon Nov 23 13:01:03 MSK 2009
    [INFO] Final Memory: 4M/7M
    [INFO] ------------------------------------------------------------------------

    23 ноября 2009 г. 12:40 пользователь Рябицкий Евгений
    <eryabitskiy@diasoft.ru> написал:
    So the only way is intall those artifacts manually in your repo.
    I know...

    Sorry maybe I confused you. I can't Build it now because I am at work. But yesterday (when I post first letter in this chain) I was building Cayenne at home. Not successful.... Even I don't have Internet limits at home...

    Evgeny.


    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 пользователь Рябицкий Евгений <
    eryabitskiy@diasoft.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 <aadamchik@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/trunk@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 <evgeny.ryabitskiy@gmail.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
  • Aristedes Maniatis at Nov 23, 2009 at 10:24 am

    On 23/11/09 9:06 PM, Evgeny Ryabitskiy wrote:
    So... I got Internet (promised to kill someone before)...

    Still nothing better... It's trying to load it from object style but fails.
    Sometimes I've found deleting the ~/.m2 directory causes the right voodoo...

    Ari


    --

    -------------------------->
    Aristedes Maniatis
    GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
  • Evgeny Ryabitskiy at Nov 23, 2009 at 10:28 am
    yeah!...
    One time cleaned up my local repository and not it's working...
    Thx everyone for help. :) Sorry for disturbtion:(

    Evgeny.




    23 ноября 2009 г. 13:23 пользователь Aristedes Maniatis
    <ari@maniatis.org> написал:
    On 23/11/09 9:06 PM, Evgeny Ryabitskiy wrote:

    So... I got Internet (promised to kill someone before)...

    Still nothing better... It's trying to load it from object style but
    fails.
    Sometimes I've found deleting the ~/.m2 directory causes the right voodoo...

    Ari


    --

    -------------------------->
    Aristedes Maniatis
    GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A
  • Andrus Adamchik at Nov 23, 2009 at 10:31 am
    Good to hear it worked.

    I guess we need to fix the versions of *all* maven plugins to ensure
    reproducible builds.

    Andrus
    On Nov 23, 2009, at 12:28 PM, Evgeny Ryabitskiy wrote:

    yeah!...
    One time cleaned up my local repository and not it's working...
    Thx everyone for help. :) Sorry for disturbtion:(

    Evgeny.




    23 ноября 2009 г. 13:23 пользователь Aristedes Maniatis
    <ari@maniatis.org> написал:
    On 23/11/09 9:06 PM, Evgeny Ryabitskiy wrote:

    So... I got Internet (promised to kill someone before)...

    Still nothing better... It's trying to load it from object style but
    fails.
    Sometimes I've found deleting the ~/.m2 directory causes the right
    voodoo...

    Ari


    --

    -------------------------->
    Aristedes Maniatis
    GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
  • Andrey Razumovsky at Nov 23, 2009 at 10:07 am
    Just blown out the snapshot:

    [INFO] snapshot org.apache.maven.plugins:maven-surefire-plugin:2.5-SNAPSHOT:
    checking for updates from Maven Central Repo
    [INFO] snapshot org.apache.maven.plugins:maven-surefire-plugin:2.5-SNAPSHOT:
    checking for updates from objectstyle-snapshots
    [INFO] snapshot org.apache.maven.plugins:maven-surefire-plugin:2.5-SNAPSHOT:
    checking for updates from apache-snapshots
    Downloading:
    http://objectstyle.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.5-SNAPSHOT/maven-surefire-plugin-2.5-20090831.205629-3.pom
    6K downloaded (maven-surefire-plugin-2.5-20090831.205629-3.pom)
    Downloading:
    http://objectstyle.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.5-SNAPSHOT/maven-surefire-plugin-2.5-20090831.205629-3.jar
    24K downloaded (maven-surefire-plugin-2.5-20090831.205629-3.jar)

    So it is downloading correctly. Maybe maven tricks? Try 2.2.0. Or network
    connection configuration in maven could be wrong

    23 ноября 2009 г. 12:40 пользователь Рябицкий Евгений <
    eryabitskiy@diasoft.ru> написал:
    So the only way is intall those artifacts manually in your repo.
    I know...

    Sorry maybe I confused you. I can't Build it now because I am at work. But
    yesterday (when I post first letter in this chain) I was building Cayenne at
    home. Not successful.... Even I don't have Internet limits at home...

    Evgeny.


    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 пользователь Рябицкий Евгений <
    eryabitskiy@diasoft.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 <aadamchik@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/trunk@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 <evgeny.ryabitskiy@gmail.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


    --
    Andrey
  • Evgeny Ryabitskiy at Nov 23, 2009 at 10:18 am
    Switched to:
    Maven version: 2.0.10

    Still same problem :/

    23 ноября 2009 г. 13:06 пользователь Andrey Razumovsky
    <razumovsky.andrey@gmail.com> написал:
    Just blown out the snapshot:

    [INFO] snapshot org.apache.maven.plugins:maven-surefire-plugin:2.5-SNAPSHOT:
    checking for updates from Maven Central Repo
    [INFO] snapshot org.apache.maven.plugins:maven-surefire-plugin:2.5-SNAPSHOT:
    checking for updates from objectstyle-snapshots
    [INFO] snapshot org.apache.maven.plugins:maven-surefire-plugin:2.5-SNAPSHOT:
    checking for updates from apache-snapshots
    Downloading:
    http://objectstyle.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.5-SNAPSHOT/maven-surefire-plugin-2.5-20090831.205629-3.pom
    6K downloaded  (maven-surefire-plugin-2.5-20090831.205629-3.pom)
    Downloading:
    http://objectstyle.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.5-SNAPSHOT/maven-surefire-plugin-2.5-20090831.205629-3.jar
    24K downloaded  (maven-surefire-plugin-2.5-20090831.205629-3.jar)

    So it is downloading correctly. Maybe maven tricks? Try 2.2.0. Or network
    connection configuration in maven could be wrong

    23 ноября 2009 г. 12:40 пользователь Рябицкий Евгений <
    eryabitskiy@diasoft.ru> написал:
    So the only way is intall those artifacts manually in your repo.
    I know...

    Sorry maybe I confused you. I can't Build it now because I am at work. But
    yesterday (when I post first letter in this chain) I was building Cayenne at
    home. Not successful.... Even I don't have Internet limits at home...

    Evgeny.


    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 пользователь Рябицкий Евгений <
    eryabitskiy@diasoft.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 <aadamchik@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/trunk@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 <evgeny.ryabitskiy@gmail.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


    --
    Andrey
  • Andrus Adamchik at Nov 23, 2009 at 10:21 am

    On Nov 23, 2009, at 12:18 PM, Evgeny Ryabitskiy wrote:

    Switched to:
    Maven version: 2.0.10

    Still same problem :/
    Don't know what else to check, but I guess this should encourage me to
    install a real repo manager on objectstyle.org instead of just serving
    artifacts from the filesystem via Apache.

    Andrus

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categoriescayenne
postedNov 22, '09 at 11:16p
activeNov 23, '09 at 10:31a
posts14
users5
websitecayenne.apache.org

People

Translate

site design / logo © 2022 Grokbase