Skip to content

Commit

Permalink
enforce java 7 on Endpoints sample (#448)
Browse files Browse the repository at this point in the history
* enforce java 7 on Endpoints sample
Currently, mvn appengine:update fails because it compiles Java 8
bytecode. This forces the app code to Java 7.
* set property instead of including plugin
  • Loading branch information
tangiel authored and lesv committed Dec 13, 2016
1 parent 3e51c19 commit 985652d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions appengine/endpoints-frameworks-v2/backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
<endpoints.management.version>1.0.0-beta.11</endpoints.management.version>

<endpoints.project.id>YOUR_PROJECT_ID</endpoints.project.id>
<maven.compiler.target>1.7</maven.compiler.target>
<maven.compiler.source>1.7</maven.compiler.source>
</properties>

<dependencies>
Expand Down

0 comments on commit 985652d

Please sign in to comment.