[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



[RESULT}[VOTE] Apache Maven Build Cache Extension 1.1.0

2023-11-29 Thread Olivier Lamy
Hi,
The vote has passed with the following result.
+1: Karl, Guillaume, Kevin, Tamas, Romain, Herve, Slawomir, Olivier

I will finish the release process.

Thanks for your vote.
cheers
Olivier

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



Re: injecting an object for plugin configuration on Maven CLI

2023-11-29 Thread Jorge Solórzano
This should be a nice feature to have, this way a configuration of a
complex object could still be done using properties like:

-Dmaven.toolchain.toolchains.jdk.version="11"

Sisu should definitely add support to this.

Thinking out loud, it would be really nice if Maven supports something
like MicroProfile
Config  (eg.
smallrye-config ), which
would also allow more types of configuration like environment variables:
MAVEN_TOOLCHAIN_TOOLCHAINS_JDK_VERSION=17

Regards,

On Wed, Nov 29, 2023 at 8:48 AM Hervé Boutemy  wrote:

> thank you Konrad
> I feared that
> IIUC, I'll have to add a parameter for CLI use that will parse a specific
> format: I'll try and share, so we can evaluate options
>
> Regards,
>
> Hervé
>
> Le vendredi 17 novembre 2023, 10:55:55 CET Konrad Windszus a écrit :
> > Hi,
> > Only the value classes listed in
> >
> https://maven.apache.org/guides/mini/guide-configuring-plugins.html#Mapping
> > _Value_Objects support conversion from string. There is nothing built in
> for
> > complex classes containing multiple values of different types.
> >
> > Konrad
> >
> > > On 17. Nov 2023, at 08:51, Hervé Boutemy 
> wrote:
> > >
> > > my use case: I want sometimes to execute maven-toolchain-plugin or
> animal-
> > > sniffer-maven-plugin on CLI without updating pom.xml
> > >
> > > the only issue I'm facing is how to write the -D properties to
> populate a
> > > few fields from Objects required in plugin configuration:
> > >
> > > - signature groupId/artifactId/version for Animal Sniffer equivalent to
> > > pom.xml's configuration
> > >
> https://www.mojohaus.org/animal-sniffer/animal-sniffer-maven-plugin/usage.
> > > html
> > >
> > > - even simpler for toolchain: just one toolchains.jdk.version value
> like
> > > https://maven.apache.org/plugins/maven-toolchains-plugin/toolchains/
> > > jdk.html#sample-plugin-configuration
> > >
> > > Is there some Sisu magic for that, or do we need to add a specific
> extra-
> > > handling of this use case at goal level?
> > >
> > > Regards,
> > >
> > > Hervé
> > >
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> > > For additional commands, e-mail: dev-h...@maven.apache.org
>
>
>
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>


Re: [VOTE] Release Maven Resolver 2.0.0-alpha-3

2023-11-29 Thread Slawomir Jaranowski
+1

wt., 28 lis 2023 o 16:00 Tamás Cservenák  napisał(a):

> Howdy,
>
> Note: This is a third (and hopefully last, unless something unexpected
> crops out) preview release of Resolver 2.0.0, that would allow any
> downstream consumers to try it out and adapt. It contains major cleanup and
> package and class renames (not affecting public APIs, but affecting
> configuration!). It also includes "windows fix" from the 1.9.18 version.
>
> For configuration changes, see
>
> https://maven.apache.org/resolver-archives/resolver-LATEST/configuration.html
>
> Note: this page above is from now on GENERATED out of sources. Before it
> was manually authored that was error prone and laborious, plus there was a
> source vs page discrepancy as well it omitted some properties (usually by
> mistake).
>
> IF the vote is successful, the staging site will NOT be moved to
> https://maven.apache.org/resolver/ but instead will be made reachable from
> https://maven.apache.org/resolver-archives/resolver-2.0.0-alpha-3/ only.
>
> The 1.9.18 is still the "latest stable" release of Maven Resolver.
>
> ===
>
> We solved 12 issues:
>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12320628=12353963
>
> There are still some issues in JIRA:
> https://issues.apache.org/jira/projects/MRESOLVER/issues
>
> Staging repository:
> https://repository.apache.org/content/repositories/maven-2040
>
> Source release SHA512:
>
> 3eeb611f90da03a20479ef6086a3112ffd5c0289a72011e65c274e919ac2573d5d3fa124c1a3e506fdbecb15b22969c925ae1c1937b0e0778ceeb8fe8803dead
>
> Staging site:
> https://maven.apache.org/resolver-archives/resolver-LATEST/
>
> Guide to testing staged releases:
> https://maven.apache.org/guides/development/guide-testing-releases.html
>
> Vote open for 72 hours.
>
> [ ] +1
> [ ] +0
> [ ] -1
>


-- 
Sławomir Jaranowski


Re: [VOTE] Apache Maven Build Cache Extension 1.1.0

2023-11-29 Thread Slawomir Jaranowski
+1

pon., 27 lis 2023 o 03:12 Olivier Lamy  napisał(a):

> Hi,
> I'd like to release the Apache Maven Build Cache Extension 1.1.0.
> We've fixed 8 issues:
>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12352470=Text=12324820
>
> Staging repo
> https://repository.apache.org/content/repositories/maven-2038/
>
> source release
> https://repository.apache.org/content/repositories/maven-2038/org/apache/maven/extensions/maven-build-cache-extension/1.1.0/maven-build-cache-extension-1.1.0-source-release.zip
>
> sha512
> https://repository.apache.org/content/repositories/maven-2038/org/apache/maven/extensions/maven-build-cache-extension/1.1.0/maven-build-cache-extension-1.1.0-source-release.zip.sha512
>
> Staging site:
> https://maven.apache.org/extensions-archives/maven-build-cache-extension-LATEST/
>
> Vote open for 72h
>
> +1
> 0
> -1
>
> regards
> Olivier
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>

-- 
Sławomir Jaranowski


Re: [VOTE] Release Apache Maven 3.9.6

2023-11-29 Thread Slawomir Jaranowski
+1

wt., 28 lis 2023 o 11:24 Tamás Cservenák  napisał(a):

> Howdy,
>
> Note: This release improves Windows experience (via use of Resolver 1.9.18)
> and makes possible using newer bytecode as Maven components (by upping
> Sisu) and adds ability to exclude plugins from validation.
>
> ---
>
> We solved 5 issues:
>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12316922=12353686
>
> There are still a couple of issues left in JIRA:
>
> https://issues.apache.org/jira/issues/?jql=project%20%3D%20MNG%20AND%20resolution%20%3D%20Unresolved
>
> Staging repo:
> https://repository.apache.org/content/repositories/maven-2039
>
> Dev dist directory (binary bundles updated):
> https://dist.apache.org/repos/dist/dev/maven/maven-3/3.9.6/
>
> Source release checksums:
> apache-maven-3.9.6-src.tar.gz.sha512
>
> c14b97703082af495225cec652ad1ec58cbcd069040cdfa16a7b9270058574c73524ce15217e83153fe23b2449ef1afd73a4ef42bd05abd3cfdfadfc3da7f7bf
>
> apache-maven-3.9.6-src.zip.sha512
>
> e1773ea34a90a16a4ba68bd0304fe73b34fbc2d02f74c195aaa610a959ccd9ce500194b72dc957a2b8af2af28c63e342f7f98fcd4e5b795a0af8364e5fb72bcf
>
> Staged site:
> https://maven.apache.org/ref/3-LATEST/
>
> Draft for release notes:
> https://github.com/apache/maven-site/pull/469
>
> Guide to testing staged releases:
> http://maven.apache.org/guides/development/guide-testing-releases.html
>
> Vote open for 72h
>
> [ ] +1
> [ ] +0
> [ ] -1
>


-- 
Sławomir Jaranowski


Re: [VOTE] Release Maven Resolver 2.0.0-alpha-3

2023-11-29 Thread Tamás Cservenák
Sure, I just said this is "probably" the last alpha, as all the major
changes we wanted are made through.
Resolver 2.0.0 does not envision any major API change, in fact, we
advertise it as a "drop in" replacement:
https://maven.apache.org/resolver-archives/resolver-LATEST/upgrading-resolver.html

None of Mojos and majority of other code does not need change, it is only
code that integrates Resolver (like Maven) that needed some change related
to onSessionClose.
What API changes do you have in mind? For example I bet the new transports
will show some problems (and hence will be modified), but all that is
"behind the curtains", is not part of the public API.

T

On Tue, Nov 28, 2023 at 9:00 PM Michael Osipov  wrote:

> Am 2023-11-28 um 15:59 schrieb Tamás Cservenák:
> > Howdy,
> >
> > Note: This is a third (and hopefully last, unless something unexpected
> > crops out) preview release of Resolver 2.0.0, that would allow any
> > downstream consumers to try it out and adapt. It contains major cleanup
> and
> > package and class renames (not affecting public APIs, but affecting
> > configuration!). It also includes "windows fix" from the 1.9.18 version.
>
> You should give more time to evaluate the alpha because later it will be
> too late to change API or behavior.
>
>