Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] tycho-gmp.gmf.tooling builds consumes enormous amount of memory

On 02/24/2012 09:29 AM, Matthias Sohn wrote:

> I believe that many projects (maybe all ?) use private maven repository
> inside job workspace
> for the following reasons:

[...]

>   * in general build jobs run into big trouble if some artifacts in
>     maven repository shared
>     across build jobs are corrupted since build engineers can't fix this
>     on their own since
>     they don't have direct write access to this shared maven repository
>     so they can't delete
>     the corrupt artifacts. With job-local, private maven repository this
>     can be easily fixed by
>     wiping the job's workspace which will throw away the private maven
>     repository.

It's not about corruption only. Private repository provides better
isolation for dependent projects in terms of a) direct dependencies and
b) versions of plugins:

a) For instance, running 'mvn install' for JGit will not affect EGit (as
it depends on JGit) in any way.

b) For instance, if some project changes its maven-javadoc-plugin's
version to something 'latest and greatest', all other projects that use
the same plugin without explicitly locking down its version, would use
this new version automagically. The result? Your build was good couple
days ago but now it's broken without any specific reason.

-- 
Mykola

http://ua.linkedin.com/in/manandbytes
https://github.com/manandbytes/


Back to the top