You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Erich W Schreiner <es...@yahoo.com> on 2010/11/16 11:29:32 UTC

Maven: Where to find the current binaries

Dear list,

where to can I point Maven to obtain the current stable binaries, i.e. 1.4.13 or 
1.4.14? My maven installation only finds versions up to 1.4.9

Thanks / Best regards, Erich

Re: Maven: Where to find the current binaries

Posted by Uwe Schäfer <us...@thomas-daily.de>.
On 11/26/2010 08:28 PM, Uwe Schäfer wrote:

> i am quite puzzle due the maven behaviour described below. I took this
> to the maven mailinglist, but with no result.

to be complete, here´s the link to the according thread on maven-user:

http://bit.ly/gj33qP

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Maven: Where to find the current binaries

Posted by Uwe Schäfer <us...@thomas-daily.de>.
On 11/17/2010 12:17 AM, Uwe Schäfer wrote:

Hi fellow Wicketeers

i am quite puzzle due the maven behaviour described below. I took this 
to the maven mailinglist, but with no result.

I think it is crucial to other projects (such as wicket) to have a pom 
working no matter what version of maven the user has, especially for 
archetypes.

maybe we find a maven "maven" in here, who could shed some light on the 
issue below?

cu uwe

>> All is fine as long as I specify a certain version, e.g. 1.4.13
>> But using a version range does not work, e.g. [1.4.10,1.5)
>
> well, that´s just spooky!
>
> i tried to reproduce this and while maven 2.1 interprets [1.4.10,1.5) as
> we would expect and chooses 1.5-SNAP, maven 2.2.1 as well as 3.0
> cannot cope with such a range.
>
> modifing the range to have the same "depth" like
> [1.4,1.5) now works again in 2.2.1 and 3.0, but for some weird reason
> (smell like char comparision instead of numbers?) it now chooses 1.4.9.
>
> if that 1.5 snapshot should be in or out probably is a matter of
> discussion with the maven folks:
> [MNG-4751] - Snapshot version not resolved for version range
>
> this probably is something for the maven list, even though the outcome
> would be interesting for any maven project.
>
>> Have you tied the wicket quickstart for maven?
>> http://wicket.apache.org/start/quickstart.html
>
> that´s what i went with playing with the wicket-version property.
>
> cu uwe

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Maven: Where to find the current binaries

Posted by Uwe Schäfer <us...@thomas-daily.de>.
On 11/16/2010 12:42 PM, Erich W Schreiner wrote:

> All is fine as long as I specify a certain version, e.g. 1.4.13
> But using a version range does not work, e.g. [1.4.10,1.5)

well, that´s just spooky!

i tried to reproduce this and while maven 2.1 interprets [1.4.10,1.5) as 
we would expect and chooses 1.5-SNAP, maven 2.2.1 as well as 3.0
cannot cope with such a range.

modifing the range to have the same "depth" like
[1.4,1.5) now works again in 2.2.1 and 3.0, but for some weird reason 
(smell like char comparision instead of numbers?) it now chooses 1.4.9.

if that 1.5 snapshot should be in or out probably is a matter of 
discussion with the maven folks:
[MNG-4751] - Snapshot version not resolved for version range

this probably is something for the maven list, even though the outcome 
would be interesting for any maven project.

> Have you tied the wicket quickstart for maven?
> http://wicket.apache.org/start/quickstart.html

that´s what i went with playing with the wicket-version property.

cu uwe

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Maven: Where to find the current binaries

Posted by Erich W Schreiner <es...@yahoo.com>.
Hi Patrick,

Thank you for the answer.

All is fine as long as I specify a certain version, e.g. 1.4.13
But using a version range does not work, e.g. [1.4.10,1.5)

I get the following error:
---8<---
[ERROR] An error occurred during dependency resolution of the following 
artifact:
    org.apache.wicket:wicket:null
Caused by: Couldn't find a version in [1.3.0-beta2, 1.3.0-beta3, 1.3.0-beta4, 
1.3.0-rc1, 1.3.0-rc2, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5
, 1.3.6, 1.3.7, 1.4-m1, 1.4-m2, 1.4-m3, 1.4-rc1, 1.4-rc2, 1.4-rc4, 1.4-rc5, 
1.4-rc6, 1.4-rc7, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.4.
6, 1.4.7, 1.4.8, 1.4.9] to match range [1.4.10,1.5)
  org.apache.wicket:wicket:jar:null

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  maven2-repository.dev.java.net (http://download.java.net/maven/2),
  maven2-repository.codesmell (http://www.codesmell.org/maven/)
---8<---

So, maven tries to obtain the information from the same repo that works as long 
as I specify a single version, but fails to find a match.
I am using maven 2.2.1

Regards,
Erich




________________________________
From: Patrick Petermair <pa...@openforce.com>
To: users@wicket.apache.org
Sent: Tue, November 16, 2010 11:35:46 AM
Subject: Re: Maven: Where to find the current binaries

Am 2010-11-16 11:29, schrieb Erich W Schreiner:

> where to can I point Maven to obtain the current stable binaries, i.e. 1.4.13 
>or
> 1.4.14? My maven installation only finds versions up to 1.4.9

Do you have your own maven repository or some kind of mirror running?

Wicket 1.4.13 is available via all the public maven repositories, so unless you 
filter/proxy something via your pom.xml, internal repository or settings.xml, 
you should be able to get it.

Have you tied the wicket quickstart for maven?
http://wicket.apache.org/start/quickstart.html

Patrick



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org

Re: Maven: Where to find the current binaries

Posted by Patrick Petermair <pa...@openforce.com>.
Am 2010-11-16 11:29, schrieb Erich W Schreiner:

> where to can I point Maven to obtain the current stable binaries, i.e. 1.4.13 or
> 1.4.14? My maven installation only finds versions up to 1.4.9

Do you have your own maven repository or some kind of mirror running?

Wicket 1.4.13 is available via all the public maven repositories, so 
unless you filter/proxy something via your pom.xml, internal repository 
or settings.xml, you should be able to get it.

Have you tied the wicket quickstart for maven?
http://wicket.apache.org/start/quickstart.html

Patrick



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org