@@ -68,7 +68,7 @@ See the example in next sub-section.
6868## Declaration of many source directories
6969
7070External plugins such as ` build-helper-maven-plugin ` are no longer needed
71- and should be replaced by the build -in ` <sources> ` elements as shown below.
71+ and should be replaced by the built -in ` <sources> ` elements as shown below.
7272Note that the directories of the first and last ` <source> ` elements are omitted
7373as their default values are ` src/main/java ` and ` src/test/java ` respectively.
7474
@@ -94,10 +94,10 @@ as their default values are `src/main/java` and `src/test/java` respectively.
9494```
9595
9696
97- ## Multi-releases project
97+ ## Multi-release project
9898
99- The new compiler plugin handles automatically multiple executions of ` javac ` with different ` --release ` option values
100- together with automatic adjustments of class-path, module-path and output directories for producing a multi-releases project.
99+ The compiler plugin automatically handles multiple executions of ` javac ` with different ` --release ` option values
100+ together with automatic adjustments of class-path, module-path and output directories for producing a multi-release project.
101101Example:
102102
103103``` xml
@@ -125,8 +125,8 @@ Example:
125125## Multi-module project
126126
127127Maven 4 supports the Java [ module source hierarchy] ( https://docs.oracle.com/en/java/javase/17/docs/specs/man/javac.html#directory-hierarchies )
128- with the canvas that as of October 2025 , not all plugins have been updated yet.
129- Compared to multi Maven sub-project , using multi Java module in a single Maven sub-project has advantages such as
128+ with the caveat that as of February 2026 , not all plugins have been updated yet.
129+ Compared to multiple Maven sub-projects , using multiple Java modules in a single Maven sub-project has advantages such as
130130resolving compiler warnings in references to dependent modules (the converse of references to dependencies),
131131easier sharing of test code between modules in the Maven sub-project (no need for ` test-jar ` ),
132132and easier aggregated Javadoc for modules in the Maven sub-project.
@@ -197,7 +197,7 @@ but should be replaced by the `<sources>` element when applicable.
197197Those two ways are not strictly equivalent:
198198
199199* The Maven 4 way specifies filters independently for each source directory.
200- These filters will be applied by all plugins that migrated to the Maven 4 API, not only the compiler plugin.
200+ These filters will be applied by all plugins that have migrated to the Maven 4 API, not only the compiler plugin.
201201* Conversely, the Maven 3 way specifies filters which will be applied only by the compiler plugin.
202202 However, these filters apply to all source directories.
203203
0 commit comments