Skip to content

Commit b05daf9

Browse files
committed
Enable Javadoc compilation
Resolves Issue #78, however, the -Xdoclint:none should be removed and documentation should be fixed. Javadoc Opts change in 1.8 Undoing javadoc generation Build throws tycho error when using the maven-javadoc-plugin, disabling until I can re-create locally and resolve the bug. Removing dodgy comment Signed-off-by: James Sutton <james.sutton@uk.ibm.com>
1 parent f37be34 commit b05daf9

1 file changed

Lines changed: 19 additions & 4 deletions

File tree

  • org.eclipse.paho.client.mqttv3

org.eclipse.paho.client.mqttv3/pom.xml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@
99

1010
<artifactId>org.eclipse.paho.client.mqttv3</artifactId>
1111
<packaging>eclipse-plugin</packaging>
12+
13+
<profiles>
14+
<profile>
15+
<id>doclint-java8-disable</id>
16+
<activation>
17+
<jdk>[1.8,)</jdk>
18+
</activation>
19+
<properties>
20+
<javadoc.opts>-Xdoclint:none</javadoc.opts>
21+
</properties>
22+
</profile>
23+
</profiles>
1224

1325
<build>
1426
<plugins>
@@ -64,20 +76,23 @@
6476
<source>${mqttclient.java.version}</source>
6577
<target>${mqttclient.java.version}</target>
6678
</configuration>
67-
</plugin>
68-
<!-- <plugin>
79+
</plugin>
80+
<!-- <plugin>
6981
<groupId>org.apache.maven.plugins</groupId>
7082
<artifactId>maven-javadoc-plugin</artifactId>
71-
<version>2.9</version>
83+
<version>2.10.3</version>
7284
<executions>
7385
<execution>
7486
<id>attach-javadocs</id>
7587
<goals>
7688
<goal>jar</goal>
7789
</goals>
90+
<configuration>
91+
<additionalparam>${javadoc.opts}</additionalparam>
92+
</configuration>
7893
</execution>
7994
</executions>
80-
</plugin>
95+
</plugin>
8196
<plugin>
8297
<groupId>org.eclipse.tycho.extras</groupId>
8398
<artifactId>tycho-document-bundle-plugin</artifactId>

0 commit comments

Comments
 (0)