FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
java-docs-samples/appengine-java8/cloudsql/pom.xml at master · jcguehl/java-docs-samples · GitHub
jcguehl
/
java-docs-samples
Public
forked from
GoogleCloudPlatform/java-docs-samples
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
java-docs-samples
/
appengine-java8
/
cloudsql
/
pom.xml
Copy path
More file actions
More file actions
Latest commit
History
History
History
120 lines (109 loc) · 4 KB
Breadcrumbs
java-docs-samples
/
appengine-java8
/
cloudsql
/
pom.xml
Copy path
File metadata and controls
120 lines (109 loc) · 4 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<!--
Copyright 2016 Google Inc.
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.
-->
<
project
>
<
modelVersion
>4.0.0</
modelVersion
>
<
packaging
>war</
packaging
>
<
version
>1.0-SNAPSHOT</
version
>
<
groupId
>com.example.appengine</
groupId
>
<
artifactId
>appengine-cloudsql-j8</
artifactId
>
<!--
The parent pom defines common style checks and testing strategies for our samples.
Removing or replacing it should not effect the execution of the samples in anyway.
-->
<
parent
>
<
groupId
>com.google.cloud.samples</
groupId
>
<
artifactId
>shared-configuration</
artifactId
>
<
version
>1.0.11</
version
>
</
parent
>
<!--
[START gae_java8_mysql_properties]
-->
<
properties
>
<!--
INSTANCE_CONNECTION_NAME from Cloud Console > SQL > Instance Details > Properties
or gcloud sql instances describe <instance>
project:region:instance for Cloud SQL 2nd Generation or
project:instance for Cloud SQL 1st Generation
-->
<
INSTANCE_CONNECTION_NAME
>project:region:instance</
INSTANCE_CONNECTION_NAME
>
<
user
>root</
user
>
<
password
>myPassword</
password
>
<
database
>myDatabase</
database
>
<!--
[START_EXCLUDE]
-->
<
maven
.compiler.target>1.8</
maven
.compiler.target>
<
maven
.compiler.source>1.8</
maven
.compiler.source>
<!--
[END_EXCLUDE]
-->
</
properties
>
<!--
[END gae_java8_mysql_properties]
-->
<
dependencies
>
<
dependency
>
<
groupId
>com.google.appengine</
groupId
>
<
artifactId
>appengine-api-1.0-sdk</
artifactId
>
<
version
>1.9.71</
version
>
</
dependency
>
<
dependency
>
<
groupId
>javax.servlet</
groupId
>
<
artifactId
>javax.servlet-api</
artifactId
>
<
version
>3.1.0</
version
>
<
type
>jar</
type
>
<
scope
>provided</
scope
>
</
dependency
>
<
dependency
>
<
groupId
>com.google.api-client</
groupId
>
<
artifactId
>google-api-client-appengine</
artifactId
>
<
version
>1.28.0</
version
>
</
dependency
>
<!--
[START gae_java8_mysql_dependencies]
-->
<
dependency
>
<!--
Only used locally
-->
<
groupId
>mysql</
groupId
>
<
artifactId
>mysql-connector-java</
artifactId
>
<
version
>5.1.42</
version
>
</
dependency
>
<
dependency
>
<
groupId
>com.google.cloud.sql</
groupId
>
<
artifactId
>mysql-socket-factory</
artifactId
>
<
version
>1.0.12</
version
>
</
dependency
>
<!--
[END gae_java8_mysql_dependencies]
-->
</
dependencies
>
<
build
>
<!--
for hot reload of the web application
-->
<
outputDirectory
>
${project.build.directory}
/
${project.build.finalName}
/WEB-INF/classes</
outputDirectory
>
<
plugins
>
<!--
[START gae_java8_mysql_plugins]
-->
<
plugin
>
<
groupId
>org.apache.maven.plugins</
groupId
>
<
artifactId
>maven-war-plugin</
artifactId
>
<
version
>3.0.0</
version
>
<
configuration
>
<
webResources
>
<!--
in order to interpolate version from pom into appengine-web.xml
-->
<
resource
>
<
directory
>
${basedir}
/src/main/webapp/WEB-INF</
directory
>
<
filtering
>true</
filtering
>
<
targetPath
>WEB-INF</
targetPath
>
</
resource
>
</
webResources
>
</
configuration
>
</
plugin
>
<
plugin
>
<
groupId
>com.google.cloud.tools</
groupId
>
<
artifactId
>appengine-maven-plugin</
artifactId
>
<
version
>1.3.1</
version
>
<
configuration
>
<
deploy
.promote>true</
deploy
.promote>
<
deploy
.stopPreviousVersion>true</
deploy
.stopPreviousVersion>
</
configuration
>
</
plugin
>
<!--
[END gae_java8_mysql_plugins]
-->
</
plugins
>
</
build
>
</
project
>
Back
|
FazBrowse Home
|
New Git URL