The Apache Maven team is pleased to announce the release of the Apache Maven 4.0.0-beta-4
Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information. Maven 4.0.0-beta-4 is available via https://maven.apache.org/download.cgi The core release is independent of plugin releases. Further releases of plugins will be made separately. If you have any questions, please consult: - the web site: https://maven.apache.org/ - the maven-user mailing list: https://maven.apache.org/mailing-lists.html - the reference documentation: https://maven.apache.org/ref/4.0.0-beta-4/ For more information read https://maven.apache.org/docs/4.0.0-beta-4/release-notes.html Release Notes - Maven - Version 4.0.0-beta-4 ** Sub-task * [MNG-5666] - Divide lifecycle in prePhases, phases and postPhases * [MNG-5667] - Either install or deploy ** Bug * [MNG-7758] - o.e.aether.resolution.ArtifactResolutionException incorrectly examined when multiple repositories are involved * [MNG-7838] - Local repository breaks exec plugin * [MNG-8066] - Maven hangs on self-referencing exceptions * [MNG-8116] - Plugin configuration can randomly fail in case of method overloading as it doesn't take into account implementation attribute * [MNG-8132] - Dependency-management "client" exclusions overwrite BOM exclusions * [MNG-8135] - Profile activation based on OS properties is no longer case insensitive * [MNG-8142] - If JDK profile activator gets "invalid" JDK version for whatever reason, it chokes but does not tell why * [MNG-8160] - Recreate the transformed artifact if it has been deleted * [MNG-8164] - Session#collectDependencies(Project) does not obey exclusions * [MNG-8165] - Maven does not find extensions for -f when current dir is root * [MNG-8172] - Fix site building * [MNG-8177] - Warning "'dependencyManagement.dependencies.dependency.systemPath' for com.sun:tools:jar refers to a non-existing file C:\Temp\jdk-11.0.23\..\lib\tools.jar" * [MNG-8178] - Profile activation based on OS properties is broken for "mvn site" * [MNG-8180] - Resolver will blindly assume it is deploying a plugin by presence of META-INF/maven/plugins.xml in JAR * [MNG-8182] - Missing or mismatching Trusted Checksum for some artifacts is not properly reported * [MNG-8192] - DefaultArtifact constructor no longer accepts empty version * [MNG-8211] - Maven should fail builds that use CI Friendly versions but have no values set * [MNG-8218] - Non-normalized paths are compared which fails when using relativePath * [MNG-8220] - Fix loading DI-powered beans from extensions * [MNG-8229] - Fix interpolation of CI friendly versions ** New Feature * [MNG-7633] - Add process-package lifecycle phase * [MNG-8052] - Define a new lifecycle for Maven 4 * [MNG-8176] - Restrict class loaders for Maven 4 plugins * [MNG-8181] - Provide an environment variable for Maven Central URL * [MNG-8210] - Rename modules to subprojects and make them optional in the POM * [MNG-8215] - Add location tracking for toolchains * [MNG-8225] - Fully concurrent builder ** Improvement * [MNG-7344] - Effective pom should contain more finegrained details regarding its content origin: track dependencyManagement import * [MNG-7897] - Support ${project.rootDirectory} in file profile activation * [MNG-7902] - Sort plugins in validation report * [MNG-8090] - Fix missing repositories during parent artifact resolution * [MNG-8140] - When a model is discarded (by model builder) for whatever reason, show why it happened * [MNG-8141] - Model Builder should report if not sure about "fully correct" outcome * [MNG-8150] - Make SimplexTransferListener handle absent source/target files * [MNG-8151] - Merge DependencyCollector into DependencyResolver * [MNG-8152] - Implement @SessionScoped and @MojoExecutionScoped from the DI API * [MNG-8153] - Some classes from the Maven 3 API are missing * [MNG-8195] - Add DependencyResolverResult.getModuleName(Path) method * [MNG-8196] - Make exception messages match Maven 3 again * [MNG-8197] - Use default classifier when Eclipse Aether specifies none * [MNG-8213] - Expose most important phases as constants * [MNG-8214] - Allow extension of the model classes being generated with model.vm * [MNG-8228] - Enable strict classpath scanning with Sisu Plexus ** Task * [MNG-8010] - Minimize and make generic the README.txt * [MNG-8134] - Provide a @Resolution annotation that can be used to inject dependencies resolution/collection in mojos * [MNG-8206] - Remove Maven 2.1 (v 2.0) compatibility bits ** Dependency upgrade * [MNG-8136] - Update to Eclipse Sisu 0.9.0.M3 * [MNG-8179] - Upgrade Parent to 43 * [MNG-8194] - Resolver 2.0.1 * [MNG-8201] - Bump slf4jVersion from 2.0.13 to 2.0.14 * [MNG-8202] - Bump org.hamcrest:hamcrest from 2.2 to 3.0 * [MNG-8203] - Bump org.jline:jline from 3.26.2 to 3.26.3 * [MNG-8204] - (build) Bump com.github.siom79.japicmp:japicmp-maven-plugin from 0.21.2 to 0.22.0 * [MNG-8209] - Bump slf4jVersion from 2.0.14 to 2.0.16 * [MNG-8219] - (build) Bump com.github.siom79.japicmp:japicmp-maven-plugin from 0.22.0 to 0.23.0 Have fun! - The Maven Team