File tree 8 files changed +15
-47
lines changed
MJAVADOC-498_aggr_modulepath
MJAVADOC-498_mm_modulepath
8 files changed +15
-47
lines changed Original file line number Diff line number Diff line change 33
33
<plugin >
34
34
<groupId >org.apache.maven.plugins</groupId >
35
35
<artifactId >maven-javadoc-plugin</artifactId >
36
- <executions >
37
- <execution >
38
- <id >javadoc-aggregate</id >
39
- <phase >package</phase >
40
- <goals >
41
- <goal >javadoc-no-fork</goal >
42
- </goals >
43
- <configuration >
44
- <includeDependencySources >true</includeDependencySources >
45
- <includeTransitiveDependencySources >true</includeTransitiveDependencySources >
46
- </configuration >
47
- </execution >
48
- </executions >
36
+ <configuration >
37
+ <includeDependencySources >true</includeDependencySources >
38
+ <includeTransitiveDependencySources >true</includeTransitiveDependencySources >
39
+ </configuration >
49
40
</plugin >
50
41
</plugins >
51
42
</build >
58
49
</dependency >
59
50
</dependencies >
60
51
61
- </project >
52
+ </project >
Original file line number Diff line number Diff line change 5
5
# to you under the Apache License, Version 2.0 (the
6
6
# "License"); you may not use this file except in compliance
7
7
# with the License. You may obtain a copy of the License at
8
- #
8
+ #
9
9
# http://www.apache.org/licenses/LICENSE-2.0
10
- #
10
+ #
11
11
# Unless required by applicable law or agreed to in writing,
12
12
# software distributed under the License is distributed on an
13
13
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
16
# under the License.
17
17
18
18
invoker.java.version = 9+
19
+ invoker.goals = compile javadoc:javadoc
Original file line number Diff line number Diff line change 53
53
<groupId >org.apache.maven.plugins</groupId >
54
54
<artifactId >maven-javadoc-plugin</artifactId >
55
55
<version >@project.version@</version >
56
- <executions >
57
- <execution >
58
- <id >attach-javadocs</id >
59
- <phase >package</phase >
60
- <goals >
61
- <goal >jar</goal >
62
- </goals >
63
- </execution >
64
- </executions >
65
56
</plugin >
66
57
</plugins >
67
58
</build >
Original file line number Diff line number Diff line change 5
5
# to you under the Apache License, Version 2.0 (the
6
6
# "License"); you may not use this file except in compliance
7
7
# with the License. You may obtain a copy of the License at
8
- #
8
+ #
9
9
# http://www.apache.org/licenses/LICENSE-2.0
10
- #
10
+ #
11
11
# Unless required by applicable law or agreed to in writing,
12
12
# software distributed under the License is distributed on an
13
13
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
16
# under the License.
17
17
18
18
invoker.java.version = 9+
19
+ invoker.goals = compile javadoc:javadoc
Original file line number Diff line number Diff line change 52
52
<groupId >org.apache.maven.plugins</groupId >
53
53
<artifactId >maven-javadoc-plugin</artifactId >
54
54
<version >@project.version@</version >
55
- <executions >
56
- <execution >
57
- <id >attach-javadocs</id >
58
- <phase >package</phase >
59
- <goals >
60
- <goal >jar</goal >
61
- </goals >
62
- </execution >
63
- </executions >
64
55
</plugin >
65
56
</plugins >
66
57
</build >
Original file line number Diff line number Diff line change 16
16
# under the License.
17
17
18
18
invoker.java.version = 9+
19
+ invoker.goals = compile javadoc:javadoc javadoc:test-javadoc
Original file line number Diff line number Diff line change 61
61
<groupId >org.apache.maven.plugins</groupId >
62
62
<artifactId >maven-javadoc-plugin</artifactId >
63
63
<version >@project.version@</version >
64
- <executions >
65
- <execution >
66
- <id ></id >
67
- <goals >
68
- <goal >jar</goal >
69
- <goal >test-jar</goal >
70
- </goals >
71
- </execution >
72
- </executions >
73
64
</plugin >
74
65
</plugins >
75
66
</build >
Original file line number Diff line number Diff line change 17
17
* under the License.
18
18
*/
19
19
def log = new File ( basedir, ' build.log' ). text
20
-
21
- assert log. count( " --module-path" ) == 3
20
+ def count = log. count( " --module-path" )
21
+ // depends on Maven version (<= 3.8.x, then 2; otherwise 3)
22
+ assert count == 2 || count == 3
You can’t perform that action at this time.
0 commit comments