maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Hughes <ahhug...@gmail.com>
Subject Re: Allowing a release:prepare with a SNAPSHOT dependency, how?
Date Tue, 17 Aug 2010 23:27:23 GMT
Thanks Anders, as the doc suggests this appears to only work for timestamped
snapshots (which sucks for me).


On Tue, Aug 17, 2010 at 10:48 PM, Anders Hammar <anders@hammar.net> wrote:

> The command would be
> mvn release:prepare -DignoreSnapshots=true
>
> But yes, the doc suggests this would only work with timestamped snapshots.
>
> /Anders
>
> On Tue, Aug 17, 2010 at 15:13, Andrew Hughes <ahhughes@gmail.com> wrote:
>
> > Hi Anders,
> >
> > Yes, I did try 'mvn release:prepare -DallowTimestampedSnapshots=true' but
> > that didn't work. I would also not expect this to work for me as my
> > dependencies are not timestamped. But thank you for the suggestion.
> >
> >
> > On Tue, Aug 17, 2010 at 6:17 PM, Anders Hammar <anders@hammar.net>
> wrote:
> >
> > > Did you check the docs?
> > >
> > >
> >
> http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html#allowTimestampedSnapshots
> > >
> > > /Anders
> > >
> > > On Tue, Aug 17, 2010 at 09:44, Andrew Hughes <ahhughes@gmail.com>
> wrote:
> > >
> > > > Hi All,
> > > >
> > > > We've just hit alpha testing on our application, consequently I'd
> like
> > to
> > > > release this. However, we still have some SNAPSHOT dependencies.
> Since
> > > this
> > > > is only alpha I don't really care about the SNAPSHOT dependencies (I
> > know
> > > > don't bother to explain that this is a flaw - I know and right now I
> > > don't
> > > > care). So any idea's how I can override this in release:prepare?
> > > >
> > > > Cheers.
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message