On Mon, 2004-04-19 at 09:00, Niclas Hedhman wrote:
> On Monday 19 April 2004 20:40, Jason van Zyl wrote:
> > Huh? You don't want to share dependencies anywhere?
>
> No. Just to say that
> xerces -> 2.4.0
> avalon-logkit -> 1.2
> jakarta-bcel -> 5.2
> log4j -> 1.2.1
>
> and so on.
>
> > > I want to have ONE place, where I can list the versions to use
> > > for each artifact. Both the "used" ones as well as the "generated" ones.
> >
> > Sorry, what's the distinction wrt to Maven?
>
> The 'generated ones' need to be 'injected' into pom.currentVersion, the
> dependent ones needs to be 'injected' into 'pom.dependencies'.
Sorry, I have no idea what you mean.
> > You realize that the deployment of a SNAPSHOT produces a timestamped
> > version? You say you don't like the SNAPSHOT but again you don't say
> > why.
>
> One reason is that "those who used it" before my time didn't manage to get it
> to work as it is supposed to, I guess. I.e. no timestamps. That is not
> Maven's problem.
> My 'disapproval' is that it consumes a lot of time connecting to the net. I am
> sure you would say, use "-o"...
That what SNAPSHOTS are implicity to Maven, an indicator which means to
always look for a more recent version. To avoid the connection then yes,
go offline or don't use SNAPSHOTs.
> > > I haven't tried to manipulate the ${pom.currentVersion} directly from
> > > such plugin. Would that work? If so, would that also mean that the plugin
> > > could "fill-in" the versions for all the dependencies as well?
> >
> > The release plugin does this: manipulates the POMs, bumps versions and
> > resolves SNAPSHOTS to their timestamped values before a release so you
> > have real versions for everything before deploying.
>
> Hmmm... I'll look into it.
There's definitely working code there but I would really figure out what
you need first. I'm completely willing to help you with a little tree to
figure out your use case as it is similiar to what's in Geronimo. I'm in
irc again.
>
> Cheers
> Niclas
--
jvz.
Jason van Zyl
[EMAIL PROTECTED]
http://maven.apache.org
happiness is like a butterfly: the more you chase it, the more it will
elude you, but if you turn your attention to other things, it will come
and sit softly on your shoulder ...
-- Thoreau
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]