Visitar URL original
Documentation fixes: "module" (in Maven sense) should be "subproject"… · apache/maven@d8777fd · GitHub
Skip to content

Commit d8777fd

Browse files
committed
Documentation fixes: "module" (in Maven sense) should be "subproject" (#11548)
Opportunistically tune the formatting of `JavaPathType`.
1 parent 4c8ff88 commit d8777fd

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ final String[] format(String moduleName, Iterable<? extends Path> paths) {
281281
*/
282282
@Override
283283
public String toString() {
284-
return "PathType[" + id() + "]";
284+
return "PathType[" + id() + ']';
285285
}
286286

287287
/**
@@ -325,7 +325,7 @@ public JavaPathType rawType() {
325325
*/
326326
@Override
327327
public String id() {
328-
return JavaPathType.this.name() + ":" + moduleName;
328+
return JavaPathType.this.name() + ':' + moduleName;
329329
}
330330

331331
/**
@@ -405,7 +405,7 @@ public boolean equals(Object obj) {
405405
@Nonnull
406406
@Override
407407
public String toString() {
408-
return "PathType[" + id() + "]";
408+
return "PathType[" + id() + ']';
409409
}
410410
}
411411
}

‎api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@
119119
*
120120
* <p><dfn>Project aggregation</dfn> allows building several projects together. This is only
121121
* for projects that are built, hence available on the file system. One project,
122-
* called the <dfn>aggregator project</dfn> lists one or more <dfn>modules</dfn>
122+
* called the <dfn>aggregator project</dfn> lists one or more <dfn>sub-projects</dfn>
123123
* which are relative pointers on the file system to other projects. This is done using
124-
* the {@code /project/modules/module} elements of the POM in the aggregator project.
124+
* the {@code /project/subprojects/subproject} elements of the POM in the aggregator project.
125125
* Note that the aggregator project is required to have a {@code pom} packaging.</p>
126126
*
127127
* <p><dfn>Project inheritance</dfn> defines a parent-child relationship between projects.

0 commit comments

Comments
 (0)