You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Martin Funk <ma...@googlemail.com> on 2008/02/07 19:42:39 UTC

Couldn't find a version in [2.0.0] to match range [1.0,2.0)

Hi,

I'm trying to build geronimos daytrader application.
http://svn.apache.org/repos/asf/geronimo/daytrader/trunk

As I run 'mvn install' this comes up:

Couldn't find a version in [2.0.0] to match range [1.0,2.0)
  org.apache.geronimo.specs:geronimo-jaxrpc_1.1_spec:jar:null

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  codehaus-snapshots (http://snapshots.repository.codehaus.org),
  apache-incubator (http://people.apache.org/repo/m2-incubating-repository/)


What is this message trying to tell me? I understand that in the
pom.xmlthere is a dependency given on the geronimo-jaxrpc module in
the range of [
1.0, 2.0)
What I don't understand is that maven is not finding any version within that
range, since there are such modules present in the repository?

Can someone please give me a hint?

Martin

Re: Couldn't find a version in [2.0.0] to match range [1.0,2.0)

Posted by Martin Funk <ma...@googlemail.com>.
As I read it its not a dependecy coming form somewhere, but its a list of
available versions.
Maybe I'm wrong.
But following my assumption I find:
http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-jaxrpc_1.1_spec/maven-metadata.xml
which claims that there is only version 2.0.0 available, though there are
the other directories too.

So is that a bug or is it just a convention to 'deprecate' or 'delete'
versions in the repository?

Martin

2008/2/7, Wayne Fay <wa...@gmail.com>:
>
> I know they've been working on their applications lately as we've had
> another question or two recently on this list related to bugs in their
> code/samples.
>
> Please ask them directly (Geronimo Dev) why its not working.
>
> (Looking at the error message, it seems like there is a dependency on
> 2.0.0 coming from somewhere, but this module specifies [1.0, 2.0) which
> means that 2.0.0 is not acceptable.)
>
> Wayne
>
> On 2/7/08, Martin Funk <ma...@googlemail.com> wrote:
> > Hi,
> >
> > I'm trying to build geronimos daytrader application.
> > http://svn.apache.org/repos/asf/geronimo/daytrader/trunk
> >
> > As I run 'mvn install' this comes up:
> >
> > Couldn't find a version in [2.0.0] to match range [1.0,2.0)
> >   org.apache.geronimo.specs:geronimo-jaxrpc_1.1_spec:jar:null
> >
> > from the specified remote repositories:
> >   central (http://repo1.maven.org/maven2),
> >   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository
> ),
> >   apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository
> ),
> >   codehaus-snapshots (http://snapshots.repository.codehaus.org),
> >   apache-incubator (
> http://people.apache.org/repo/m2-incubating-repository/)
> >
> >
> > What is this message trying to tell me? I understand that in the
> > pom.xmlthere is a dependency given on the geronimo-jaxrpc module in
> > the range of [
> > 1.0, 2.0)
> > What I don't understand is that maven is not finding any version within
> that
> > range, since there are such modules present in the repository?
> >
> > Can someone please give me a hint?
> >
> > Martin
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Couldn't find a version in [2.0.0] to match range [1.0,2.0)

Posted by Wayne Fay <wa...@gmail.com>.
I know they've been working on their applications lately as we've had another question or two recently on this list related to bugs in their code/samples.

Please ask them directly (Geronimo Dev) why its not working.

(Looking at the error message, it seems like there is a dependency on 2.0.0 coming from somewhere, but this module specifies [1.0, 2.0) which means that 2.0.0 is not acceptable.)

Wayne

On 2/7/08, Martin Funk <ma...@googlemail.com> wrote:
> Hi,
> 
> I'm trying to build geronimos daytrader application.
> http://svn.apache.org/repos/asf/geronimo/daytrader/trunk
> 
> As I run 'mvn install' this comes up:
> 
> Couldn't find a version in [2.0.0] to match range [1.0,2.0)
>   org.apache.geronimo.specs:geronimo-jaxrpc_1.1_spec:jar:null
> 
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>   apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>   codehaus-snapshots (http://snapshots.repository.codehaus.org),
>   apache-incubator (http://people.apache.org/repo/m2-incubating-repository/)
> 
> 
> What is this message trying to tell me? I understand that in the
> pom.xmlthere is a dependency given on the geronimo-jaxrpc module in
> the range of [
> 1.0, 2.0)
> What I don't understand is that maven is not finding any version within that
> range, since there are such modules present in the repository?
> 
> Can someone please give me a hint?
> 
> Martin
> 

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