diff --git a/src/it/projects/MJAVADOC-498_aggr_modulepath/baz/pom.xml b/src/it/projects/MJAVADOC-498_aggr_modulepath/baz/pom.xml index 0a63d7cf8..3ae2e95b5 100644 --- a/src/it/projects/MJAVADOC-498_aggr_modulepath/baz/pom.xml +++ b/src/it/projects/MJAVADOC-498_aggr_modulepath/baz/pom.xml @@ -33,19 +33,10 @@ org.apache.maven.plugins maven-javadoc-plugin - - - javadoc-aggregate - package - - javadoc-no-fork - - - true - true - - - + + true + true + @@ -58,4 +49,4 @@ - \ No newline at end of file + diff --git a/src/it/projects/MJAVADOC-498_aggr_modulepath/invoker.properties b/src/it/projects/MJAVADOC-498_aggr_modulepath/invoker.properties index 951171850..bc21f474a 100644 --- a/src/it/projects/MJAVADOC-498_aggr_modulepath/invoker.properties +++ b/src/it/projects/MJAVADOC-498_aggr_modulepath/invoker.properties @@ -5,9 +5,9 @@ # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at -# +# # http://www.apache.org/licenses/LICENSE-2.0 -# +# # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @@ -16,3 +16,4 @@ # under the License. invoker.java.version = 9+ +invoker.goals = compile javadoc:javadoc diff --git a/src/it/projects/MJAVADOC-498_aggr_modulepath/pom.xml b/src/it/projects/MJAVADOC-498_aggr_modulepath/pom.xml index f7176e66e..3d3818ad1 100644 --- a/src/it/projects/MJAVADOC-498_aggr_modulepath/pom.xml +++ b/src/it/projects/MJAVADOC-498_aggr_modulepath/pom.xml @@ -53,15 +53,6 @@ org.apache.maven.plugins maven-javadoc-plugin @project.version@ - - - attach-javadocs - package - - jar - - - diff --git a/src/it/projects/MJAVADOC-498_mm_modulepath/invoker.properties b/src/it/projects/MJAVADOC-498_mm_modulepath/invoker.properties index 951171850..bc21f474a 100644 --- a/src/it/projects/MJAVADOC-498_mm_modulepath/invoker.properties +++ b/src/it/projects/MJAVADOC-498_mm_modulepath/invoker.properties @@ -5,9 +5,9 @@ # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at -# +# # http://www.apache.org/licenses/LICENSE-2.0 -# +# # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @@ -16,3 +16,4 @@ # under the License. invoker.java.version = 9+ +invoker.goals = compile javadoc:javadoc diff --git a/src/it/projects/MJAVADOC-498_mm_modulepath/pom.xml b/src/it/projects/MJAVADOC-498_mm_modulepath/pom.xml index 94ab33201..a512b3c4a 100644 --- a/src/it/projects/MJAVADOC-498_mm_modulepath/pom.xml +++ b/src/it/projects/MJAVADOC-498_mm_modulepath/pom.xml @@ -52,15 +52,6 @@ org.apache.maven.plugins maven-javadoc-plugin @project.version@ - - - attach-javadocs - package - - jar - - - diff --git a/src/it/projects/MJAVADOC-498_modulepath/invoker.properties b/src/it/projects/MJAVADOC-498_modulepath/invoker.properties index 10a36d0ad..a800680c9 100644 --- a/src/it/projects/MJAVADOC-498_modulepath/invoker.properties +++ b/src/it/projects/MJAVADOC-498_modulepath/invoker.properties @@ -16,3 +16,4 @@ # under the License. invoker.java.version = 9+ +invoker.goals = compile javadoc:javadoc javadoc:test-javadoc diff --git a/src/it/projects/MJAVADOC-498_modulepath/pom.xml b/src/it/projects/MJAVADOC-498_modulepath/pom.xml index c90dd04f8..d8e8d27be 100644 --- a/src/it/projects/MJAVADOC-498_modulepath/pom.xml +++ b/src/it/projects/MJAVADOC-498_modulepath/pom.xml @@ -61,15 +61,6 @@ org.apache.maven.plugins maven-javadoc-plugin @project.version@ - - - - - jar - test-jar - - - diff --git a/src/it/projects/MJAVADOC-498_modulepath/verify.groovy b/src/it/projects/MJAVADOC-498_modulepath/verify.groovy index f3c827412..f91aff5c4 100644 --- a/src/it/projects/MJAVADOC-498_modulepath/verify.groovy +++ b/src/it/projects/MJAVADOC-498_modulepath/verify.groovy @@ -17,5 +17,6 @@ * under the License. */ def log = new File( basedir, 'build.log').text - -assert log.count( " --module-path" ) == 3 +def count = log.count( " --module-path" ) +// depends on Maven version (<= 3.8.x, then 2; otherwise 3) +assert count == 2 || count == 3