You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2021/04/24 15:16:21 UTC
[maven-javadoc-plugin] 03/03: Do not test for versions not included
in the input source.
This is an automated email from the ASF dual-hosted git repository.
rfscholte pushed a commit to branch MJAVADOC-661
in repository https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git
commit b0f6510b92f4749f37a66ff0a85635e43175c87f
Author: Allen D. Ball <ba...@hcf.dev>
AuthorDate: Tue Mar 9 11:36:03 2021 -0800
Do not test for versions not included in the input source.
---
src/it/projects/MJAVADOC-661_mrjar/verify.groovy | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/it/projects/MJAVADOC-661_mrjar/verify.groovy b/src/it/projects/MJAVADOC-661_mrjar/verify.groovy
index d0367ab..817ea3d 100644
--- a/src/it/projects/MJAVADOC-661_mrjar/verify.groovy
+++ b/src/it/projects/MJAVADOC-661_mrjar/verify.groovy
@@ -18,12 +18,12 @@
*/
int javaVersion = System.getProperty( "java.specification.version" ) as Integer
-def versions = 9..javaVersion
+def versions = 9..Math.min( 13, javaVersion )
def required = []
versions.each { required << "'com.foo.Taglet" + it + "'" }
-def options = new File( basedir, 'target/site/apidocs/options');
+def options = new File( basedir, 'target/site/apidocs/options' );
assert options.exists() : options + " not found"