You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Arnaud Héritier <ah...@gmail.com> on 2014/07/11 23:31:36 UTC

Potential depMgt import bug was Re: [ANN] Apache Maven 3.2.2 Release

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 git@github.com: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 <ja...@takari.io> 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

Re: Potential depMgt import bug was Re: [ANN] Apache Maven 3.2.2 Release

Posted by Arnaud Héritier <ah...@gmail.com>.
On Sat, Jul 12, 2014 at 1:17 AM, Jason van Zyl <ja...@takari.io> wrote:

> If your POMs have not changed at all then it could be a bug, if your POMs
> have changed can you try and bisect back to see if it works again.
> Something changed. I'm not saying it isn't a regression but if it worked
> and then just stopped working we should find out what changed caused it to
> stop working. Your project is too big for me to easily debug.
>

Your project is too big for me to easily debug. ==> yes sadly it's a
nightmare due to all SNAPSHOT dependencies across projects

I'll do next week. I'll also try on my other computer to try to understand
if it is coming from maven or if it can be a code change or an environment
issue.

Thx Jason

Re: Potential depMgt import bug was Re: [ANN] Apache Maven 3.2.2 Release

Posted by Jason van Zyl <ja...@takari.io>.
If your POMs have not changed at all then it could be a bug, if your POMs have changed can you try and bisect back to see if it works again. Something changed. I'm not saying it isn't a regression but if it worked and then just stopped working we should find out what changed caused it to stop working. Your project is too big for me to easily debug.

On Jul 11, 2014, at 5:45 PM, Arnaud Héritier <ah...@gmail.com> wrote:

> Note : I tried to drop my local repo (to be sure I didn't have something
> corrupted locally) but it didn't help
> 
> 
> On Fri, Jul 11, 2014 at 11:44 PM, Arnaud Héritier <ah...@gmail.com>
> wrote:
> 
>> What I wanted to say (sorry it's late here :-) ) it's that I'm using 3.2.2
>> everyday since you published it for review in staging and up until now I
>> didn't encountered this problem
>> I don't see what I may have changed on my side to create this problem
>> (either in my environment or in our codebase)
>> 
>> 
>> 
>> On Fri, Jul 11, 2014 at 11:37 PM, Jason van Zyl <ja...@takari.io> wrote:
>> 
>>> 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 <ah...@gmail.com> 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 git@github.com: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 <ja...@takari.io> 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
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>> 
>> 
>> --
>> -----
>> Arnaud Héritier
>> http://aheritier.net
>> Mail/GTalk: aheritier AT gmail DOT com
>> Twitter/Skype : aheritier
>> 
> 
> 
> 
> -- 
> -----
> 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
---------------------------------------------------------











Re: Potential depMgt import bug was Re: [ANN] Apache Maven 3.2.2 Release

Posted by Arnaud Héritier <ah...@gmail.com>.
Note : I tried to drop my local repo (to be sure I didn't have something
corrupted locally) but it didn't help


On Fri, Jul 11, 2014 at 11:44 PM, Arnaud Héritier <ah...@gmail.com>
wrote:

> What I wanted to say (sorry it's late here :-) ) it's that I'm using 3.2.2
> everyday since you published it for review in staging and up until now I
> didn't encountered this problem
> I don't see what I may have changed on my side to create this problem
> (either in my environment or in our codebase)
>
>
>
> On Fri, Jul 11, 2014 at 11:37 PM, Jason van Zyl <ja...@takari.io> wrote:
>
>> 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 <ah...@gmail.com> 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 git@github.com: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 <ja...@takari.io> 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
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
>
> --
> -----
> Arnaud Héritier
> http://aheritier.net
> Mail/GTalk: aheritier AT gmail DOT com
> Twitter/Skype : aheritier
>



-- 
-----
Arnaud Héritier
http://aheritier.net
Mail/GTalk: aheritier AT gmail DOT com
Twitter/Skype : aheritier

Re: Potential depMgt import bug was Re: [ANN] Apache Maven 3.2.2 Release

Posted by Arnaud Héritier <ah...@gmail.com>.
What I wanted to say (sorry it's late here :-) ) it's that I'm using 3.2.2
everyday since you published it for review in staging and up until now I
didn't encountered this problem
I don't see what I may have changed on my side to create this problem
(either in my environment or in our codebase)



On Fri, Jul 11, 2014 at 11:37 PM, Jason van Zyl <ja...@takari.io> wrote:

> 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 <ah...@gmail.com> 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 git@github.com: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 <ja...@takari.io> 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
>
>
>
>
>
>
>
>
>
>


-- 
-----
Arnaud Héritier
http://aheritier.net
Mail/GTalk: aheritier AT gmail DOT com
Twitter/Skype : aheritier

Re: Potential depMgt import bug was Re: [ANN] Apache Maven 3.2.2 Release

Posted by Jason van Zyl <ja...@takari.io>.
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 <ah...@gmail.com> 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 git@github.com: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 <ja...@takari.io> 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