You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Wendy Smoak <ws...@gmail.com> on 2006/12/07 05:28:19 UTC
Maven 2.0.5-SNAPSHOT problem building continuum-release
I'm having trouble building Continuum with Maven 2.0.5-SNAPSHOT.
I get a test error in continuum-release, and it seems to be due to
Maven selecting the 2.0 version of maven-artifact instead of the 2.0.4
version.
If I build with Maven 2.0.4, it works fine.
If I add a dependency on maven-artifact 2.0.4 to the continuum-release
pom as Jesse suggested trying, then it works with 2.0.5-SNAPSHOT.
Here's the test report, and a link to "mvn install -X" output, including
org.apache.maven:maven-artifact:jar:2.0.4:compile (removed - nearer
found: 2.0)
http://wiki.wsmoak.net/cgi-bin/wiki.pl?ContinuumRelease
Thanks,
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Maven 2.0.5-SNAPSHOT problem building continuum-release
Posted by Wendy Smoak <ws...@gmail.com>.
On 12/12/06, Brett Porter <br...@apache.org> wrote:
> Sorry, can't reproduce this with maven-2.0.5-SNAPSHOT on either Mac
> or Windows.
>
> Got any more information?
John and Jesse worked this out on IRC. Maven 2.0.5-snap orders
dependencies differently than 2.0.4. In 2.0.4, with multiple versions
of the same dependency at the same distance, which version you get is
undefined. In 2.0.5-snap, there is a defined order. (I still need to
find out exactly what that order is...)
Jesse fixed the problem I reported:
http://svn.apache.org/viewvc?view=rev&revision=483505
http://svn.apache.org/viewvc?view=rev&revision=483496
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Maven 2.0.5-SNAPSHOT problem building continuum-release
Posted by Brett Porter <br...@apache.org>.
Sorry, can't reproduce this with maven-2.0.5-SNAPSHOT on either Mac
or Windows.
Got any more information?
- Brett
On 07/12/2006, at 3:39 PM, Jesse McConnell wrote:
> ya, if you look through her debug output there is a big chunk where
> all the 2.0.4 deps are getting reverted to 2.0 just like in the error
> message below.
>
> it effected a number of the dependencies
>
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.4 for
> project: null:maven-project:jar:2.0.4 from the repository.
> [DEBUG] org.apache.maven:maven-project:jar:2.0:compile (removed -
> nearer found: 2.0.4)
> [DEBUG] org.apache.maven:maven-project:jar:2.0.4:compile (selected
> for compile)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.4 for
> project: null:maven-settings:jar:2.0.4 from the repository.
> [DEBUG] org.apache.maven:maven-settings:jar:2.0.4:compile (removed
> - nearer found: 2.0)
>
> right there you see the project getting updated from 2.0 -> 2.0.4
> but on the next line you see maven-settings going from 2.0.4 -> 2.0
>
> she was on windows/cygwin btw
>
> jesse
>
>
> On 12/6/06, Wendy Smoak <ws...@gmail.com> wrote:
>> I'm having trouble building Continuum with Maven 2.0.5-SNAPSHOT.
>>
>> I get a test error in continuum-release, and it seems to be due to
>> Maven selecting the 2.0 version of maven-artifact instead of the
>> 2.0.4
>> version.
>>
>> If I build with Maven 2.0.4, it works fine.
>>
>> If I add a dependency on maven-artifact 2.0.4 to the continuum-
>> release
>> pom as Jesse suggested trying, then it works with 2.0.5-SNAPSHOT.
>>
>> Here's the test report, and a link to "mvn install -X" output,
>> including
>>
>> org.apache.maven:maven-artifact:jar:2.0.4:compile (removed -
>> nearer
>> found: 2.0)
>>
>> http://wiki.wsmoak.net/cgi-bin/wiki.pl?ContinuumRelease
>>
>> Thanks,
>> --
>> Wendy
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
>
>
> --
> jesse mcconnell
> jesse.mcconnell@gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Maven 2.0.5-SNAPSHOT problem building continuum-release
Posted by Jesse McConnell <je...@gmail.com>.
ya, if you look through her debug output there is a big chunk where
all the 2.0.4 deps are getting reverted to 2.0 just like in the error
message below.
it effected a number of the dependencies
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.4 for
project: null:maven-project:jar:2.0.4 from the repository.
[DEBUG] org.apache.maven:maven-project:jar:2.0:compile (removed -
nearer found: 2.0.4)
[DEBUG] org.apache.maven:maven-project:jar:2.0.4:compile (selected
for compile)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.4 for
project: null:maven-settings:jar:2.0.4 from the repository.
[DEBUG] org.apache.maven:maven-settings:jar:2.0.4:compile (removed
- nearer found: 2.0)
right there you see the project getting updated from 2.0 -> 2.0.4
but on the next line you see maven-settings going from 2.0.4 -> 2.0
she was on windows/cygwin btw
jesse
On 12/6/06, Wendy Smoak <ws...@gmail.com> wrote:
> I'm having trouble building Continuum with Maven 2.0.5-SNAPSHOT.
>
> I get a test error in continuum-release, and it seems to be due to
> Maven selecting the 2.0 version of maven-artifact instead of the 2.0.4
> version.
>
> If I build with Maven 2.0.4, it works fine.
>
> If I add a dependency on maven-artifact 2.0.4 to the continuum-release
> pom as Jesse suggested trying, then it works with 2.0.5-SNAPSHOT.
>
> Here's the test report, and a link to "mvn install -X" output, including
>
> org.apache.maven:maven-artifact:jar:2.0.4:compile (removed - nearer
> found: 2.0)
>
> http://wiki.wsmoak.net/cgi-bin/wiki.pl?ContinuumRelease
>
> Thanks,
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
--
jesse mcconnell
jesse.mcconnell@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org