Browse Source

updates pom.xml for building on Java 9.

tags/rel_3_21_0-java9-ea2
chibash 7 years ago
parent
commit
d7d7aaa9f3
2 changed files with 8 additions and 12 deletions
  1. 7
    11
      pom.xml
  2. 1
    1
      src/main/javassist/CtClass.java

+ 7
- 11
pom.xml View File

Javassist (JAVA programming ASSISTant) makes Java bytecode manipulation Javassist (JAVA programming ASSISTant) makes Java bytecode manipulation
simple. It is a class library for editing bytecodes in Java. simple. It is a class library for editing bytecodes in Java.
</description> </description>
<version>3.20.0-GA</version>
<version>3.21.0</version>
<name>Javassist</name> <name>Javassist</name>
<url>http://www.javassist.org/</url> <url>http://www.javassist.org/</url>


<configuration> <configuration>
<source>1.6</source> <source>1.6</source>
<target>1.6</target> <target>1.6</target>
<testSource>1.8</testSource>
<testTarget>1.8</testTarget>
<testSource>1.9</testSource>
<testTarget>1.9</testTarget>
<testCompilerArgument>-parameters</testCompilerArgument> <testCompilerArgument>-parameters</testCompilerArgument>
</configuration> </configuration>
</plugin> </plugin>
<profile> <profile>
<id>default-tools</id> <id>default-tools</id>
<activation> <activation>
<os>
<family>!mac</family>
</os>
<jdk>[,1.8]</jdk>
</activation> </activation>
<dependencies> <dependencies>
<dependency> <dependency>
</dependencies> </dependencies>
</profile> </profile>
<profile> <profile>
<id>mac-tools</id>
<id>java9-tools</id>
<activation> <activation>
<os>
<family>mac</family>
</os>
<jdk>[1.9,]</jdk>
</activation> </activation>
<dependencies> <dependencies>
<dependency> <dependency>
<version>${java.version}</version> <version>${java.version}</version>
<scope>system</scope> <scope>system</scope>
<optional>true</optional> <optional>true</optional>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
<systemPath>${java.home}/jrt-fs.jar</systemPath>
</dependency> </dependency>
</dependencies> </dependencies>
</profile> </profile>

+ 1
- 1
src/main/javassist/CtClass.java View File

/** /**
* The version number of this release. * The version number of this release.
*/ */
public static final String version = "3.21.0-GA";
public static final String version = "3.21.0-java9";


/** /**
* Prints the version number and the copyright notice. * Prints the version number and the copyright notice.

Loading…
Cancel
Save