On 21/01/2008, Tomasz Pik <[EMAIL PROTECTED]> wrote:
> On Jan 21, 2008 2:21 PM, Guillaume Lederrey
> <[EMAIL PROTECTED]> wrote:
> > On 20/01/2008, Brian E. Fox <[EMAIL PROTECTED]> wrote:
> > > You can use dependencyManagment in a parent pom to avoid specifying the
> > > version in all your child poms. If you really want the "latest" you have
> > > two choices:
> > > LATEST - latest snapshot
> > > RELEASE - latest release
> > >
> > > Or you could specify a range like [0,)
> >
> > Probably a dummy question on my part : I can get ranges to work, but
> > not RELEASE nor LATEST. If y put the version of a dependency to
> > either, I get :
> >
> >
> > [INFO] Failed to resolve artifact.
> >
> > Missing:
> > ----------
> > 1) myGroup:myProject:jar:RELEASE
> >
> >
> > And the usual "dependency not found, would you like to install it" message.
> >
> > I tried to find docs, but found not much. Do you know since which
> > version of maven this is available ?
>
> As far as I know it works only for plugins.
> For general usage - please, vote here, maybe this issue will get
> some attention:
> http://jira.codehaus.org/browse/MNG-2431

Thanks for your help ! It seems that I will stay with open ended
version ranges ...

> Regards,
> Tomek
>
> >
> >   Thanks !
> >
> >
> > > -----Original Message-----
> > > From: amit kumar [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, January 18, 2008 8:38 AM
> > > To: Maven Users List
> > > Subject: Avoid Dependency version
> > >
> > > Hi,
> > > Can I make it possible for my dependencies(jar files) declared in
> > > <dependency> tags, not have version. Just like in case of plugin it
> > > happens,
> > > the latest on gets fetched?
> > > When I don't put a version in my dependency tag, it throws error.
> > >
> > > Regards,
> > > Amit
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > Jabber : [EMAIL PROTECTED]
> > Skype : Guillaume.Lederrey
> > Projects :
> > * http://rwanda.wordpress.com/
> > * http://rwandatech.wordpress.com/
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Jabber : [EMAIL PROTECTED]
Skype : Guillaume.Lederrey
Projects :
* http://rwanda.wordpress.com/
* http://rwandatech.wordpress.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to