title: appengine-maven-plugin 1.7.5 seems to have incomplete java7 support because of lagging deps
body: <p>I'm trying to use the new Google plugin in maven for GAE.</p>
  
  <p>All is running smoothly, unlike with the old plugin.</p>
  
  <p>All but the deploy.</p>
  
  <p>The first alarming thing is that starting from an empty <code>.m2</code> (I deleted it to be sure that no old versions were messing with me) and during the initial download phase of <code>mvn appengine:update</code>, maven says</p>
  
  <pre><code>Downloaded: http://repo.maven.apache.org/maven2/com/google/appengine/appengine-tools-sdk/1.7.4/appengine-tools-sdk-1.7.4.jar (16762 KB at 788.5 KB/sec)
  </code></pre>
  
  <p>Then, if I run <code>mvn appengine:update</code>, it says</p>
  
  <pre><code>[INFO] Updating Google App Engine Application
  ********************************************************
  There is a new version of the SDK available.
  -----------
  Latest SDK:
  Release: 1.7.5
  Timestamp: Fri Jan 11 00:56:53 CET 2013
  API versions: [1.0]
  
  -----------
  Your SDK:
  Release: 1.7.4
  Timestamp: Tue Dec 11 12:41:31 CET 2012
  API versions: [1.0]
  
  -----------
  </code></pre>
  
  <p>When I check my .m2 folder, I got </p>
  
  <pre><code>mog@becca:~/.m2/repository/com/google$ tree -L 2 appengine/
  appengine/
  ├── appengine
  │   ├── 1.7.4
  │   └── 1.7.5
  ├── appengine-api-1.0-sdk
  │   └── 1.7.5
  ├── appengine-api-stubs
  │   └── 1.7.5
  ├── appengine-java-sdk
  │   └── 1.7.5
  ├── appengine-maven-plugin
  │   └── 1.7.5
  ├── appengine-testing
  │   └── 1.7.5
  └── appengine-tools-sdk
      └── 1.7.4
  </code></pre>
  
  <p>This seems to show that the dependencies o the 1.7.5 plugin are incomplete: some lag behind in 1.7.4. The annoying part is that it seems to prevent me from using the automatic java 7 detection feature of the 1.7.5 plugin, as shown below:</p>
  
  <p>When I use <code>mvn appengine:update</code>, I get a warning:</p>
  
  <pre><code>warning: [options] bootstrap class path not set in conjunction with -source 1.6
  1 warning
  </code></pre>
  
  <p>This warning, and the fact that I get an error 500 when I go to my website which then is explained by the following log:</p>
  
  <pre><code>Failed startup of context com.google.apphosting.utils.jetty.RuntimeAppEngineWebAppContext@15a4523{/,/base/data/home/apps/s~trashnao/1.365599992371450729}
  org.mortbay.util.MultiException[java.lang.UnsupportedClassVersionError: fr/univnantes/atal/web/trashnao/Controller : Unsupported major.minor version 51.0, java.lang.UnsupportedClassVersionError: fr/univnantes/atal/web/trashnao/Controller : Unsupported major.minor version 51.0]
      at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:656)
  </code></pre>
  
  <p>Lead me to think that the used <code>appengine-tools-sdk-1.7.4</code> doesn't support yet automatic java 7 detection through the <code>pom.xml</code> file.</p>
  
  <p>As said in <a href="https://developers.google.com/events/48092530/" rel="nofollow noreferrer">this video</a> by the devs themselves, this feature of automatic detection of the java 7 target is available in the 1.7.5 plugin.</p>
  
  <p>Trying the solution given in <a href="https://stackoverflow.com/questions/14675058/using-java-7-with-official-google-appengine-maven-plugin/14677222#14677222">that question</a>, I get this message instead of the one about the boostrap class:</p>
  
  <pre><code>warning: Supported source version 'RELEASE_6' from annotation processor 'com.google.appengine.tools.compilation.DatastoreCallbacksProcessor' less than -source '1.7'
  </code></pre>
  
  <p>I'd like any suggestion on how to fix that. Ie, how to make the <code>mvn appengine:update</code> goal use the <code>--java_7</code> option in its invocations of appcfg (<a href="https://developers.google.com/appengine/docs/java/java7" rel="nofollow noreferrer">related doc</a>)</p>