[ANN] Apache Maven Build cache extension

2024-05-12 Thread Olivier Lamy
The Apache Maven team is pleased to announce the release of the Apache
Maven Build cache extension, version 1.2.0

Build cache is an extension that makes large Maven builds more efficient.

A combination of features achieves that:
- Incremental builds work on the modified part of the project graph part only
- Project state restoration (partial) avoids repeating expensive tasks
like code generation
- etc...

More details available:
https://maven.apache.org/extensions/maven-build-cache-extension/

You can look at the configuration to use it:
https://maven.apache.org/extensions/maven-build-cache-extension/getting-started.html


Release Notes - Maven Build Cache Extension - Version 1.2.0

** Bug
* [MBUILDCACHE-76] - pom project version change not detected
* [MBUILDCACHE-79] - MBUILDCACHE-67 broke the partial restore process
* [MBUILDCACHE-80] - Incremental builds with a higher goal than
the highest cached goal is rebuilding the full project from scratch
* [MBUILDCACHE-81] - Add an option to include project version as
part of the cache hash key
* [MBUILDCACHE-88] - Tests in failure when ran on jdk21

** New Feature
* [MBUILDCACHE-90] - Configuration option to make mandatory the
use of the clean phase in order to cache the build result
* [MBUILDCACHE-93] - Command line configuration to disable saving in cache

** Improvement
* [MBUILDCACHE-71] - buildinfo.xml should be stored after storing
the project's artifacts
* [MBUILDCACHE-86] - Bugfix and enhancements with the restoration
of outputs on disk

Enjoy,

-The Apache Maven team

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



[ANN] Apache Maven Build Cache Extension 1.1.0

2023-11-29 Thread Olivier Lamy
Hi

The Apache Maven team is pleased to announce the release of the Apache
Maven Build Cache Extension 1.1.0.

Build cache is an extension that makes large Maven builds more efficient.

https://maven.apache.org/extensions/maven-build-cache-extension/

Release Notes - Maven Build Cache Extension - Version 1.1.0

** Bug
* [MBUILDCACHE-32] - Do not print exception when probing builds in
remote repo
* [MBUILDCACHE-61] - XXMM hash algorithm does not work on Java 17
* [MBUILDCACHE-64] - Apply global exclusions to folder names
* [MBUILDCACHE-66] - Mojo execution can be out of scope
* [MBUILDCACHE-67] - Any error in restoring from the cache should
resume the non cache build

** New Feature
* [MBUILDCACHE-62] - Add METRO hash implementation

** Task
* [MBUILDCACHE-75] - Upgrade Maven parent 41


Enjoy,

-The Apache Maven team

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



Re: [ANN] Apache Maven Build Cache Extension 1.0.0 Released

2022-11-07 Thread Mark Derricutt
 Congrats - look forward to trying it out.

I note however the site links to some missing files:

 https://maven.apache.org/extensions/resources/maven-build-cache-config.xml

from the
https://maven.apache.org/extensions/maven-build-cache-extension/getting-started.html
page
for one (which also still refers to 1.0.0-SNAPSHOT)

https://maven.apache.org/extensions/maven-build-cache-extension/usage.html also
mentioned “true” in the “disabling” section - counter to the property which
is false.


-- 
"Great artists are extremely selfish and arrogant things" — Steven Wilson,
Porcupine Tree


On 8/11/2022 at 3:45:06 AM, Guillaume Nodet  wrote:

> The Apache Maven team is pleased to announce the release of the Apache
> Maven Build Cache Extension version 1.0.0
>https://maven.apache.org/extensions/maven-build-cache-extension/
>
> You should specify the version in your project's configuration:
>
>
>   1. 
>   2. org.apache.maven.extensions
>   3. maven-build-cache-extension
>   4. 1.0.0
>   5. 
>
>
> either in pom.xml's // or in
> .mvn/extensions.xml
> 's .
>
> Release Notes Maven Build Cache Extension 1.0.0
>
>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12351243&projectId=12324820
>
> Release Notes - Maven Build Cache Extension - Version 1.0.0
>
> ** Sub-task
>* [MBUILDCACHE-2] - Extract caching system out of maven-core
>* [MBUILDCACHE-3] - Use maven session properties instead of reading
> directly from system properties
>* [MBUILDCACHE-4] - Make opt-in as easy as possible using a command
> line option / system property
>* [MBUILDCACHE-5] - migrate from JAXB to Modello
>* [MBUILDCACHE-6] - Rename schemas to be inlined with other schemas
>* [MBUILDCACHE-7] - Rebase on top of master 4.x
>* [MBUILDCACHE-8] - Avoid guava usage
>* [MBUILDCACHE-9] - Remove the `Type` suffix on the generated model
> classes
>* [MBUILDCACHE-10] - Make the cache singletons reusable across maven
> sessions
>* [MBUILDCACHE-11] - Define a maven 4 Feature for the cache system
>* [MBUILDCACHE-12] - Remove usage of plexus logger
>
> ** Bug
>* [MBUILDCACHE-16] - Fix config file name
>* [MBUILDCACHE-17] - IllegalStateException: Cache is not initialized.
> Actual state: null
>* [MBUILDCACHE-21] - Caching does not check permissions
>* [MBUILDCACHE-24] - Cache cannot be processed in presence of forked
> executions
>
> ** New Feature
>* [MBUILDCACHE-1] - [Deutsche Bank contribution] Incremental build with
> local and remote(shared) cache
>* [MBUILDCACHE-22] - Add possibility to skip cache lookup
>
> ** Improvement
>* [MBUILDCACHE-18] - Use m-resolver transport layer instead of
> redefining another one
>* [MBUILDCACHE-19] - Upgrade to resolver 1.8.0
>
> ** Task
>* [MBUILDCACHE-13] - rename remote.cache.* properties to build.cache.*
>* [MBUILDCACHE-26] - Ensure the maven version is >= 3.9
>
> Enjoy,
> --
> 
> On behalf of the Apache Maven team
> Guillaume Nodet
>


[ANN] Apache Maven Build Cache Extension 1.0.0 Released

2022-11-07 Thread Guillaume Nodet
The Apache Maven team is pleased to announce the release of the Apache
Maven Build Cache Extension version 1.0.0
https://maven.apache.org/extensions/maven-build-cache-extension/

You should specify the version in your project's configuration:


   1. 
   2. org.apache.maven.extensions
   3. maven-build-cache-extension
   4. 1.0.0
   5. 


either in pom.xml's // or in .mvn/extensions.xml
's .

Release Notes Maven Build Cache Extension 1.0.0

https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12351243&projectId=12324820

Release Notes - Maven Build Cache Extension - Version 1.0.0

** Sub-task
* [MBUILDCACHE-2] - Extract caching system out of maven-core
* [MBUILDCACHE-3] - Use maven session properties instead of reading
directly from system properties
* [MBUILDCACHE-4] - Make opt-in as easy as possible using a command
line option / system property
* [MBUILDCACHE-5] - migrate from JAXB to Modello
* [MBUILDCACHE-6] - Rename schemas to be inlined with other schemas
* [MBUILDCACHE-7] - Rebase on top of master 4.x
* [MBUILDCACHE-8] - Avoid guava usage
* [MBUILDCACHE-9] - Remove the `Type` suffix on the generated model
classes
* [MBUILDCACHE-10] - Make the cache singletons reusable across maven
sessions
* [MBUILDCACHE-11] - Define a maven 4 Feature for the cache system
* [MBUILDCACHE-12] - Remove usage of plexus logger

** Bug
* [MBUILDCACHE-16] - Fix config file name
* [MBUILDCACHE-17] - IllegalStateException: Cache is not initialized.
Actual state: null
* [MBUILDCACHE-21] - Caching does not check permissions
* [MBUILDCACHE-24] - Cache cannot be processed in presence of forked
executions

** New Feature
* [MBUILDCACHE-1] - [Deutsche Bank contribution] Incremental build with
local and remote(shared) cache
* [MBUILDCACHE-22] - Add possibility to skip cache lookup

** Improvement
* [MBUILDCACHE-18] - Use m-resolver transport layer instead of
redefining another one
* [MBUILDCACHE-19] - Upgrade to resolver 1.8.0

** Task
* [MBUILDCACHE-13] - rename remote.cache.* properties to build.cache.*
* [MBUILDCACHE-26] - Ensure the maven version is >= 3.9

Enjoy,
-- 

On behalf of the Apache Maven team
Guillaume Nodet