Adding a default tools.jar usage activation, as the activation by vendor properties broke with OpenJDK 1.8 222
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>3.1.0</version>
+ <version>3.1.1</version>
<configuration>
<doctitle>Schema2template</doctitle>
<links>
<url>https://github.com/tdf/odftoolkit/tree/trunk/taglets</url>
</scm>
<profiles>
+ <profile>
+ <id>default-profile</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ <file>
+ <exists>${java.home}/../lib/tools.jar</exists>
+ </file>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>com.sun</groupId>
+ <artifactId>tools</artifactId>
+ <version>1.7.0</version>
+ <scope>system</scope>
+ <systemPath>${java.home}/../lib/tools.jar</systemPath>
+ </dependency>
+ </dependencies>
+ </profile>
<profile>
<id>tools.jar</id><!-- For JDK 7 and later - with Oracle Brand -->
<activation>
