continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johan Lindquist <jo...@kawoo.co.uk>
Subject Re: Does the maven cache get cleaned out on each build?
Date Fri, 09 Mar 2007 13:12:08 GMT
-----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-----

Mime
View raw message