Reminds me of a recent discussion about googling...
Did you have a look at the provided link before asking your question?
See
http://maven.apache.org/plugins/maven-dependency-plugin/purge-local-repository-mojo.html#exclude

Btw, I don't really understand why your CI server should delete all those
artifacts before building. I have also setup a CI system and don't see why
it could be useful. In fact, as all the artifacts are downloaded from the
corporate maven repository manager, purging everything locally is just
likely going to be a local-bandwidth-waste.

Cheers

2008/12/21 javax <[email protected]>

>
> Thank you!
> As far as I see it intended to remove all EXCEPT some artifactes, is there
> way to configure it in an opposite way (remove only specific group) ?
>
>
> Jaikiran wrote:
> >
> > Maybe this might help
> >
> http://maven.apache.org/plugins/maven-dependency-plugin/purge-local-repository-mojo.html
> > It has a excludes attribute where you can pass the 3rd party
> > groupId:artifactId
> >
> >
> > Pavel Bernshtam wrote:
> >>
> >> For Continuous Integration build I need to build all my projects for
> >> sources, so I need somehow remove all "my" artifacts from the local
> >> repository before the build (but leave there 3rd party artifacts).
> >> Is there any maven plugin or tool for it or I just need to run some
> >> script before the build which will clean the local repository
> >> selectively?
> >>
> >> Thank you
> >>
> >>
> >> ------------
> >> Pavel
> >>
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Cleaning-local-repository-tp21114004p21114404.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !

Reply via email to