Java equivalent of distcc

Distcc makes it easy to distribute compilation in C or C ++ on multiple machines and is a godsend for working with large, often created code bases.

Today, an increasing number of our large projects are built in Java. Does anyone know something equivalent or similar for Java? Although it would be great if it went down to the javac level , our multi-module projects would benefit from the ability to distribute each maven 2 sub-project to another machine. (Perhaps binding to maven might be better, as it will allow us to distribute tests and packaging, which often takes up a significant part of our build time.)

Thanks for any info or pointers!

+3
source share
3 answers

As far as I know, there is no equivalent in the Java world distcc.

As mentioned by Aaron, many continuous integration servers (open source, such as Hudson or commercial, such as Bamboo, TeamCity) support but I don't think this will solve your problem. AFAIK, these tools distribute assembly tasks (i.e. the whole assembly of several maven modules), rather than the assembly of several modules assembly modules (which may have dependencies, need the output of the previous module and thus cannot be parallelized in any case ) In other words, this is useful if you have many projects / branches on an assembly farm (at least for Hudson, I have less knowledge about other solutions).

+2

CI-, TeamCity. .

+2

This raises a related question about parallel assembly in Maven:

Maven: how to do parallel assemblies?

One of the questions has a link to a Jira ticket to enable this functionality, which will provide the great benefit I'm looking for:

http://jira.codehaus.org/browse/MNG-3004

I will definitely watch this ticket with interest. :)

+2
source

Source: https://habr.com/ru/post/1722588/


All Articles