8000 Add more tags for CloudSQL samples (#1101) · ScarTheSilent/java-docs-samples@454a322 · GitHub
[go: up one dir, main page]

8000
Skip to content

Commit 454a322

Browse files
authored
Add more tags for CloudSQL samples (GoogleCloudPlatform#1101)
1 parent 072de41 commit 454a322

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

appengine/cloudsql/pom.xml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
<!-- for hot reload of the web application -->
8989
<outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
9090
<plugins>
91+
<!-- [START plugins] -->
9192
<plugin>
9293
<groupId>org.apache.maven.plugins</groupId>
9394
<artifactId>maven-war-plugin</artifactId>
@@ -104,18 +105,16 @@
104105
</configuration>
105106
</plugin>
106107

107-
<!--
108108
<plugin>
109109
<groupId>com.google.cloud.tools</groupId>
110110
<artifactId>appengine-maven-plugin</artifactId>
111-
<version>${appengine.maven.plugin}</version>
112-
</plugin>
113-
-->
114-
<plugin>
115-
<groupId>com.google.appengine</groupId>
116-
<artifactId>appengine-maven-plugin</artifactId>
117-
<version>1.9.59</version>
111+
<version>1.3.1</version>
112+
<configuration>
113+
<deploy.promote>true</deploy.promote>
114+
<deploy.stopPreviousVersion>true</deploy.stopPreviousVersion>
115+
</configuration>
118116
</plugin>
117+
<!-- [END plugins] -->
119118
</plugins>
120119
</build>
121120
</project>

flexible/cloudsql/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,22 +89,22 @@
8989
<!-- [END dependencies] -->
9090
</dependencies>
9191
<build>
92+
<!-- [START resources] -->
9293
<resources>
9394
<resource>
9495
<directory>src/main/resources</directory>
9596
<filtering>true</filtering>
9697
</resource>
9798
</resources>
99+
<!-- [END resources] -->
98100
<!-- for hot reload of the web application -->
99101
<outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
100102
<plugins>
101-
102103
<plugin>
103104
<groupId>com.google.cloud.tools</groupId>
104105
<artifactId>appengine-maven-plugin</artifactId>
105106
<version>1.3.1</version>
106107
</plugin>
107-
108108
<plugin>
109109
<groupId>org.eclipse.jetty</groupId>
110110
<artifactId>jetty-maven-plugin</artifactId>

flexible/postgres/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,14 @@
9090
<!-- [END dependencies] -->
9191
</dependencies>
9292
<build>
93+
<!-- [START resources] -->
9394
<resources>
9495
<resource>
9596
<directory>src/main/resources</directory>
9697
<filtering>true</filtering>
9798
</resource>
9899
</resources>
100+
<!-- [END resources] -->
99101
<!-- for hot reload of the web application -->
100102
<outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
101103
<plugins>

flexible/postgres/src/main/resources/config.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
14+
# [START properties]
1515
sqlUrl=${sqlURL}
16+
# [END properties]

0 commit comments

Comments
 (0)
0