Well,

If you don't see it, it might be because it's possible. Then you have two
options: cope with it or file an issue and even better attach the
corresponding patch if you want to have a chance to go in :).

Personally I just run a "mvn clean deploy" every 1/4 hour. No cleaning of
the local repository of the CI server. Really, I don't see any interest with
it.
As long as you do a clean before compiling and use a corporate maven
repository correctly configured, there can't be any artifact (jar e.g.)
modification and so only your sources count. If you delete the locally
downloaded jars, the only things that will happen is a local download of the
very same things between your CI server and your MRM server. That's why I
speak about local bandwidth waste.

Cheers.

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

>
> Thank you!
>
> My idea is that CI server should test the sate of sources, so all MY
> artifacts should be build from the ground in order to prevent situation
> when
> remote repository has good version of an artifact, but sources are not
> okay.
>
> BTW - I make a look to
>
> http://maven.apache.org/plugins/maven-dependency-plugin/purge-local-repository-mojo.html#exclude
> ,
> but I do not see how can I specify WHAT SHOULD BE DELETED, istead of WHAT
> SHOULD BE PRESERVED
>
>
> Thank you again
>
>
> Baptiste MATHUS-4 wrote:
> >
> > 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 !
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Cleaning-local-repository-tp21114004p21125076.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