Skip to content

Commit

Permalink
Replace Maven "module" term by "subproject" for avoiding confusion wi…
Browse files Browse the repository at this point in the history
…rh JPMS modules.
  • Loading branch information
desruisseaux committed Aug 5, 2024
1 parent c0012c0 commit 4bc46b4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@
boolean projectRequired() default true;

/**
* if the Mojo uses the Maven project and its child modules.
* @return uses the Maven project and its child modules
* if the Mojo uses the Maven project and its subprojects.
* @return uses the Maven project and its subprojectss
*/
boolean aggregator() default false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

/**
* A Source specific to load POMs. The {@link #resolve(ModelLocator, String)} method
* will be used to find POMs for children modules.
* will be used to find POMs for subprojects.
*
* @since 4.0.0
*/
Expand Down
12 changes: 6 additions & 6 deletions api/maven-api-model/src/main/mdo/maven.mdo
Original file line number Diff line number Diff line change
Expand Up @@ -528,10 +528,10 @@
<field xdoc.separator="blank">
<name>modules</name>
<version>4.0.0+</version>
<description>The modules (sometimes called subprojects) to build as a part of this
project. Each module listed is a relative path to the directory containing the module.
To be consistent with the way default urls are calculated from parent, it is recommended
to have module names match artifact ids.</description>
<description>The subprojects (formerly called modules) to build as a part of this
project. Each subproject listed is a relative path to the directory containing the subproject.
To be consistent with the way default URLs are calculated from parent, it is recommended
to have subproject names match artifact ids.</description>
<association>
<type>String</type>
<multiplicity>*</multiplicity>
Expand Down Expand Up @@ -755,8 +755,8 @@
<name>defaultGoal</name>
<version>3.0.0+</version>
<description>The default goal (or phase in Maven 2) to execute when none is specified for
the project. Note that in case of a multi-module build, only the default goal of the top-level
project is relevant, i.e. the default goals of child modules are ignored. Since Maven 3,
the project. Note that in case of a build with subprojects, only the default goal of the top-level
project is relevant, i.e. the default goals of subprojects are ignored. Since Maven 3,
multiple goals/phases can be separated by whitespace.</description>
<type>String</type>
</field>
Expand Down

0 comments on commit 4bc46b4

Please sign in to comment.