continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Venisse <emman...@venisse.net>
Subject Re: Does the maven cache get cleaned out on each build?
Date Fri, 09 Mar 2007 13:17:09 GMT


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-----
>>>
>>>
>>>
> 
> 
> 
> 


Mime
View raw message