maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Fedorenko <>
Subject Re: Incremental build API
Date Wed, 26 Mar 2014 04:04:12 GMT
The scope of plexus-build-api is strictly limited to eclipse
integration. As such, it does not provide enough fidelity to implement
proper command line incremental build. In fact, even inside eclipse
plexus-build-api does not correctly handle stale output cleanup, so we
have to do Project/Clean after removing project resources, for example.

Although m2e will support plexus-build-api for the foreseeable future,
I think plugins that use it should migrate to the new API to get both
correct behaviour inside eclipse and incremental build support on
command line. I may even try to encourage migration with error/info
markers about plexus-build-api usage in m2e, but I have not decided yet.


On 2014-03-25, 22:31, Hervé BOUTEMY wrote:
> Hi Jason,
> Interesting.
> What is the plan about org.sonatype.plexus:plexus-build-api already integrated
> in some plugins?
> Given the expected large diffusion of this API, wouldn't it be wise to put it
> at Apache?
> or Eclipse?
> (I won't rehash previous discussions about freedom and preferences from each
> people)
> Regards,
> Hervé
> Le mardi 25 mars 2014 10:43:57 Jason van Zyl a écrit :
>> Hi,
>> For those who are interested in incremental builds we, at Takari, have
>> released a general purpose incremental build API with an initial focus on
>> Maven. We've created a short, high-level description of the framework[1]
>> and we've opened up our Git repository with the code[2]. We also have a
>> some demos that people can look at[3]. We are, and have been, running this
>> code in production for a few months but it is still a work in progress. We
>> have implemented a Maven lifecycle that integrates this API but we've just
>> started using it ourselves. We will open this lifecycle up shortly for
>> people to try but for now, if you're interested in incremental builds take
>> a look and let us know what you think!
>> A note to those interested that the use of the API in Maven requires 3.2.1+.
>> [1]:
>> [2]:
>> [3]:
>> lbuild/src/test/java/io/takari/incremental/demo
>> Thanks,
>> Jason
>> ----------------------------------------------------------
>> Jason van Zyl
>> Founder,  Apache Maven
>> ---------------------------------------------------------
>> People develop abstractions by generalizing from concrete examples.
>> Every attempt to determine the correct abstraction on paper without
>> actually developing a running system is doomed to failure. No one
>> is that smart. A framework is a resuable design, so you develop it by
>> looking at the things it is supposed to be a design of. The more examples
>> you look at, the more general your framework will be.
>>    -- Ralph Johnson & Don Roberts, Patterns for Evolving Frameworks
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message