提交 ed708297 编写于 作者: J Jesse Glick

Changing property to 1.${java.version} since that will be friendlier to Animal Sniffer.

上级 b15ecb75
......@@ -99,7 +99,7 @@ THE SOFTWARE.
<netbeans.compile.on.save>none</netbeans.compile.on.save> <!-- we rely on Maven source generation -->
<animal.sniffer.skip>${skipTests}</animal.sniffer.skip>
<java.level>1.6</java.level>
<java.version>6</java.version>
</properties>
<repositories>
......@@ -592,7 +592,7 @@ THE SOFTWARE.
<configuration>
<signature>
<groupId>org.codehaus.mojo.signature</groupId>
<!-- Currently held back to java15. After next (>1.509) LTS, switch to java16 ~ ${java.level}. -->
<!-- Currently held back to java15. After Sep 30 2013 (perhaps?), switch to java1${java.version}. -->
<artifactId>java15</artifactId>
<version>1.0</version>
</signature>
......@@ -602,8 +602,8 @@ THE SOFTWARE.
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${java.level}</source>
<target>${java.level}</target>
<source>1.${java.version}</source>
<target>1.${java.version}</target>
<!-- default reuseCreated is more performant
feel free to uncomment if you have any issues on your platform
<compilerReuseStrategy>alwaysNew</compilerReuseStrategy>
......@@ -628,7 +628,7 @@ THE SOFTWARE.
<version>3.0</version>
</requireMavenVersion>
<enforceBytecodeVersion>
<maxJdkVersion>${java.level}</maxJdkVersion>
<maxJdkVersion>1.${java.version}</maxJdkVersion>
</enforceBytecodeVersion>
</rules>
</configuration>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册