commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: [JJAR] New features
Date Mon, 12 Aug 2002 09:39:23 GMT
----- Original Message -----
From: "Geir Magnusson Jr." <>
> On 8/12/02 1:41 AM, "James Strachan" <> wrote:
> > ----- Original Message -----
> > From: "Geir Magnusson Jr." <>
> >> This presents an interesting question - can a package  have
> >> that change over time?  Suppose a dependency had a bug, and the authors
> >> the dependency released a fix.  I guess for now, we just punt and say
> > a
> >> local definition in the local repo is definitive for any operation, and
> > then
> >> later add a 'refresh' op that updates the local repo jars and
> >
> > FWIW there's a SNAPSHOT feature in Maven whereby a project can be
> > on the latest, greatest snapshot release, so as bugs get fixed you
> > automatically get the latest version. So a verion of 'SNAPSHOT' rather
> > 1.2-b4 or whatever, just means the latest release added to the repo.
> > for development though this mechanism probably shouldn't be used for
> > releases though.
> I saw that - it's pretty cool.
> I meant refresh the versions you currently have, mainly for the case where
> production version of something like a dependency gets superceded by an
> upgrade for some reason.

Yes - whenever the snapshot is updated and you do a Maven build, your local
repo is updated (if you're online) with the latest snapshot from the remote
repo. Though typically snapshot builds will ultimately used for nightly
builds of CVS HEAD. So maybe some alias like LATEST which could be used for
the latest release?

Maybe some kinda wildcards could be used for dependency versions. Like 1.2.*
for any release starting with 1.2.0 or 1.2.4> for any release from 1.2.4
onwards or something? Then as new releases are made there's no need to hunt
around your dependency files and keep them up to date. I'm sure both Maven
and JJAR could benefit from something like this. Maybe even some kinda
Ant-style includes/excludes patterns?

  <includes>1.4.1>, 1.5.*</includes>


Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message