Overriding/extending Default XXXLifecycleMappingProvider

2022-12-14 Thread Mirko Friedenhagen
Hi,

in the past we have used a Maven jar where we just placed a 
src/main/resources/META-INF/plexus/components.xml which did override the called 
goals for different types resp. even created new types (e.g. a 
spring-boot-jar). We included this jar as `extension` in the `build` section of 
our company pom. This allowed us to easily enforce execution of e.g. 
failsafe:verify for JARs, WARs and SPRING-BOOT-JARs while excluding this for 
POMs.


With 
https://github.com/apache/maven/commit/6c7d105916bb288b1f0f7010035c718f16e11240#diff-e56beaf8ffd2642855c03d4bbcc8bd7a33a4e50582b8bd540b3bea6aee63f683
 the old XML structures are gone and replaced by Java classes.

Is it possible to somehow override/replace the existing standard 
JarLifecycleMappingProvider, PomLifecycleMappingProvider and 
WarLifecycleMappingProvider without patching the Maven distribution?

Best Regards
Mirko
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



[ANN] Apache Software Foundation Parent POM Version 29 Released

2022-12-14 Thread Slawomir Jaranowski
The Apache Maven team is pleased to announce the release of the Apache
Software Foundation Parent POM Version, version 29

https://maven.apache.org/pom/asf/

You should specify the version in your project as parent like the following:


  org.apache
  apache
  29


You can download the appropriate sources etc. from the download page:

http://maven.apache.org/pom/asf/download.html

Release Notes - Maven POMs - Version ASF-29

** Improvement
* [MPOM-378] - Using an SPDX identifier as the license name is
recommended by Maven

** Dependency upgrade
* [MPOM-380] - Bump maven-ear-plugin from 3.2.0 to 3.3.0
* [MPOM-381] - Bump maven-release-plugin from 3.0.0-M6 to 3.0.0-M7
* [MPOM-382] - Bump maven-install-plugin from 3.0.1 to 3.1.0
* [MPOM-383] - Bump maven-dependency-plugin from 3.3.0 to 3.4.0

Enjoy,

-The Apache Maven team


[ANN] Apache Maven Parent POMs 39 Released

2022-12-14 Thread Slawomir Jaranowski
The Apache Maven team is pleased to announce the release of the Maven
Parent POMs Version 39.

Maven Parent POMs include Maven Parent POM itself,
but also Maven Plugins Parent POM, Maven Shared Components Parent POM,
Maven Skins Parent POM and Maven Doxia Tools Parent POM.

https://maven.apache.org/pom/maven/

You should specify the version in your project as parent like the following:


  org.apache.maven
  maven-parent
  39


You can download the appropriate sources etc. from the download page:

https://maven.apache.org/pom/maven/download.html

Release Notes - Maven POMs - Version MAVEN-39

** Bug
* [MPOM-371] - Fix checkstyle configuration
* [MPOM-376] - Spotless importOrder should be taken into consideration


** Improvement
* [MPOM-370] - Document "format" profile
* [MPOM-373] - Execute spotless before rat
* [MPOM-377] - Add space before close empty elements in poms
* [MPOM-384] - Allow to override streamLogsOnFailures parameter for
m-invoker-p


Enjoy,

-The Apache Maven team