restore profile disable-java8-doclint
This commit is contained in:
parent
aab964c1a8
commit
ae1f5edd64
22
pom.xml
22
pom.xml
|
@ -77,7 +77,20 @@
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
</pluginRepositories>
|
</pluginRepositories>
|
||||||
|
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
|
<!-- This profile sets an additional parameter for javadoc generation to disables the doclint.
|
||||||
|
It avoids the build fails if formal/syntax errors are found in javadoc comments.
|
||||||
|
The parameter is only understood by jdk 1.8, so we set it only when jdk 1.8 is used -->
|
||||||
|
<profile>
|
||||||
|
<id>disable-java8-doclint</id>
|
||||||
|
<activation>
|
||||||
|
<jdk>[1.8,)</jdk>
|
||||||
|
</activation>
|
||||||
|
<properties>
|
||||||
|
<javadoc.opts>-Xdoclint:none</javadoc.opts>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
<profile>
|
<profile>
|
||||||
<id>generate-distribution-packages</id>
|
<id>generate-distribution-packages</id>
|
||||||
<activation>
|
<activation>
|
||||||
|
@ -111,10 +124,6 @@
|
||||||
<activeByDefault>true</activeByDefault>
|
<activeByDefault>true</activeByDefault>
|
||||||
</activation>
|
</activation>
|
||||||
<properties>
|
<properties>
|
||||||
<!-- This profile sets an additional parameter for javadoc generation to disables the doclint.
|
|
||||||
It avoids the build fails if formal/syntax errors are found in javadoc comments.
|
|
||||||
The parameter is only understood by jdk 1.8, so we set it only when jdk 1.8 is used -->
|
|
||||||
<javadoc.opts>-Xdoclint:none</javadoc.opts>
|
|
||||||
<java_version>1.8</java_version>
|
<java_version>1.8</java_version>
|
||||||
<maven.compiler.source>${java_version}</maven.compiler.source>
|
<maven.compiler.source>${java_version}</maven.compiler.source>
|
||||||
<maven.compiler.target>${java_version}</maven.compiler.target>
|
<maven.compiler.target>${java_version}</maven.compiler.target>
|
||||||
|
@ -237,10 +246,6 @@
|
||||||
</property>
|
</property>
|
||||||
</activation>
|
</activation>
|
||||||
<properties>
|
<properties>
|
||||||
<!-- This profile sets an additional parameter for javadoc generation to disables the doclint.
|
|
||||||
It avoids the build fails if formal/syntax errors are found in javadoc comments.
|
|
||||||
The parameter is only understood by jdk 1.8, so we set it only when jdk 1.8 is used -->
|
|
||||||
<javadoc.opts>-Xdoclint:none</javadoc.opts>
|
|
||||||
<java_version>1.8</java_version>
|
<java_version>1.8</java_version>
|
||||||
<maven.compiler.source>${java_version}</maven.compiler.source>
|
<maven.compiler.source>${java_version}</maven.compiler.source>
|
||||||
<maven.compiler.target>${java_version}</maven.compiler.target>
|
<maven.compiler.target>${java_version}</maven.compiler.target>
|
||||||
|
@ -364,7 +369,6 @@
|
||||||
</property>
|
</property>
|
||||||
</activation>
|
</activation>
|
||||||
<properties>
|
<properties>
|
||||||
<javadoc.opts>-Xdoclint:none</javadoc.opts>
|
|
||||||
<java_version>11</java_version>
|
<java_version>11</java_version>
|
||||||
<maven.compiler.source>${java_version}</maven.compiler.source>
|
<maven.compiler.source>${java_version}</maven.compiler.source>
|
||||||
<maven.compiler.target>${java_version}</maven.compiler.target>
|
<maven.compiler.target>${java_version}</maven.compiler.target>
|
||||||
|
|
Loading…
Reference in New Issue