maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Baptiste MATHUS ...@batmat.net>
Subject Re: Deploying non-unique SNAPSHOTs
Date Sat, 23 Feb 2013 20:19:16 GMT
mvn package/install will always build unique artifacts locally.
The unique artifacts option is only used when deploying (i.e. mvn deploy).

Using a repository manager, this is actually not really an issue: just
configure it to remove old snapshots (with nexus, it's called Scheduled
Tasks, I don't know the name of this config with artifactory).

Cheers


2013/2/23 Lewis John Mcgibbney <lewis.mcgibbney@gmail.com>

> If I do mvn package and build the snapshots locally (which I think builds
> non unique artifacts) can I then manually push these to the apache
> snapshots repository?
> Thank you.
> Lewis
>
> On Saturday, February 23, 2013, Joachim Durchholz <jo@durchholz.org>
> wrote:
> > Am 23.02.2013 17:44, schrieb Lewis John Mcgibbney:
> >>
> >> I'm on 3.x unfortunately.
> >> @Joachim
> >> Can you please elaborate a bit on artifactory please?
> >
> > I have no access to the Artifactory installation right now and for the
> upcoming week.
> > IIRC it's an option on the repository. I modified only those repositories
> where I'm actually deploying stuff to, which was just one for us:
> local-lib-snapshot or something like that.
> > Hope that gets you going.
> >
> > Regards,
> > Jo
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> --
> *Lewis*
>
> --
> Baptiste <Batmat> MATHUS - http://batmat.net
> Sauvez un arbre,
> Mangez un castor ! nbsp;!

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