This is an automated email from the ASF dual-hosted git repository.
cziegeler pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-slingfeature-maven-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new 4982eff SLING-9553 : Invalid options for notree and noindex
4982eff is described below
commit 4982eff2f272abee1402c80fb9e06e6c799fad13
Author: Carsten Ziegeler <[email protected]>
AuthorDate: Fri Jun 26 09:19:22 2020 +0200
SLING-9553 : Invalid options for notree and noindex
---
src/main/java/org/apache/sling/feature/maven/mojos/ApisJarMojo.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/src/main/java/org/apache/sling/feature/maven/mojos/ApisJarMojo.java
b/src/main/java/org/apache/sling/feature/maven/mojos/ApisJarMojo.java
index fbb91e5..8455d75 100644
--- a/src/main/java/org/apache/sling/feature/maven/mojos/ApisJarMojo.java
+++ b/src/main/java/org/apache/sling/feature/maven/mojos/ApisJarMojo.java
@@ -1827,10 +1827,10 @@ public class ApisJarMojo extends
AbstractIncludingFeatureMojo {
javadocExecutor.addArgument("--allow-script-in-comments");
if ( !this.javadocIndex ) {
- javadocExecutor.addArgument("--noindex");
+ javadocExecutor.addArgument("-noindex");
}
if ( !this.javadocTree ) {
- javadocExecutor.addArgument("--notree");
+ javadocExecutor.addArgument("-notree");
}
// list packages