Skip to content

Commit

Permalink
compile app with javac from Java 7 #3
Browse files Browse the repository at this point in the history
On Ubuntu:

JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64 mvn package
  • Loading branch information
pdurbin committed Aug 22, 2015
1 parent 3c08628 commit c998fad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions my-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<properties>
<!-- This property will be set by the Maven Dependency plugin -->
<annotatedJdk>${org.checkerframework:jdk8:jar}</annotatedJdk>
<annotatedJdk>${org.checkerframework:jdk7:jar}</annotatedJdk>
</properties>

<dependencies>
Expand All @@ -32,7 +32,7 @@
</dependency>
<dependency>
<groupId>org.checkerframework</groupId>
<artifactId>jdk8</artifactId>
<artifactId>jdk7</artifactId>
<version>1.9.4</version>
</dependency>
</dependencies>
Expand Down Expand Up @@ -92,8 +92,8 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
<source>1.7</source>
<target>1.7</target>
<fork>true</fork>
<!-- Add all the checkers you want to enable here -->
<annotationProcessors>
Expand Down

0 comments on commit c998fad

Please sign in to comment.