You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Jason van Zyl <ja...@takari.io> on 2014/03/25 18:43:57 UTC

Incremental build API

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]: http://takari.io/2014/03/25/incremental-build.html
[2]: https://github.com/takari/io.takari.incrementalbuild
[3]: https://github.com/takari/io.takari.incrementalbuild/tree/master/incrementalbuild/src/test/java/io/takari/incremental/demo

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
http://twitter.com/takari_io
---------------------------------------------------------

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 










Re: Incremental build API

Posted by Igor Fedorenko <ig...@ifedorenko.com>.
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.

--
Regards,
Igor

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]: http://takari.io/2014/03/25/incremental-build.html
>> [2]: https://github.com/takari/io.takari.incrementalbuild
>> [3]:
>> https://github.com/takari/io.takari.incrementalbuild/tree/master/incrementa
>> lbuild/src/test/java/io/takari/incremental/demo
>>
>> Thanks,
>>
>> Jason
>>
>> ----------------------------------------------------------
>> Jason van Zyl
>> Founder,  Apache Maven
>> http://twitter.com/jvanzyl
>> http://twitter.com/takari_io
>> ---------------------------------------------------------
>>
>> 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: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Incremental build API

Posted by Jason van Zyl <ja...@takari.io>.
On Mar 25, 2014, at 7:31 PM, Hervé BOUTEMY <he...@free.fr> wrote:

> Hi Jason,
> 
> Interesting.
> 
> What is the plan about org.sonatype.plexus:plexus-build-api already integrated 
> in some plugins?
> 

We consider it deficient for properly tracking stale outputs and being fine-grained enough to make an incremental compiler. We likely won't be developing that API any further but we'll continue to support that API in M2E.

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

We may in the future, but it is being developed for a customer and will likely remain in a high degree of flux. Our highest priority is getting it all working and Github is the easiest place to develop for now.

> 
> 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]: http://takari.io/2014/03/25/incremental-build.html
>> [2]: https://github.com/takari/io.takari.incrementalbuild
>> [3]:
>> https://github.com/takari/io.takari.incrementalbuild/tree/master/incrementa
>> lbuild/src/test/java/io/takari/incremental/demo
>> 
>> Thanks,
>> 
>> Jason
>> 
>> ----------------------------------------------------------
>> Jason van Zyl
>> Founder,  Apache Maven
>> http://twitter.com/jvanzyl
>> http://twitter.com/takari_io
>> ---------------------------------------------------------
>> 
>> 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: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
http://twitter.com/takari_io
---------------------------------------------------------

We know what we are, but know not what we may be.

  -- Shakespeare










Re: Incremental build API

Posted by Hervé BOUTEMY <he...@free.fr>.
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]: http://takari.io/2014/03/25/incremental-build.html
> [2]: https://github.com/takari/io.takari.incrementalbuild
> [3]:
> https://github.com/takari/io.takari.incrementalbuild/tree/master/incrementa
> lbuild/src/test/java/io/takari/incremental/demo
> 
> Thanks,
> 
> Jason
> 
> ----------------------------------------------------------
> Jason van Zyl
> Founder,  Apache Maven
> http://twitter.com/jvanzyl
> http://twitter.com/takari_io
> ---------------------------------------------------------
> 
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org