Permalink
Browse files

Enabling major version override (--version option of appcfg)

  • Loading branch information...
1 parent db5ee7d commit f113645bc0a77f48f77a95327a13675b43b5c30f @waltercacau waltercacau committed Jan 24, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 maven-gae-plugin/src/main/java/net/kindleit/gae/EngineGoalBase.java
@@ -118,6 +118,12 @@
* @parameter expression="${gae.server}"
*/
protected String uploadServer;
+
+ /** The app version. If defined, it overrides the application major version defined in the appengine-web.xml.
+ *
+ * @parameter expression="${gae.appVersion}"
+ */
+ protected String appVersion;
/** Overrides the Host header sent with all RPCs.
*
@@ -256,6 +262,7 @@ protected void assureSystemProperties() throws MojoExecutionException {
final List<String> args = getCommonArgs();
addEmailOption(args);
+ addStringOption(args, "--version=", appVersion);
addStringOption(args, "--host=", hostString);
addStringOption(args, "--compile_encoding=", encoding);
addProxyOption(args);

0 comments on commit f113645

Please sign in to comment.