add new dependency tools.jar to pom.xml file to fix java 1.7 missing com.sun.javadoc.* symbols issue
This commit is contained in:
37
pom.xml
37
pom.xml
@@ -23,6 +23,34 @@
|
|||||||
|
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>default-profile</id>
|
||||||
|
<activation>
|
||||||
|
<activeByDefault>true</activeByDefault>
|
||||||
|
<file>
|
||||||
|
<exists>${java.home}/../lib/tools.jar</exists>
|
||||||
|
</file>
|
||||||
|
</activation>
|
||||||
|
<properties>
|
||||||
|
<toolsjar>${java.home}/../lib/tools.jar</toolsjar>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
|
<!-- MAC OS with Sun Java (<= 1.6) -->
|
||||||
|
<profile>
|
||||||
|
<id>mac-profile-sun</id>
|
||||||
|
<activation>
|
||||||
|
<activeByDefault>false</activeByDefault>
|
||||||
|
<file>
|
||||||
|
<exists>${java.home}/../Classes/classes.jar</exists>
|
||||||
|
</file>
|
||||||
|
</activation>
|
||||||
|
<properties>
|
||||||
|
<toolsjar>${java.home}/../Classes/classes.jar</toolsjar>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
|
||||||
<licenses>
|
<licenses>
|
||||||
<license>
|
<license>
|
||||||
<name>The BSD-2-Clause License</name>
|
<name>The BSD-2-Clause License</name>
|
||||||
@@ -42,6 +70,13 @@
|
|||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.sun</groupId>
|
||||||
|
<artifactId>tools</artifactId>
|
||||||
|
<version>1.6.0</version>
|
||||||
|
<scope>system</scope>
|
||||||
|
<systemPath>${toolsjar}</systemPath>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.keypoint</groupId>
|
<groupId>com.keypoint</groupId>
|
||||||
<artifactId>png-encoder</artifactId>
|
<artifactId>png-encoder</artifactId>
|
||||||
@@ -179,7 +214,7 @@
|
|||||||
<artifactId>texdoclet</artifactId>
|
<artifactId>texdoclet</artifactId>
|
||||||
<version>${texdoclet.version}</version>
|
<version>${texdoclet.version}</version>
|
||||||
</docletArtifact>
|
</docletArtifact>
|
||||||
<!--<sourcepath>src/main/java:src/test/java</sourcepath>-->
|
<sourcepath>src/main/java:src/test/java</sourcepath>
|
||||||
<useStandardDocletOptions>false</useStandardDocletOptions>
|
<useStandardDocletOptions>false</useStandardDocletOptions>
|
||||||
<additionalparam>
|
<additionalparam>
|
||||||
-tree
|
-tree
|
||||||
|
|||||||
Reference in New Issue
Block a user