1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<!--
3
- Copyright 2015 Google Inc. All Rights Reserved.
3
+ Copyright 2016 Google Inc. All Rights Reserved.
4
4
5
5
Licensed under the Apache License, Version 2.0 (the "License");
6
6
you may not use this file except in compliance with the License.
@@ -22,23 +22,17 @@ Copyright 2015 Google Inc. All Rights Reserved.
22
22
<groupId >com.example.taskqueue</groupId >
23
23
<artifactId >taskqueue</artifactId >
24
24
25
- <properties >
26
- <app .version>1</app .version>
27
- <appengine .version>1.9.34</appengine .version>
28
- <gcloud .plugin.version>2.0.9.74.v20150814</gcloud .plugin.version>
29
- <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
30
- <maven .compiler.showDeprecation>true</maven .compiler.showDeprecation>
31
- </properties >
32
-
33
- <prerequisites >
34
- <maven >3.1.0</maven >
35
- </prerequisites >
25
+ <parent >
26
+ <artifactId >doc-samples</artifactId >
27
+ <groupId >com.google.cloud</groupId >
28
+ <version >1.0.0</version >
29
+ <relativePath >../../..</relativePath >
30
+ </parent >
36
31
<dependencies >
37
32
<!-- Compile/runtime dependencies -->
38
33
<dependency >
39
34
<groupId >com.google.appengine</groupId >
40
35
<artifactId >appengine-api-1.0-sdk</artifactId >
41
- <version >${appengine.version} </version >
42
36
</dependency >
43
37
<dependency >
44
38
<groupId >javax.servlet</groupId >
@@ -56,13 +50,11 @@ Copyright 2015 Google Inc. All Rights Reserved.
56
50
<dependency >
57
51
<groupId >com.google.appengine</groupId >
58
52
<artifactId >appengine-testing</artifactId >
59
- <version >${appengine.version} </version >
60
53
<scope >test</scope >
61
54
</dependency >
62
55
<dependency >
63
56
<groupId >com.google.appengine</groupId >
64
57
<artifactId >appengine-api-stubs</artifactId >
65
- <version >${appengine.version} </version >
66
58
<scope >test</scope >
67
59
</dependency >
68
60
</dependencies >
@@ -74,7 +66,6 @@ Copyright 2015 Google Inc. All Rights Reserved.
74
66
<plugin >
75
67
<groupId >org.codehaus.mojo</groupId >
76
68
<artifactId >versions-maven-plugin</artifactId >
77
- <version >2.1</version >
78
69
<executions >
79
70
<execution >
80
71
<phase >compile</phase >
@@ -87,56 +78,25 @@ Copyright 2015 Google Inc. All Rights Reserved.
87
78
</plugin >
88
79
<plugin >
89
80
<groupId >org.apache.maven.plugins</groupId >
90
- <version >3.1</version >
91
81
<artifactId >maven-compiler-plugin</artifactId >
92
82
<configuration >
93
83
<source >1.7</source >
94
84
<target >1.7</target >
95
85
</configuration >
96
86
</plugin >
97
- <plugin >
98
- <groupId >org.apache.maven.plugins</groupId >
99
- <artifactId >maven-war-plugin</artifactId >
100
- <version >2.4</version >
101
- <configuration >
102
- <archiveClasses >true</archiveClasses >
103
- <webResources >
104
- <!-- in order to interpolate version from pom into appengine-web.xml -->
105
- <resource >
106
- <directory >${basedir} /src/main/webapp/WEB-INF</directory >
107
- <filtering >true</filtering >
108
- <targetPath >WEB-INF</targetPath >
109
- </resource >
110
- </webResources >
111
- </configuration >
112
- </plugin >
113
-
114
87
<plugin >
115
88
<groupId >com.google.appengine</groupId >
116
89
<artifactId >appengine-maven-plugin</artifactId >
117
- <version >${appengine.version} </version >
118
- <configuration >
119
- <enableJarClasses >false</enableJarClasses >
120
- <version >${app.version} </version >
121
- <!-- Comment in the below snippet to bind to all IPs instead of just localhost -->
122
- <!-- address>0.0.0.0</address>
123
- <port>8080</port -->
124
- <!-- Comment in the below snippet to enable local debugging with a remote debugger
125
- like those included with Eclipse or IntelliJ -->
126
- <!-- jvmFlags>
127
- <jvmFlag>-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n</jvmFlag>
128
- </jvmFlags -->
129
- </configuration >
90
+ <version >${appengine.sdk.version} </version >
130
91
</plugin >
131
92
<plugin >
132
93
<groupId >com.google.appengine</groupId >
133
94
<artifactId >gcloud-maven-plugin</artifactId >
134
- <version >${gcloud.plugin .version} </version >
95
+ <version >${appengine.sdk .version} </version >
135
96
<configuration >
136
97
<set_default >true</set_default >
137
98
</configuration >
138
99
</plugin >
139
100
</plugins >
140
101
</build >
141
102
</project >
142
-
0 commit comments