Just so understand correctly it's been working with 3.2.2 and "since in 
staging" it doesn't work? If so what do you mean by "since in staging"?

On Jul 11, 2014, at 5:31 PM, Arnaud Héritier <[email protected]> wrote:

> Hi all,
> 
>  I just found a potential regression in Maven 3.2.2 (compared to 3.2.1)
> and I would like to know if one of you could reproduce it before I open a
> bug report. It is strange because the bug appears on a project I'm building
> with Maven 3.2.2 several times per week since it is in staging and it's the
> first time that I have this problem. The problem is that Maven doesn't
> succeed to resolve a depMgt import transitively.
> 
>  In theory you should easily reproduce it with :
>  git clone [email protected]:exoplatform/platform-public-distributions.git &&
> cd platform-public-distributions && mvn install
> 
>  It should failed with some errors like this :
> 
> [DEBUG] Writing tracking file
> /Users/arnaud/.m2/repository/org/exoplatform/maven-depmgt-pom/9-SNAPSHOT/resolver-status.properties
> 
> [DEBUG] Using mirror exo-mirror (https://repository.exoplatform.org/public)
> for repository.exoplatform.org (https://repository.exoplatform.org/public).
> 
> [DEBUG] Using mirror exo-mirror (https://repository.exoplatform.org/public)
> for central (http://repo.maven.apache.org/maven2).
> 
> [DEBUG] Could not find metadata
> org.exoplatform.integration:integ:4.1.x-SNAPSHOT/maven-metadata.xml in
> local (/Users/arnaud/.m2/repository)
> 
> [DEBUG] Could not find metadata
> org.exoplatform.forum:forum:4.1.x-SNAPSHOT/maven-metadata.xml in local
> (/Users/arnaud/.m2/repository)
> 
> [DEBUG] Could not find metadata
> org.exoplatform.calendar:calendar:4.1.x-SNAPSHOT/maven-metadata.xml in
> local (/Users/arnaud/.m2/repository)
> 
> [DEBUG] Could not find metadata
> org.exoplatform.wiki:wiki:4.1.x-SNAPSHOT/maven-metadata.xml in local
> (/Users/arnaud/.m2/repository)
> 
> [DEBUG] Could not find metadata
> org.exoplatform.ecms:ecms:4.1.x-SNAPSHOT/maven-metadata.xml in local
> (/Users/arnaud/.m2/repository)
> 
> [DEBUG] Could not find metadata
> org.exoplatform.social:social:4.1.x-SNAPSHOT/maven-metadata.xml in local
> (/Users/arnaud/.m2/repository)
> 
> [DEBUG] Could not find metadata
> org.exoplatform.commons:commons:4.1.x-SNAPSHOT/maven-metadata.xml in local
> (/Users/arnaud/.m2/repository)
> 
> [DEBUG] Could not find metadata
> org.exoplatform.platform-ui:platform-ui:4.1.x-SNAPSHOT/maven-metadata.xml
> in local (/Users/arnaud/.m2/repository)
> 
> [DEBUG] Could not find metadata
> org.exoplatform.jcr:jcr-parent:1.15.x-SNAPSHOT/maven-metadata.xml in local
> (/Users/arnaud/.m2/repository)
> 
> [DEBUG] Could not find metadata
> org.exoplatform.ws:ws-parent:2.3.x-SNAPSHOT/maven-metadata.xml
> in local (/Users/arnaud/.m2/repository)
> 
> [DEBUG] Could not find metadata
> org.exoplatform.core:core-parent:2.5.x-SNAPSHOT/maven-metadata.xml in local
> (/Users/arnaud/.m2/repository)
> 
> [DEBUG] Could not find metadata
> org.exoplatform.kernel:kernel-parent:2.4.x-SNAPSHOT/maven-metadata.xml in
> local (/Users/arnaud/.m2/repository)
> 
> [ERROR] The build could not read 1 project -> [Help 1]
> 
> [ERROR]
> 
> [ERROR]   The project
> org.exoplatform.platform.distributions:plf-public-distributions:4.1.x-SNAPSHOT
> (/Users/arnaud/Code/eXo/platform-public-distributions/pom.xml) has 12 errors
> 
> [ERROR]     Non-resolvable import POM: Could not find artifact
> org.exoplatform.integration:integ:pom:4.1.x-SNAPSHOT @
> org.exoplatform.platform:platform:4.1.x-SNAPSHOT,
> /Users/arnaud/.m2/repository/org/exoplatform/platform/platform/4.1.x-SNAPSHOT/platform-4.1.x-SNAPSHOT.pom,
> line 363, column 19 -> [Help 2]
> 
> [ERROR]     Non-resolvable import POM: Could not find artifact
> org.exoplatform.forum:forum:pom:4.1.x-SNAPSHOT @
> org.exoplatform.platform:platform:4.1.x-SNAPSHOT,
> /Users/arnaud/.m2/repository/org/exoplatform/platform/platform/4.1.x-SNAPSHOT/platform-4.1.x-SNAPSHOT.pom,
> line 371, column 19 -> [Help 2]
> 
> [ERROR]     Non-resolvable import POM: Could not find artifact
> org.exoplatform.calendar:calendar:pom:4.1.x-SNAPSHOT @
> org.exoplatform.platform:platform:4.1.x-SNAPSHOT,
> /Users/arnaud/.m2/repository/org/exoplatform/platform/platform/4.1.x-SNAPSHOT/platform-4.1.x-SNAPSHOT.pom,
> line 379, column 19 -> [Help 2]
> 
> [ERROR]     Non-resolvable import POM: Could not find artifact
> org.exoplatform.wiki:wiki:pom:4.1.x-SNAPSHOT @
> org.exoplatform.platform:platform:4.1.x-SNAPSHOT,
> /Users/arnaud/.m2/repository/org/exoplatform/platform/platform/4.1.x-SNAPSHOT/platform-4.1.x-SNAPSHOT.pom,
> line 387, column 19 -> [Help 2]
> 
> [ERROR]     Non-resolvable import POM: Could not find artifact
> org.exoplatform.ecms:ecms:pom:4.1.x-SNAPSHOT @
> org.exoplatform.platform:platform:4.1.x-SNAPSHOT,
> /Users/arnaud/.m2/repository/org/exoplatform/platform/platform/4.1.x-SNAPSHOT/platform-4.1.x-SNAPSHOT.pom,
> line 395, column 19 -> [Help 2]
> 
> [ERROR]     Non-resolvable import POM: Could not find artifact
> org.exoplatform.social:social:pom:4.1.x-SNAPSHOT @
> org.exoplatform.platform:platform:4.1.x-SNAPSHOT,
> /Users/arnaud/.m2/repository/org/exoplatform/platform/platform/4.1.x-SNAPSHOT/platform-4.1.x-SNAPSHOT.pom,
> line 403, column 19 -> [Help 2]
> 
> [ERROR]     Non-resolvable import POM: Could not find artifact
> org.exoplatform.commons:commons:pom:4.1.x-SNAPSHOT @
> org.exoplatform.platform:platform:4.1.x-SNAPSHOT,
> /Users/arnaud/.m2/repository/org/exoplatform/platform/platform/4.1.x-SNAPSHOT/platform-4.1.x-SNAPSHOT.pom,
> line 411, column 19 -> [Help 2]
> 
> [ERROR]     Non-resolvable import POM: Could not find artifact
> org.exoplatform.platform-ui:platform-ui:pom:4.1.x-SNAPSHOT @
> org.exoplatform.platform:platform:4.1.x-SNAPSHOT,
> /Users/arnaud/.m2/repository/org/exoplatform/platform/platform/4.1.x-SNAPSHOT/platform-4.1.x-SNAPSHOT.pom,
> line 419, column 19 -> [Help 2]
> 
> [ERROR]     Non-resolvable import POM: Could not find artifact
> org.exoplatform.jcr:jcr-parent:pom:1.15.x-SNAPSHOT @
> org.exoplatform.platform:platform:4.1.x-SNAPSHOT,
> /Users/arnaud/.m2/repository/org/exoplatform/platform/platform/4.1.x-SNAPSHOT/platform-4.1.x-SNAPSHOT.pom,
> line 659, column 19 -> [Help 2]
> 
> [ERROR]     Non-resolvable import POM: Could not find artifact
> org.exoplatform.ws:ws-parent:pom:2.3.x-SNAPSHOT @
> org.exoplatform.platform:platform:4.1.x-SNAPSHOT,
> /Users/arnaud/.m2/repository/org/exoplatform/platform/platform/4.1.x-SNAPSHOT/platform-4.1.x-SNAPSHOT.pom,
> line 667, column 19 -> [Help 2]
> 
> [ERROR]     Non-resolvable import POM: Could not find artifact
> org.exoplatform.core:core-parent:pom:2.5.x-SNAPSHOT @
> org.exoplatform.platform:platform:4.1.x-SNAPSHOT,
> /Users/arnaud/.m2/repository/org/exoplatform/platform/platform/4.1.x-SNAPSHOT/platform-4.1.x-SNAPSHOT.pom,
> line 675, column 19 -> [Help 2]
> 
> [ERROR]     Non-resolvable import POM: Could not find artifact
> org.exoplatform.kernel:kernel-parent:pom:2.4.x-SNAPSHOT @
> org.exoplatform.platform:platform:4.1.x-SNAPSHOT,
> /Users/arnaud/.m2/repository/org/exoplatform/platform/platform/4.1.x-SNAPSHOT/platform-4.1.x-SNAPSHOT.pom,
> line 683, column 19 -> [Help 2]
> 
> Maven doesn't try at all to download these pom required by the import done
> in another project
> 
> Rolling back to 2.2.1 fixes it
> 
> Cheers
> 
> 
> On Thu, Jun 26, 2014 at 2:18 PM, Jason van Zyl <[email protected]> wrote:
> 
>> Hi!
>> 
>> The Apache Maven Team is pleased to announce the release of 3.2.2
>> 
>> The release notes can be found here:
>> http://maven.apache.org/docs/3.2.2/release-notes.html
>> 
>> The release can be downloaded from:
>> http://maven.apache.org/download.cgi
>> 
>> Full list of changes can be viewed in JIRA:
>> 
>> https://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10500&version=20042
>> 
>> Thanks,
>> 
>> The Maven Team
> 
> 
> 
> 
> -- 
> -----
> Arnaud Héritier
> http://aheritier.net
> Mail/GTalk: aheritier AT gmail DOT com
> Twitter/Skype : aheritier

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
http://twitter.com/takari_io
---------------------------------------------------------

People develop abstractions by generalizing from concrete examples.
Every attempt to determine the correct abstraction on paper without
actually developing a running system is doomed to failure. No one
is that smart. A framework is a resuable design, so you develop it by
looking at the things it is supposed to be a design of. The more examples
you look at, the more general your framework will be.

  -- Ralph Johnson & Don Roberts, Patterns for Evolving Frameworks 









Reply via email to