|
10 | 10 | See the License for the specific language governing permissions and |
11 | 11 | limitations under the License. |
12 | 12 | --> |
13 | | -<?xml version="1.0" encoding="UTF-8"?> |
14 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
15 | | - |
| 13 | +<project> |
16 | 14 | <modelVersion>4.0.0</modelVersion> |
17 | 15 | <packaging>war</packaging> |
18 | 16 | <version>1.0-SNAPSHOT</version> |
19 | 17 |
|
20 | 18 | <groupId>com.example.GaeFirebaseEventProxy</groupId> |
21 | 19 | <artifactId>GaeFirebaseEventProxy</artifactId> |
22 | 20 |
|
| 21 | + <parent> |
| 22 | + <groupId>com.google.cloud</groupId> |
| 23 | + <artifactId>doc-samples</artifactId> |
| 24 | + <version>1.0.0</version> |
| 25 | + <relativePath>../../..</relativePath> |
| 26 | + </parent> |
| 27 | + |
23 | 28 | <properties> |
24 | 29 | <app.id>gae-firebase-event-proxy</app.id> |
25 | 30 | <app.version>1</app.version> |
26 | | - <appengine.version>1.9.36</appengine.version> |
27 | | - <gcloud.plugin.version>2.0.9.74.v20150814</gcloud.plugin.version> |
28 | 31 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
29 | 32 | <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation> |
30 | 33 | </properties> |
|
38 | 41 | <dependency> |
39 | 42 | <groupId>com.google.appengine</groupId> |
40 | 43 | <artifactId>appengine-api-1.0-sdk</artifactId> |
41 | | - <version>${appengine.version}</version> |
| 44 | + <version>${appengine.sdk.version}</version> |
42 | 45 | </dependency> |
43 | 46 | <dependency> |
44 | 47 | <groupId>javax.servlet</groupId> |
|
71 | 74 | <dependency> |
72 | 75 | <groupId>com.google.appengine</groupId> |
73 | 76 | <artifactId>appengine-testing</artifactId> |
74 | | - <version>${appengine.version}</version> |
| 77 | + <version>${appengine.sdk.version}</version> |
75 | 78 | <scope>test</scope> |
76 | 79 | </dependency> |
77 | 80 | <dependency> |
78 | 81 | <groupId>com.google.appengine</groupId> |
79 | 82 | <artifactId>appengine-api-stubs</artifactId> |
80 | | - <version>${appengine.version}</version> |
| 83 | + <version>${appengine.sdk.version}</version> |
81 | 84 | <scope>test</scope> |
82 | 85 | </dependency> |
83 | 86 | </dependencies> |
|
86 | 89 | <!-- for hot reload of the web application--> |
87 | 90 | <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory> |
88 | 91 | <plugins> |
89 | | - <plugin> |
90 | | - <groupId>org.codehaus.mojo</groupId> |
91 | | - <artifactId>versions-maven-plugin</artifactId> |
92 | | - <version>2.1</version> |
93 | | - <executions> |
94 | | - <execution> |
95 | | - <phase>compile</phase> |
96 | | - <goals> |
97 | | - <goal>display-dependency-updates</goal> |
98 | | - <goal>display-plugin-updates</goal> |
99 | | - </goals> |
100 | | - </execution> |
101 | | - </executions> |
102 | | - </plugin> |
103 | | - <plugin> |
104 | | - <groupId>org.apache.maven.plugins</groupId> |
105 | | - <version>3.1</version> |
106 | | - <artifactId>maven-compiler-plugin</artifactId> |
107 | | - <configuration> |
108 | | - <source>1.7</source> |
109 | | - <target>1.7</target> |
110 | | - </configuration> |
111 | | - </plugin> |
112 | | - <plugin> |
113 | | - <groupId>org.apache.maven.plugins</groupId> |
114 | | - <artifactId>maven-war-plugin</artifactId> |
115 | | - <version>2.4</version> |
116 | | - <configuration> |
117 | | - <archiveClasses>true</archiveClasses> |
118 | | - <webResources> |
119 | | - <!-- in order to interpolate version from pom into appengine-web.xml --> |
120 | | - <resource> |
121 | | - <directory>${basedir}/src/main/webapp/WEB-INF</directory> |
122 | | - <filtering>true</filtering> |
123 | | - <targetPath>WEB-INF</targetPath> |
124 | | - </resource> |
125 | | - </webResources> |
126 | | - </configuration> |
127 | | - </plugin> |
128 | | - |
129 | 92 | <plugin> |
130 | 93 | <groupId>com.google.appengine</groupId> |
131 | 94 | <artifactId>appengine-maven-plugin</artifactId> |
132 | | - <version>${appengine.version}</version> |
| 95 | + <version>${appengine.sdk.version}</version> |
133 | 96 | <configuration> |
134 | 97 | <enableJarClasses>false</enableJarClasses> |
135 | 98 | <version>${app.version}</version> |
136 | | - <!-- Comment in the below snippet to bind to all IPs instead of just localhost --> |
137 | | - <!-- address>0.0.0.0</address> |
138 | | - <port>8080</port --> |
139 | | - <!-- Comment in the below snippet to enable local debugging with a remote debugger |
140 | | - like those included with Eclipse or IntelliJ --> |
141 | | - <!-- jvmFlags> |
142 | | - <jvmFlag>-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n</jvmFlag> |
143 | | - </jvmFlags --> |
144 | 99 | </configuration> |
145 | 100 | </plugin> |
146 | | - <plugin> |
147 | | - <groupId>com.google.appengine</groupId> |
148 | | - <artifactId>gcloud-maven-plugin</artifactId> |
149 | | - <version>${gcloud.plugin.version}</version> |
150 | | - <configuration> |
151 | | - <set_default>true</set_default> |
152 | | - </configuration> |
153 | | - </plugin> |
154 | 101 | </plugins> |
155 | 102 | </build> |
156 | 103 | </project> |
0 commit comments