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>
|
||||
|
||||
<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>
|
||||
<license>
|
||||
<name>The BSD-2-Clause License</name>
|
||||
@@ -42,6 +70,13 @@
|
||||
</repositories>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.sun</groupId>
|
||||
<artifactId>tools</artifactId>
|
||||
<version>1.6.0</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${toolsjar}</systemPath>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.keypoint</groupId>
|
||||
<artifactId>png-encoder</artifactId>
|
||||
@@ -179,7 +214,7 @@
|
||||
<artifactId>texdoclet</artifactId>
|
||||
<version>${texdoclet.version}</version>
|
||||
</docletArtifact>
|
||||
<!--<sourcepath>src/main/java:src/test/java</sourcepath>-->
|
||||
<sourcepath>src/main/java:src/test/java</sourcepath>
|
||||
<useStandardDocletOptions>false</useStandardDocletOptions>
|
||||
<additionalparam>
|
||||
-tree
|
||||
|
||||
Reference in New Issue
Block a user