Skip to content

Commit

Permalink
New plugin (#319)
Browse files Browse the repository at this point in the history
* update hello world for new gradle & maven plugins
1. add license & tags to app.yaml
2. fix some versions and naming in the pom.xml
3. add tags to pom.xml
4. remove a blank line from build.gradle
  • Loading branch information
lesv committed Aug 31, 2016
1 parent ec01eb5 commit 66fc6da
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 6 deletions.
1 change: 0 additions & 1 deletion managed_vms/helloworld/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ model {
stopPreviousVersion = true // default - stop the current version
promote = true // default - & make this the current version
}

}
}
// [END model]
Expand Down
13 changes: 8 additions & 5 deletions managed_vms/helloworld/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- [START project] -->
<project>
<modelVersion>4.0.0</modelVersion>
<packaging>war</packaging>
<version>1.0-SNAPSHOT</version>
<groupId>com.example.managedvms</groupId>
<artifactId>managed-vms-helloworld</artifactId>
<groupId>com.example.flexible</groupId>
<artifactId>flexible-helloworld</artifactId>

<parent>
<artifactId>doc-samples</artifactId>
Expand All @@ -28,11 +29,12 @@
</parent>

<properties>
<maven.compiler.target>1.7</maven.compiler.target>
<maven.compiler.source>1.7</maven.compiler.source>
<maven-war-plugin-version>2.6</maven-war-plugin-version>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>

<appengine.maven.plugin>0.1.1-beta</appengine.maven.plugin>
<jetty-maven-plugin-version>9.3.7.v20160115</jetty-maven-plugin-version>

<failOnMissingWebXml>false</failOnMissingWebXml>
</properties>

Expand Down Expand Up @@ -75,3 +77,4 @@
</plugins>
</build>
</project>
<!-- [END project] -->
15 changes: 15 additions & 0 deletions managed_vms/helloworld/src/main/appengine/app.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# [START appyaml]
runtime: java
vm: true

handlers:
- url: /.*
script: this field is required, but ignored
secure: always
# [END appyaml]

0 comments on commit 66fc6da

Please sign in to comment.