Skip to content

Commit

Permalink
[JENKINS-28120] Phase 2: allow the core to use Java7 syntax and runtime.
Browse files Browse the repository at this point in the history
  • Loading branch information
kohsuke committed May 26, 2015
1 parent 74912f7 commit 6496a94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Expand Up @@ -101,7 +101,7 @@ THE SOFTWARE.
<matrix-project.version>1.4.1</matrix-project.version>
<animal.sniffer.skip>${skipTests}</animal.sniffer.skip>

<java.level>6</java.level>
<java.level>7</java.level>
</properties>

<repositories>
Expand Down Expand Up @@ -615,7 +615,7 @@ THE SOFTWARE.
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.${java.level}</source>
<target>1.7</target> <!-- TODO JENKINS-28120 restore to 1.${java.level} -->
<target>1.${java.level}</target>
<!-- default reuseCreated is more performant
feel free to uncomment if you have any issues on your platform
<compilerReuseStrategy>alwaysNew</compilerReuseStrategy>
Expand All @@ -640,7 +640,7 @@ THE SOFTWARE.
<version>3.0</version>
</requireMavenVersion>
<enforceBytecodeVersion>
<maxJdkVersion>1.7</maxJdkVersion> <!-- TODO JENKINS-28120 restore to 1.${java.level} -->
<maxJdkVersion>1.${java.level}</maxJdkVersion>
<ignoreClasses>
<ignoreClass>org.eclipse.jetty.spdy.*</ignoreClass>
</ignoreClasses>
Expand Down

3 comments on commit 6496a94

@KostyaSha
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@jtnord
Copy link
Member

@jtnord jtnord commented on 6496a94 Jun 1, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kohsuke JENKINS-23378 (servlet 3.0) was supposed to be fixed at the same time?

@KostyaSha
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jtnord maybe put this question to meeting?

Please sign in to comment.