Re: Does the maven cache get cleaned out on each build?
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, should I have some kind of "ci" profile or something and add that (somehow) to my build definition? 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 Doesn't continuum do an svn up before the build? Assuming it does, there should be no problem... Yes, continuum does a svn up before to start the build but if your project use some snapshot dependencies that aren't in a remote repo and you clean your local repo, the build will fail. Thanks for confirming this! Cheers, Dave On Fri, 2007-03-09 at 09:19 +0100, Emmanuel Venisse wrote: 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 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/maven-dependency-plugin/purge-local-repository-mojo.html David Leangen wrote: 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! - -- you too? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF8RLf1Tv8wj7aQ34RAt4hAJsFz4fodF8ZoSv3zlBlVlCzlzldtACfUujK M8QJUqqjsxwX0hICdkK6ziE= =ojBD -END PGP SIGNATURE-
Re: Does the maven cache get cleaned out on each build?
-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 -Dproperty=true .. I hope that makes sense. Cheers, Johan David Leangen wrote: > 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 kind of "ci" profile or something and > add that (somehow) to my build definition? >> 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 > > Doesn't continuum do an svn up before the build? > > Assuming it does, there should be no problem... > > > Thanks for confirming this! > > > Cheers, > Dave > > > > > > On Fri, 2007-03-09 at 09:19 +0100, Emmanuel Venisse wrote: >> 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 : > 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/maven-dependency-plugin/purge-local-repository-mojo.html > > David Leangen wrote: > 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! > > > > >>> >>> >>> - -- you too? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF8V0o1Tv8wj7aQ34RAsRZAJ4h6c2/QqGM3Ar7axWXvEjAGJPdLwCfbJid NhxksjsglOufmVL9V5Xjjhw= =xOQk -END PGP SIGNATURE-
Re: Does the maven cache get cleaned out on each build?
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 kind of "ci" profile or something and add that (somehow) to my build definition? > 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 Doesn't continuum do an svn up before the build? Assuming it does, there should be no problem... Thanks for confirming this! Cheers, Dave On Fri, 2007-03-09 at 09:19 +0100, Emmanuel Venisse wrote: > 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 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/maven-dependency-plugin/purge-local-repository-mojo.html > > > > David Leangen wrote: > >> 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! > >> > >> > >> > >> > > > > - -- > > you too? > > -BEGIN PGP SIGNATURE- > > Version: GnuPG v1.4.6 (GNU/Linux) > > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > > > iD8DBQFF8RLf1Tv8wj7aQ34RAt4hAJsFz4fodF8ZoSv3zlBlVlCzlzldtACfUujK > > M8QJUqqjsxwX0hICdkK6ziE= > > =ojBD > > -END PGP SIGNATURE- > > > > > > >
Re: Does the maven cache get cleaned out on each build?
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 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/maven-dependency-plugin/purge-local-repository-mojo.html David Leangen wrote: 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! - -- you too? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF8RLf1Tv8wj7aQ34RAt4hAJsFz4fodF8ZoSv3zlBlVlCzlzldtACfUujK M8QJUqqjsxwX0hICdkK6ziE= =ojBD -END PGP SIGNATURE-
Re: Does the maven cache get cleaned out on each build?
-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/maven-dependency-plugin/purge-local-repository-mojo.html David Leangen wrote: > 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! > > > > - -- you too? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF8RLf1Tv8wj7aQ34RAt4hAJsFz4fodF8ZoSv3zlBlVlCzlzldtACfUujK M8QJUqqjsxwX0hICdkK6ziE= =ojBD -END PGP SIGNATURE-