The Apache Maven team is pleased to announce the release of the Apache Maven 4.0.0-beta-5
WORD OF WARNING: there are big issues discovered in beta-5 post staging. Still, we wanted it on Central due to the latest v4 API changes. 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-5 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-5/ For more information read https://maven.apache.org/docs/4.0.0-beta-5/release-notes.html Release Notes - Maven - Version 4.0.0-beta-5 ** Bug * [MNG-5761] - Dependency management is not transitive. * [MNG-8041] - Maven Core bug regarding resolution scopes for Mojos * [MNG-8096] - Inconsistent dependency resolution behaviour for concurrent multi-module build can cause failures * [MNG-8133] - Broken interpolation when external parent references ${project.rootDirectory} * [MNG-8233] - ModelIDs are paths, possible mixup in project or model builder * [MNG-8237] - Option deprecation notices cleanup * [MNG-8256] - ProjectDependencyGraph bug: in case of filtering, non-direct module links are lost * [MNG-8260] - Fix warning on latest JDK 24.ea * [MNG-8261] - Remove jline-terminal-ffm direct dependency * [MNG-8288] - Path cannot be null while building reactor modules * [MNG-8293] - Maven4 lost ability to import BOM from within reactor * [MNG-8295] - Dependency Manager Transitivity (now default) handles dependency management inconsistently * [MNG-8296] - Build failure on unsupported Language * [MNG-8299] - Maven 4 reverses custom lifecycle ordering * [MNG-8302] - CLIng and/or rootDirectory being mandatory causes warning at start when no root discovered * [MNG-8305] - CLIng does not populate MavenExecutionRequest.showErrors properly * [MNG-8306] - Fix wrong order in merged xml nodes and double profile injection * [MNG-8311] - Empty but existing <localRepository/> in settings.xml defaulting to current working directory * [MNG-8315] - Failure of mvn.cmd if a .mvn directory is located at drive root * [MNG-8325] - The ReactorReader should know about build/consumer POMs * [MNG-8326] - The ModelBuilder cannot import BOM with classifiers * [MNG-8327] - Failure when building the consumer POM * [MNG-8331] - Versioned dependencies may disappear in modelVersion 4.1.0 ** New Feature * [MNG-7255] - Infer groupId for intra-reactor dependencies * [MNG-8190] - Restrict build pom feature to 4.1.0 model version * [MNG-8230] - Rewrite CI friendly versions * [MNG-8234] - Revert the addition of the priority tag * [MNG-8235] - Move remote repositories into requests * [MNG-8239] - Missing ModelCacheFactory * [MNG-8242] - Cache flattened parents during model building * [MNG-8249] - Provide an annotation processor for DI * [MNG-8252] - Fully infer the parent coordinates if the location points to a valid model * [MNG-8255] - Bump ch.qos.logback:logback-classic from 1.5.7 to 1.5.8 * [MNG-8258] - activate Reproducible Builds by default * [MNG-8259] - Improve Sisu / DI bridge ** Improvement * [MNG-5910] - Using both {{exists}} and {{missing}} in the same {{file}} element should lead to an exception * [MNG-8120] - ProjectBuilder api and ModelBuilder enhancements * [MNG-8232] - SPI for "project model transformation" * [MNG-8294] - Add a consistency check when loading parent * [MNG-8310] - Use --debug option instead of a specific mvnDebug script * [MNG-8312] - Generate BOMs instead of hand-writing them ** Task * [MNG-8263] - Remove last remnants of wrapper integration into core * [MNG-8264] - Deprecate m-model-builder, m-settings-builder, m-resolver-provider modules and classes * [MNG-8267] - Drop ConfigurationProcessor support * [MNG-8273] - Bump mockitoVersion from 5.13.0 to 5.14.1 * [MNG-8274] - Bump net.bytebuddy:byte-buddy from 1.15.1 to 1.15.3 * [MNG-8275] - Bump com.google.guava:guava from 33.3.0-jre to 33.3.1-jre * [MNG-8276] - Bump org.apache.velocity:velocity-engine-core from 2.3 to 2.4 * [MNG-8277] - Bump org.junit:junit-bom from 5.11.0 to 5.11.1 * [MNG-8278] - Improve speed in stax readers * [MNG-8279] - The project local repository and project collectors are using maven.multiModuleProjectDirectory instead of rootDirectory * [MNG-8280] - Bump jlineVersion from 3.26.3 to 3.27.0 * [MNG-8281] - Provide an Interpolator service * [MNG-8282] - Disable MNG-0553 IT for Maven 4-beta5+ (feature reworked) * [MNG-8283] - Maven CLIng, the "new gen" CLI * [MNG-8285] - Implement mvnenc, new CLI tool for password management * [MNG-8290] - Bump org.ow2.asm:asm from 9.7 to 9.7.1 * [MNG-8291] - Bump org.junit:junit-bom from 5.11.1 to 5.11.2 * [MNG-8303] - Bump ch.qos.logback:logback-classic from 1.5.8 to 1.5.10 * [MNG-8304] - Bump net.bytebuddy:byte-buddy from 1.15.3 to 1.15.4 * [MNG-8309] - Improve log infrastructure (first step toward multi-threading log view support) * [MNG-8316] - Bump jlineVersion from 3.27.0 to 3.27.1 * [MNG-8317] - Bump ch.qos.logback:logback-classic from 1.5.10 to 1.5.11 * [MNG-8318] - Bump mockitoVersion from 5.14.1 to 5.14.2 * [MNG-8322] - Use the new ToolchainsBuilder and SettingsBuilder * [MNG-8324] - Bump net.bytebuddy:byte-buddy from 1.15.4 to 1.15.5 ** Dependency upgrade * [MNG-8307] - Bump ch.qos.logback:logback-classic from 1.5.8 to 1.5.10 * [MNG-8313] - Resolver 2.0.2 Have fun! - The Maven Team