Skip to content

Commit ccfe843

Browse files
committed
Merge pull request #199 from chiastic-security/master
Issue 198: make mvn package work on Java 8+
2 parents 5d7bdb9 + bb3ef61 commit ccfe843

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@
187187
<executions>
188188
<execution>
189189
<id>attach-javadocs</id>
190+
<configuration>
191+
<additionalparam>${javadoc.opts}</additionalparam>
192+
</configuration>
190193
<goals>
191194
<goal>jar</goal>
192195
</goals>
@@ -323,6 +326,15 @@
323326
</plugins>
324327
</build>
325328
</profile>
329+
<profile>
330+
<id>doclint-java8-disable</id>
331+
<activation>
332+
<jdk>[1.8,)</jdk>
333+
</activation>
334+
<properties>
335+
<javadoc.opts>-Xdoclint:none</javadoc.opts>
336+
</properties>
337+
</profile>
326338
</profiles>
327339

328340
<properties>

0 commit comments

Comments
 (0)