Releases: apache/maven
Releases · apache/maven
4.0.0-beta-4
What's Changed
- [MNG-7902] Sort plugins in the validation report by @yuehcw in #1510
- Allow to manually execute GitHub Action by @slawekjaranowski in #1552
- Use Maven Wrapper to build by @slawekjaranowski in #1550
- [MNG-5693] Remove unhelpful links that don't describe failure reasons from output by @elharo in #1545
- [MNG-8136] Update Eclipse Sisu to 0.9.0.M3 by @cstamas in #1546
- [MNG-8135] Fix capital OS name can not activate profile by @liutang123 in #1549
- Fix grammar in validation message by @Bananeweizen in #1544
- Move modelVersion inference to model builder so that it is also effective on consumer models by @gnodet in #1566
- [MNG-8141] Model Builder report issues during build by @cstamas in #1569
- [MNG-8153] Add back missing classes from the v3 api by @gnodet in #1577
- [MNG-8134] Add a @resolution annotation to mojos to inject project dependencies collection / resolution result by @gnodet in #1559
- Remove commons-io:commons-io dependency by @gnodet in #1578
- [MNG-8150] Handle absent source/target files in transfer listener by @pshevche in #1575
- [MNG-8150] Remove unused locale argument from FileSizeFormat by @pshevche in #1579
- [MNG-7758] Report dependency problems for all repository by @slawekjaranowski in #1563
- Remove hardcoded references to woodstox stax implementation by @gnodet in #1585
- [MNG-8160] Recreate the transformed artifact if it has been deleted (by the clean goal for example) by @gnodet in #1587
- [MNG-8164] Session#collectDependencies(Project) does not obey exclusions by @gnodet in #1591
- [MNG-7194] Test missing property evaluation by @pzygielo in #1573
- Fix Toolchain toString() method by @gnodet in #1593
- [MNG-8155] Improve not built error message by @elharo in #1599
- Fix Maven 4 extensions by @gnodet in #1601
- [MNG-8179] Upgrade Parent to 43 by @slawekjaranowski in #1605
- [MNG-8178] Fall back to system properties for missing profile activation context properties by @gnodet in #1609
- [MNG-8180] Fail install/deploy if rogue Maven Plugin metadata found by @cstamas in #1612
- [4.0.x][MNG-8194] Update to Resolver 2.0.1 by @cstamas in #1626
- [MNG-8182] Resolved errors were created based on collect exceptions by @cstamas in #1635
- [MNG-8192] Consistently throw InvalidArtifactRTException for invalid by @kwin in #1637
- [MNG-8197] Use default classifier when Eclipse Aether specifies none by @desruisseaux in #1621
- [API] Expose InputLocation formatter in the XmlFactory by @gnodet in #1616
- [MNG-8132] Fix BOM dependency exclusions by @gnodet in #1622
- [MNG-8180] Handle NPE due non-existent tags by @cstamas in #1639
- [MNG-8180] Back out from failing the build by @cstamas in #1645
- [MNG-8206] Remove bad plugin.xml in maven-compat by @gnodet in #1644
- [MNG-8177] Add contextual info for model warnings by @cstamas in #1636
- [MNG-8010]: Minimize and make generic the README.txt by @hiufung-kwok in #1624
- Fix StringIndexOutOfBoundsException by @gnodet in #1618
- [MNG-8176] Restrict classloader for Maven 4 plugins by @gnodet in #1336
- [MNG-8165] Align mvn.sh script with mvn.cmd by @cstamas in #1648
- [MNG-8165] Get rid of bashism creeped in by @cstamas in #1652
- [MPLUGIN-530] Deprecate requirements in plugin descriptor 1.1.0 by @kwin in #1638
- [MNG-7344] track dependencyManagement import location in effective Model for MPH-183 by @jjkester in #603
- [MNG-8195] Add
DependencyResolverResult.getModuleName(Path)
method by @desruisseaux in #1625 - [MNG-8196] Make exception messages match Maven 3 again by @oehme in #1628
- [MNG-8172] Fix site building by @gnodet in #1594
- [MNG-8215] Add location tracking for toolchains by @gnodet in #1608
- [MNG-8211] Fail the build if project effective version has expression by @cstamas in #1673
- [MNG-7914] Provide a single entry point for configuration by @gnodet in #1595
- Document that V4 mojo are supposed to be threadsafe by @gnodet in #1675
- [MNG-8181] Provide a variable for maven central repo url, backed by an environment variable by @gnodet in #1615
- [MNG-8214] Improve model velocity template to support subclasses by @kwin in #1660
- [MNG-7914] Add doc for the new maven.properties file by @gnodet in #1674
- Renaming of
ArtifactCoordinate.getVersion()
+ documentation by @gnodet in #1662 - [MNG-8052] New lifecycle for Maven 4 by @gnodet in #1448
- [MNG-8220] Fix loading DI-powered beans from extensions by @gnodet in #1683
- [MNG-7897] Support ${project.rootDirectory} in file profile activation by @gnodet in #1687
- [MNG-8228] Enable Sisu Plexus strict classpath scanning by @kwin in #1688
- [MNG-8218] Always normalize Path in PathSource by @gnodet in #1684
- [MNG-8225] Fully concurrent builder for Maven 4 by @gnodet in #1429
- [MNG-8210] Replace Maven "module" term by "subproject" by @gnodet in #1651
- [MNG-7838] Fix usage of older packaged artifacts from project local repository by @gnodet in #1199
- [MNG-8229][MNG-8090] Fix jenkins build by @gnodet in #1693
Dependencies
- Bump commons-cli:commons-cli from 1.5.0 to 1.8.0 by @dependabot in #1537
- Bump org.junit:junit-bom from 5.10.1 to 5.10.2 by @dependabot in #1535
- Bump com.google.guava:guava from 33.2.0-jre to 33.2.1-jre by @dependabot in #1582
- Bump net.bytebuddy:byte-buddy from 1.14.15 to 1.14.17 by @dependabot in #1581
- Bump org.jline:jline from 3.26.1 to 3.26.2 by @dependabot in #1588
- Bump com.fasterxml.woodstox:woodstox-core from 6.6.2 to 7.0.0 by @dependabot in #1590
- Bump org.junit:junit-bom from 5.10.2 to 5.10.3 by @dependabot in #1592
- Bump org.codehaus.woodstox:stax2-api from 4.2.1 to 4.2.2 by @dependabot in #1583
- Bump org.codehaus.plexus:plexus-testing from 1.3.0 to 1.4.0 by @dependabot in #1596
- Bump net.bytebuddy:byte-buddy from 1.14.17 to 1.14.18 by @dependabot in #1602
- Bump resolverVersion from 2.0.0-alpha-11 to 2.0.0 by @dependabot in #1600
- Bump slf4jVersion from 2.0.13 to 2.0.14 by @dependabot in #1629
- Bump org.hamcrest:hamcrest from 2.2 to 3.0 by @dependabot in #1623
- Bump org.jline:jline from 3.26.2 to 3.26.3 by @dependabot in #1619
- Bump com.github.siom79.japicmp:japicmp-maven-plugin from 0.21.2 to 0.22.0 by @dependabot in #1620
- Bump slf4jVersion from 2.0.14 to 2.0.16 by @dependabot in #1643
- Bump org.junit:junit-bom from 5.10.3 to 5.11.0 by @dependabot in #1655
- Bump commons-cli:commons-cli from 1.8.0 to 1.9.0 by @dependabot in #1654
- Bump ch.qos.logback:logback-classic from 1.5.6 to 1.5.7 by @dependabot in #1657
- Bump org.assertj:assertj-core from 3.26.0 to 3.26.3 by @dependabot in #1658
- Bump net.bytebuddy:byte-buddy from 1.14.18 to 1.14.19 by @dependabot in #1659
- Bump com.github.siom79.japicmp:japicmp-maven-plugin from 0.22.0 to 0.23.0 by @dependabot in #1664
- Bump org.apache.commons:commons-lang3 from 3.14.0 to 3.16.0 by @dependabot in #1677
- Bump org.codehaus.mojo:exec-maven-plugin from 3.3.0 to 3.4.1 by @dependabot in http...
3.9.9
Release Notes - Maven - Version 3.9.9
Bug
- [MNG-8159] - Fix search for topDirectory when using -f / --file for Maven 3.9.x
- [MNG-8165] - Maven does not find extensions for -f when current dir is root
- [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-8188] - [REGRESSION] Property not resolved in profile pluginManagement
Task
- [MNG-8206] - Remove Maven 2.1 (v 2.0) compatibility bits
Dependency upgrade
- [MNG-8175] - Resolver 1.9.21
- [MNG-8179] - Upgrade Parent to 43
- [MNG-8193] - Resolver 1.9.22
- [MNG-8198] - (build) Animal Sniffer 1.24
- [MNG-8199] - Hamcrest 3.0
What's Changed
- [MNG-8159] Fix search for topDirectory when using -f / --file by @gzm55 in #1589
- [MNG-7194] Test missing property evaluation by @pzygielo in #1570
- [3.9.x] [MNG-8175] Update Resolver to 1.9.21 by @cstamas in #1598
- [MNG-8178] Fall back to system properties for missing profile activation context properties by @kohlschuetter in #1603
- [MNG-8179] Upgrade Parent to 43 by @slawekjaranowski in #1610
- [MNG-8180] Fail install/deploy if rogue Maven Plugin metadata found by @cstamas in #1611
- [3.9.x][MNG-8193] Update to Resolver 1.9.22 by @cstamas in #1627
- [MNG-8199] Hamcrest 3.0 by @cstamas in #1631
- [MNG-8182] Resolved errors were created based on collect exceptions by @cstamas in #1632
- [MNG-8180] Handle NPE due non-existent tags by @cstamas in #1641
- [MNG-8180] Back out from failing the build by @cstamas in #1642
- [MNG-8206] Remove bad plugin.xml from maven-compat by @cstamas in #1646
- [MNG-8177] Add contextual info for model warnings by @cstamas in #1633
- [MNG-8188] Profile properties are not interpolated by @cstamas in #1634
- [MNG-8165] Align mvn.sh script with mvn.cmd by @cstamas in #1647
- [MNG-8165] Get rid of bashism creeped in by @cstamas in #1653
New Contributors
- @gzm55 made their first contribution in #1589
- @kohlschuetter made their first contribution in #1603
Full Changelog: maven-3.9.8...maven-3.9.9
3.9.8
Release Notes - Maven - Version 3.9.8
Bug
- [MNG-7758] - o.e.aether.resolution.ArtifactResolutionException incorrectly examined when multiple repositories are involved
- [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-8131] - Property replacement in dependency pom no longer works
- [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-8147] - Profile interpolation broke their evaluation in case of duplicate IDs
Improvement
- [MNG-7902] - Sort plugins in validation report
- [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
Task
- [MNG-8146] - Drop use of commons-lang
Dependency upgrade
- [MNG-8136] - Update to Eclipse Sisu 0.9.0.M3
- [MNG-8143] - Update to commons-cli 1.8.0
- [MNG-8144] - Update to Guava 32.2.1-jre
- [MNG-8154] - Upgrade default plugin bindings
What's Changed
- Use Maven Wrapper to build by @slawekjaranowski in #1553
- [3.9.x] [MNG-8136] Update Eclipse Sisu to 0.9.0.M3 by @cstamas in #1547
- [MNG-8135] Profile activation based on OS properties is no longer case insensitive by @cstamas in #1561
- [3.9.x] Dependency updates by @cstamas in #1560
- [MNG-7902] Sort plugins in the validation report (#1510) by @slawekjaranowski in #1562
- [MNG-8066] Default exception handler does not handle recursion by @cstamas in #1558
- [MNG-8142] Hidden bug: JDK profile activator throw NumberFormatEx by @cstamas in #1557
- [MNG-8146] Drop commons-lang by @cstamas in #1564
- [MNG-8140] Always tell why model was discarded as "invalid" by @cstamas in #1555
- [MNG-8141] Model builder should report problems it finds during build by @cstamas in #1556
- [MNG-8141][MNG-8147] Restore profile ID invariance but warn if duplicate IDs present by @cstamas in #1568
- [MNG-8141] Aftermath, and tidy up by @cstamas in #1572
- [MNG-8150] Backport TransferListener improvements for Maven 3.9.x by @pshevche in #1576
- [MNG-7758] Report dependency problems for all repository by @slawekjaranowski in #1584
- [MNG-8154] Upgrade default plugin bindings by @slawekjaranowski in #1586
Full Changelog: maven-3.9.7...maven-3.9.8
3.9.7
Release Notes - Maven - Version 3.9.7
Bug
- [MNG-8106] - Maven Metadata corruption if repository directory role overlaps
- [MNG-8121] - NullPointerException at org.apache.maven.artifact.repository.metadata.Metadata.merge (Metadata.java:293)
New Feature
- [MNG-5726] - Update OS Activation To Allow Wildcards In OS Version
- [MNG-8030] - Backport: Add ability to ignore dependency repositories: mvn -itr
Improvement
- [MNG-8019] - Streamline update policy of pluginRepository/repository of Maven Central in Super POM
- [MNG-8029] - improve documentation of mirror in settings
- [MNG-8031] - Backport: Make Maven transfer listener used with Resolver more concurrent friendly
- [MNG-8081] - default profile activation should consider available system and user properties
- [MNG-8085] - swtich from png+imagemap to svg
- [MNG-8117] - Improve prerequisite evaluation and plugin version selection logging
Task
- [MNG-7309] - Remove redundant MojoDescriptor parameterMap
- [MNG-8011] - Minimize and make generic the README.txt
- [MNG-8055] - Investigate possible solutions for build number diffs on deploy
Dependency upgrade
- [MNG-8094] - Resolver 1.9.19
- [MNG-8100] - Upgrade default plugin bindings
- [MNG-8101] - Upgrade Parent to 42
- [MNG-8109] - Resolver 1.9.20
- [MNG-8115] - Upgrade minimal set of dependencies
- [MNG-8125] - (build) Bump buildhelper-maven-plugin to 3.6.0 (was 3.4.0)
- [MNG-8126] - Bump logback classic to 1.2.13 (was 1.2.12)
- [MNG-8127] - Bump guava to 33.2.0-jre
What's Changed
- [MNG-6776] Inconsistent list of parameters for MojoDescriptor (#584) by @michael-o in #1361
- [MNG-8055] Ability to force build number by @cstamas in #1415
- [MNG-8029] improve documentation about mirror settings by @hboutemy in #1395
- MNG-8019 streamline central update policy by @kwin in #1381
- MNG-5726 (backport for Maven 3.9) by @kwin in #1431
- [MNG-4840] document requiredMavenVersion in plugin descriptor by @hboutemy in #1444
- [MNG-8085] switch png+imagemap to svg by @hboutemy in #1452
- [MNG-4840] fix requiredMavenVersion description #1444 by @hboutemy in #1456
- [MNG-6399] Lift JDK minimum to JDK 8 by @turbanoff in #1382
- Update GitHub actions to v4 by @slawekjaranowski in #1472
- [MNG-8101] Upgrade Parent to 42 by @slawekjaranowski in #1473
- [MNG-8100] Upgrade default plugin bindings by @slawekjaranowski in #1474
- [MNG-8031] Backport concurrent friendly transport listener by @cstamas in #1471
- [MNG-8030] Backport itr: ignore transitive repositories by @cstamas in #1469
- [MNG-8011] Neuter the README by @cstamas in #1470
- [MNG-8094] Resolver 1.9.19 by @cstamas in #1468
- [3.9.x][MNG-8106] Fix metadata merge by @cstamas in #1480
- [3.9.x][MNG-8109] Resolver 1.9.20 by @cstamas in #1490
- [MNG-8081] Interpolate available properties during default profile selection (Maven 3.9.x) by @mbenson in #1447
- [3.9.x][MNG-8117] Backport to Maven 3.9.x by @cstamas in #1505
- [MNG-8115] Upgrade dependencies by @slachiewicz in #1496
- [MNG-8121] Fix NPE in metadata merge by @cstamas in #1508
- [MNG-8126] Mild updates by @cstamas in #1533
New Contributors
- @turbanoff made their first contribution in #1382
Full Changelog: maven-3.9.6...maven-3.9.7
maven-4.0.0-beta-3
Release Notes - Maven - Version 4.0.0-beta-3
New Feature
-
[MNG-8084] - Make the v4 api usable outside the Maven runtime by @gnodet in #1441, #1457 and #1465, by @desruisseaux in #1527
Improvement
- [MNG-8015] - Adjustments in new API related to PathType by @desruisseaux in #1501
- [MNG-8038] - Model builder API
- [MNG-8050] - Same repositories IDs in settings.xml and POM are not detected by @kwin in #1412
- [MNG-8075] - Allow project.baseUri in repository.url by @slawekjaranowski in #1438
- [MNG-8081] - default profile activation should consider available system and user properties by @mbenson in #1446
- [MNG-8089] - Introduce "fat" type for JAR by @cstamas in #1459
- [MNG-8117] - Improve prerequisite evaluation and plugin version selection logging by @cstamas in #1502
- [MNG-8119] - Remove build section in consumer pom profiles by @gnodet in #1503
- [MNG-8128] - Custom packaging not found
Bug
- [MNG-8025] - API incompatibility with m-remote-resources-p by @gnodet in #1467
- [MNG-8079] - Maven Resolver breaks compatibility due Resolver breakage
- [MNG-8082] - Exceptions of proxied SessionScoped components are not working correctly by @jonasrutishauser in #1449
- [MNG-8106] - Maven Metadata corruption if repository directory role overlaps by @cstamas in #1481
- [MNG-8108] - Failure to create the consumer POM by @gnodet in #1506
- [MNG-8118] - Merge BOM exclusions instead of overwriting by @gnodet in #1504
- [MNG-8121] - NullPointerException at org.apache.maven.artifact.repository.metadata.Metadata.merge (Metadata.java:293) by @cstamas in #1509
- [MNG-8123] - Maven 4.0.0-beta-2 fails with maven-build-cache-extension 1.2.0 by @gnodet in #1524
- Fix nasty concurrency issue in AbstractSession by @gnodet in #1479
- Fix terminal usage in mvnd by @gnodet in #1486
- Fix consumer pom builder by @gnodet in #1491
- Reactor loading problems by @gnodet in #1497
- Fix packaging not found by @gnodet in #1507
Dependency upgrade
- [MNG-8091] - Update Resolver to 2.0.0-alpha-10 by @cstamas in #1460
- [MNG-8102] - Upgrade Parent to 42 by @slawekjaranowski in #1476
- [MNG-8103] - Upgrade default plugin bindings by @slawekjaranowski in #1475
- [MNG-8105] - Upgrade JLine to 3.26.1 by @gnodet in #1478 and #1485
- [MNG-8107] - Upgrade to Resolver 2.0.0-alpha-11 by @cstamas in #1488
- Bump ognl:ognl from 2.5.1 to 3.0.12 in /maven-compat/src/test/resources by @dependabot in #1439
- Bump mockitoVersion from 5.7.0 to 5.12.0 by @dependabot in #1521
- Bump com.fasterxml.woodstox:woodstox-core from 6.5.1 to 6.6.2 by @dependabot in #1518
- Bump net.bytebuddy:byte-buddy from 1.14.9 to 1.14.15 by @dependabot in #1514
- Bump com.github.siom79.japicmp:japicmp-maven-plugin from 0.17.2 to 0.21.2 by @dependabot in #1520
- Bump org.codehaus.plexus:plexus-classworlds from 2.6.0 to 2.8.0 by @dependabot in #1522
- Bump org.codehaus.plexus:plexus-interpolation from 1.26 to 1.27 by @dependabot in #1523
- Bump org.codehaus.mojo:build-helper-maven-plugin from 3.4.0 to 3.6.0 by @dependabot in #1526
- Bump ch.qos.logback:logback-classic from 1.2.13 to 1.5.6 by @dependabot in #1515
- Bump slf4jVersion from 2.0.11 to 2.0.13 by @dependabot in #1519
- Bump org.ow2.asm:asm from 9.6 to 9.7 by @dependabot in #1529
- Bump com.google.guava:guava from 32.1.3-jre to 33.2.0-jre by @dependabot in #1532
- Bump org.codehaus.plexus:plexus-xml from 4.0.1 to 4.0.4 by @dependabot in #1530
- Bump org.xmlunit:xmlunit-core from 2.9.1 to 2.10.0 by @dependabot in #1494
- Upgrade plexus-interactivity-api to 1.3 by @gnodet in #1498
Task
- [MNG-4840] fix requiredMavenVersion description #1445 by @hboutemy in #1458
- [MNG-8043] document new default types, replacing artifact handlers by @hboutemy in #1463
- [MNG-8070] - Document Maven Runtime Requirement for Java 17
- [MNG-8073] - Generated XSD files needs to have ASL2.0 license headers by @cstamas in #1499
- [MNG-8084] Fix maven code schema by @hboutemy in #1461 and #1492
- [MNG-8085] switch png+imagemap to svg by @hboutemy in #1453
- [MNG-8088] - Apply Resolver ScopeManager by @cstamas in #1442
- Typo fixes: remove repetitive words by @carrychair in #1436
- Remove unneeded dependencies in maven-di by @gnodet in #1440
- This is NOT a component by @cstamas in #1462
- Improve maven startup time by @gnodet in #1464
- Fix split package in org.apache.maven.api.di by @gnodet in #1455
- Clean warnings by @gnodet in #1482
- Make Maven 4.0.0 be beta-1 by @cstamas in #1484
- Enable dependabot by @gnodet in #1513
- Fix distribution licenses by @gnodet in #1525
- Simplified redundant judgment by @CrazyHZM in #1489
- Resolver updates by @gnodet in #1495
- Use the new resolver provider by @gnodet in #1483
- Add system properties to test by @hboutemy in #1500
New Contributors
- @carrychair made their first contribution in #1436
- @jonasrutishauser made their first contribution in #1449
- @desruisseaux made their first contribution in #1501
Full Changelog: maven-4.0.0-alpha-13...maven-4.0.0-beta-3
4.0.0-alpha-13
Release Notes - Maven - Version 4.0.0-alpha-13
Bug
- [MNG-8005] - IDE WorkspaceReader is ignored in Maven 4
- [MNG-8014] - Maven concurrent model builder deadlocks
- [MNG-8017] - Maven fails at start with "Cannot run program "infocmp": error=2, No such file or directory"
- [MNG-8021] - The user properties and system properties on session should be immutable
- [MNG-8022] - 'mvn -version' results in NullPointerException
- [MNG-8024] - Maven 3 models are not serializable, despite marked as such
- [MNG-8039] - DefaultProjectBuilder should not change given artifact
New Feature
- [MNG-5726] - Update OS Activation To Allow Wildcards In OS Version
- [MNG-7954] - Provide a cleaner DI api
- [MNG-8006] - Provide a SPI so that extension can interact with user properties at session creation time
Improvement
- [MNG-7854] - Non directly managed imported and conflicting depMgt entries should warn
- [MNG-8012] - Warn on BOM import within same reactor
- [MNG-8015] - Control the type of path where each dependency can be placed
- [MNG-8029] - improve documentation of mirror in settings
- [MNG-8037] - Restrict project to the entity being built and make it immutable
- [MNG-8045] - Use DependencyGraphDumper instead of own implementation
- [MNG-8053] - Profile activation by packaging in the POM
Task
- [MNG-7976] - Investigate MNG-6127 IT instability
- [MNG-8013] - Integration testing process logs can be output github artifact
- [MNG-8016] - Simplify ModelCache
- [MNG-8023] - New method for project artifacts
- [MNG-8026] - Maven should define from ground up scopes used with Resolver
- [MNG-8043] - Dependency properties should be provided by Resolver consumer
- [MNG-8046] - Upgrade github action version from v3 to v4
- [MNG-8054] - Investigate possible solutions for build number diffs on deploy
- [MNG-8059] - Move Resolver off java.io.File to NIO2 Paths
- [MNG-8060] - Use String#isEmpty instead of length
- [MNG-8061] - Upgrade Maven runtime requirement to Java 17
- [MNG-8067] - Refer to latest schema for extensions.xml
Dependency upgrade
- [MNG-8035] - Upgrade Resolver version to 2.0.0-alpha-7
- [MNG-8036] - Upgrade to JLine 3.25.1
- [MNG-8057] - Upgrade Modello to 2.3.0
What's Changed
- [MNG-8016] Simplify ModelCache by @gnodet in #1377
- [MNG-8014] Workaround for deadlocks in model building by @gnodet in #1376
- Simplify graph by @gnodet in #1380
- [MNG-8005] Fix workspace reader drop bug by @cstamas in #1385
- [MNG-8006] SPI to contribute to effective properties and more by @cstamas in #1384
- [MNG-8014] Fix multithreaded builder by @gnodet in #1386
- [MNG-8023] New method + javadoc on Project by @cstamas in #1387
- [MNG-8026] Maven drives regarding scopes by @cstamas in #1392
- [MNG-8035] Update to Resolver 2.0.0-alpha-7 by @cstamas in #1394
- [MNG-8036] [MNG-8017] [MNG-8022] Upgrade JLine to 3.25.1 by @gnodet in #1390
- [MNG-8037] Restrict project to the entity being built and make it immutable by @gnodet in #1389
- [MNG-7854] Warn if imported dep is ignored by @cstamas in #1370
- [MNG-8013] Integration testing process logs can be output github artifact by @CrazyHZM in #1375
- [MNG-8026] Maven drives regarding scopes by @cstamas in #1391
- [MNG-7954] New dependency injection mechanism by @gnodet in #1393
- [MNG-8043] Dependency properties should be provided by Maven by @cstamas in #1399
- Remove empty dependency scope from the api by @gnodet in #1402
- Clean mdo schemas by @gnodet in #1365
- [MNG-8045] Use DependencyGraphDumper instead of own implementation by @slawekjaranowski in #1404
- DI and API fixes by @gnodet in #1407
- [MNG-8046] Upgrade github action version from v3 to v4 by @CrazyHZM in #1405
- [MNG-8053] Profile activation by packaging in the POM by @gnodet in #1410
- [MNG-8039] Don't change resolved artifact by DefaultProjectBuilder by @slawekjaranowski in #1408
- [MNG-8054] Ability to force build number by @cstamas in #1414
- [MNG-8029] improve documentation about mirror settings by @hboutemy in #1417
- [MNG-8057] Upgrade Modello to 2.3.0 by @gnodet in #1418
- [MNG-8006] Switch property contributors to use a lazy lookup by @gnodet in #1419
- [MNG-8059] Paths everywhere by @cstamas in #1413
- [MNG-8060] Use String#isEmpty instead of length by @CrazyHZM in #1420
- [MNG-7976] Investigate MNG-6127 IT instability by @CrazyHZM in #1422
- [MNG-5726] Support regular expression matching in profile activation for by @kwin in #1421
- Use v4 api to resolve project dependencies by @gnodet in #1409
- Use SessionData to store ProjectIndex by @gnodet in #1423
- Fix concurrent cache access by @gnodet in #1425
- Extract JLine support into its own module by @gnodet in #1426
- Add a SpiService marker interface by @gnodet in #1427
- Missing annotations on api by @gnodet in #1428
- Make LifecycleStarter pluggable by @gnodet in #1424
- [MNG-8024] Make WrapperProperties and WrapperList serializable by @gnodet in #1433
- [MNG-8015] Control the type of path where each dependency can be placed by @gnodet in #1401
- [MNG-8012] Warn if in-reactor BOM import happens by @cstamas in #1434
- [MNG-8061] Maven: Require Java 17 by @bmarwell in #1430
New Contributors
Full Changelog: maven-4.0.0-alpha-12...maven-4.0.0-alpha-13
3.9.6
3.9.5
Release Notes - Maven - Version 3.9.5
Bug
- [MNG-7851] - Error message when modelVersion is 4.0 is confusing
Improvement
- [MNG-7875] - colorize transfer messages
- [MNG-7895] - Support ${project.basedir} in file profile activation
Task
- [MNG-7856] - Maven Resolver Provider classes ctor change
- [MNG-7870] - Undeprecate wrongly deprecated repository metadata
- [MNG-7872] - Deprecate org.apache.maven.repository.internal.MavenResolverModule
- [MNG-7874] - maven-resolver-provider: introduce NAME constants.
Dependency upgrade
- [MNG-7859] - Update to Resolver 1.9.16
3.9.4
Release Notes - Maven - Version 3.9.4
Bug
- [MNG-7846] - endless loop in DefaultExceptionHandler.getMessage()
Dependency upgrade
Full Changelog: maven-3.9.3...maven-3.9.4
4.0.0-alpha-7
What's Changed
- [MNG-6825] Replace FileUtils with Commons IO by @timtebeek in #1067
- [MNG-7738] don't dump raw stack traces to System.err by @elharo in #1064
- Switch version to 4.0.0 for @SInCE tags by @gnodet in #1068
- [MNG-7720] Simplify code by @gnodet in #1063
- remove unused branches in fake by @elharo in #1069
- [MNG-7714] correct comment by @elharo in #1074
- [MNG-7749] Upgrade animal-sniffer from 1.21 to 1.23 by @slawekjaranowski in #1072
- [MNG-6825] Replace StringUtils by @timtebeek in #1078
- [MNG-6825] Get rid of commons-lang by @gnodet in #1080
- [MNG-7750] Ensure no unwanted interpolation in plugins from profiles. by @nielsbasjes in #1076
- Simplify logger creation leveraging Map.computeIfAbsent by @gnodet in #1081
- [MNG-7766] - Migrate to use mockito-bom 4.11.0 by @khmarbaise in #1090
- [MNG-7763] Provide UTF-8 as a default value for project.build.sourceEncoding and project.reporting.outputEncoding by @gnodet in #1085
- [MNG-7038] Introduce public properties to point to to the root and top directory of (multi-module) project by @gnodet in #1061
- [MNG-7038] Fixes for topDirectory by @cstamas in #1100
- [MNG-7769] Update Resolver to 1.9.10 by @cstamas in #1102
- [MNG-6303] Interpolate user supplied properties and command line arguments by @gnodet in #1062
- [MNG-7778] - Include suppressed exceptions when logging failures by @marcphilipp in #1103
- [MNG-6829] Replace any StringUtils#isEmpty(String) and #isNotEmpty(String) by @timtebeek in #1104
- [MNG-7785] Clean usage of SessionData by @gnodet in #1094
- [MNG-7743] Make the build work on JDK 20 by @psiroky in #1065
- Prefer Java standard library to Plexus util by @elharo in #1015
- [MNG-7783] Profile source point to file instead of to module by @gnodet in #1110
- [MNG-7784] Fix compatibility for SuperPomProvider by @gnodet in #1109
- [MNG-7780] DefaultArtifact.equals throws NullPointerException if o.version is null by @CrazyHZM in #1108
- [MNG-7639] Add unit test for DefaultRepositorySystemSessionFactory#newRepositorySession by @CrazyHZM in #1096
- [MNG-7587] Upgrade to sisu 0.9.0.M2 by @gnodet in #1119
- [MNG-7796] Be lenient when using toRealPath by @gnodet in #1130
- [MNG-7797] Return BRIEF mode by @hgschmie in #1132
- [MNG-7795] IllegalArgumentException: 'other' has different root during plugin validation by @gnodet in #1133
- [MNG-7585] Remove duplicate classes by @gnodet in #1135
- [MNG-7698] Support comments in maven.config by @gnodet in #1134
- [MNG-7655] Switch to plexus-utils / plexus-xml 4 by @gnodet in #1093
- [MNG-7604] Removal of pom.* interpolation makes some older plugins defunct by @gnodet in #1137
- [MNG-7548] Kill off "legacy" repository metadata support by @gnodet in #1138
- [MNG-7740] Remove old temporary consumer*pom files from buildDir by @gnodet in #1117
- Fix code style for code generated by velocity templates by @gnodet in #1146
- [MNG-7338] Automatically activate batch-mode and make output quiet when running in CI. by @MartinKanters in #869
- [MNG-7790] Update lifecycle plugins by @cstamas in #1154
- [MNG-7751] Provide a way to inject XmlNode into plugins by @gnodet in #1071
- [MNG-7806] Plugins verification - remove used in module(s) report by @slawekjaranowski in #1157
- Simplify code by @gnodet in #1156
- [MNG-7790] Update lifecycle plugins, take 2 by @cstamas in #1163
- Update some build plugins by @cstamas in #1166
- [MNG-7794][MNG-7809] Deprecate RepositorySystem and make maven-compat optional by @gnodet in #1150
- [MNG-7812] Get rid of maven-shared-utils by @gnodet in #1158
- [MNG-5600] Dependency management import should support exclusions by @gnodet in #1155
- [MNG-7811] Plugins verification - reporting improvements by @slawekjaranowski in #1169
- [MNG-7816] Bump parent pom from 39 to 40 by @gnodet in #1170
- [MNG-7764] Small code improvements by @khmarbaise in #1088
- [MNG-7800] Bump maven-resolver from 1.9.10 to 1.9.11 by @gnodet in #1171
- [MNG-7800] Update resolver to 1.9.12 by @cstamas in #1177
- [MNG-5659] Provide project-specific settings located in ${session.rootdir}/.mvn/settings.xml by default by @gnodet in #1059
- [MNG-7814] Use location tracking for settings by @gnodet in #1164
- [MNG-7059][MNG-4645] Move Central repo definition out of Maven's core so it can be more easily changed by @gnodet in #1139
- [MNG-6112] Make central update policy coherent by @gnodet in #1142
- [MNG-7805] Make the modelVersion optional when using build pom by @gnodet in #1148
- [MNG-7632] Regression: combine.children breaks when combining executions by @gnodet in #1168
- [MNG-7714] Fixed a scenario in version sorting where sp1 is less than final by @CrazyHZM in #1099
- [MNG-7800] Update resolver to 1.9.13 by @cstamas in #1181
- [MNG-7824] Bump plexus-xml from 4.0.0 to 4.0.1 by @gnodet in #1184
- [MNG-7228] MavenProject.getOriginalModel returns interpolated parts by @gnodet in #1183
New Contributors
- @timtebeek made their first contribution in #1067
- @marcphilipp made their first contribution in #1103
- @psiroky made their first contribution in #1065
- @CrazyHZM made their first contribution in #1108
Full Changelog: maven-4.0.0-alpha-5...maven-4.0.0-alpha-7