This is an automated email from the ASF dual-hosted git repository.
desruisseaux pushed a change to branch maven-4.0.x
in repository https://gitbox.apache.org/repos/asf/maven.git
from b7d21263fe Missed parts for Mimir update (#11312) (#11313)
new a8ef06417b Remove some trailing dot after `{@return}` Javadoc tag. A
dot is already automatically added by Javadoc, so these trailing dots were
causing dots to appear twice in the generated Javadoc.
new 33a4ba9d00 Refactor `DefaultSourceRoot` as a record. It removes about
a third of the code and forces us to be more consistent since all constructions
must pass by the canonical constructor. This refactored class should have the
same behavior as the previous class (no new feature).
new 00a83b6a94 When the value of `<targetPath>` is a relative directory,
the specification in `maven.mdo` requires that we resolve against
`${project.build.outputDirectory}`, which is not `baseDir`.
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../main/java/org/apache/maven/api/Project.java | 30 ++
.../main/java/org/apache/maven/api/SourceRoot.java | 45 ++-
.../java/org/apache/maven/api/SourceRootTest.java | 89 ++++++
api/maven-api-model/src/main/mdo/maven.mdo | 12 +-
.../maven/project/DefaultProjectBuilder.java | 12 +-
.../org/apache/maven/impl/DefaultSourceRoot.java | 355 ++++++++-------------
.../apache/maven/impl/DefaultSourceRootTest.java | 75 ++++-
7 files changed, 372 insertions(+), 246 deletions(-)
create mode 100644
api/maven-api-core/src/test/java/org/apache/maven/api/SourceRootTest.java