David Leangen a écrit :
Guys,
Thanks for this.
But have a look at the maven dependancy purge-local-
repository plugin
[1], which can clear out all depdencies for the project.
Ok... but I don't necessary want to use that on my development
machine... only on the CI server.
In that case, sh
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi David,
About the CI profile question - yes, that would be a sensible option.
Add a profile which includes a build element that defines the plugin.
Enable the profile using a system property or the like and set the
continuum command line to be -Dpr
Guys,
Thanks for this.
> > But have a look at the maven dependancy purge-local-
> > repository plugin
> > [1], which can clear out all depdencies for the project.
Ok... but I don't necessary want to use that on my development
machine... only on the CI server.
In that case, should I have some
No, it isn't cleaned.
Before to clean your local repo, you need to be sure all your snapshots are in
your remote repository. Without them, your builds will fail
Emmanuel
Johan Lindquist a écrit :
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Do you mean the local repository? If so, no, i pre
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Do you mean the local repository? If so, no, i pretty sure it doesn't.
But have a look at the maven dependancy purge-local-repository plugin
[1], which can clear out all depdencies for the project.
Cheers,
Johan
[1]
http://maven.apache.org/plugins
Hello!
Can somebody please tell me whether or not the local maven cache gets
cleaned out before each build?
I want to make sure that each of the builds are "fresh".
Thanks!