|
| 1 | +<!-- |
| 2 | + Copyright 2017 Google Inc. |
| 3 | +
|
| 4 | + Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | + you may not use this file except in compliance with the License. |
| 6 | + You may obtain a copy of the License at |
| 7 | +
|
| 8 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | +
|
| 10 | + Unless required by applicable law or agreed to in writing, software |
| 11 | + distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | + See the License for the specific language governing permissions and |
| 14 | + limitations under the License. |
| 15 | +--> |
| 16 | +<project> |
| 17 | + <modelVersion>4.0.0</modelVersion> |
| 18 | + <packaging>war</packaging> |
| 19 | + <version>1.0-SNAPSHOT</version> |
| 20 | + <groupId>com.example.appengine</groupId> |
| 21 | + <artifactId>appengine-analytics-j8</artifactId> |
| 22 | + |
| 23 | + <parent> |
| 24 | + <artifactId>appengine-java8-samples</artifactId> |
| 25 | + <groupId>com.google.cloud</groupId> |
| 26 | + <version>1.0.0</version> |
| 27 | + <relativePath>..</relativePath> |
| 28 | + </parent> |
| 29 | + <!-- Parent POM defines ${appengine.sdk.version} (updates frequently). --> |
| 30 | + |
| 31 | + <properties> |
| 32 | + <maven.compiler.target>1.8</maven.compiler.target> |
| 33 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 34 | + <appengine.sdk.version>1.9.52</appengine.sdk.version> |
| 35 | + </properties> |
| 36 | + |
| 37 | + <dependencies> |
| 38 | + <!-- Compile/runtime dependencies --> |
| 39 | + <dependency> |
| 40 | + <groupId>com.google.appengine</groupId> |
| 41 | + <artifactId>appengine-api-1.0-sdk</artifactId> |
| 42 | + <version>${appengine.sdk.version}</version> |
| 43 | + </dependency> |
| 44 | + |
| 45 | + <dependency> |
| 46 | + <groupId>jstl</groupId> |
| 47 | + <artifactId>jstl</artifactId> |
| 48 | + <version>1.2</version> |
| 49 | + </dependency> |
| 50 | + |
| 51 | + <dependency> |
| 52 | + <groupId>org.apache.httpcomponents</groupId> |
| 53 | + <artifactId>httpclient</artifactId> |
| 54 | + <version>4.5.3</version> |
| 55 | + </dependency> |
| 56 | + |
| 57 | + <dependency> |
| 58 | + <groupId>javax.servlet</groupId> |
| 59 | + <artifactId>javax.servlet-api</artifactId> |
| 60 | + <version>3.1.0</version> |
| 61 | + <type>jar</type> |
| 62 | + <scope>provided</scope> |
| 63 | + </dependency> |
| 64 | + |
| 65 | + <!-- Test Dependencies --> |
| 66 | + <dependency> |
| 67 | + <groupId>com.google.appengine</groupId> |
| 68 | + <artifactId>appengine-testing</artifactId> |
| 69 | + <version>${appengine.sdk.version}</version> |
| 70 | + <scope>test</scope> |
| 71 | + </dependency> |
| 72 | + <dependency> |
| 73 | + <groupId>com.google.appengine</groupId> |
| 74 | + <artifactId>appengine-api-stubs</artifactId> |
| 75 | + <version>${appengine.sdk.version}</version> |
| 76 | + <scope>test</scope> |
| 77 | + </dependency> |
| 78 | + |
| 79 | + <dependency> |
| 80 | + <groupId>junit</groupId> |
| 81 | + <artifactId>junit</artifactId> |
| 82 | + <version>4.12</version> |
| 83 | + <scope>test</scope> |
| 84 | + </dependency> |
| 85 | + <dependency> |
| 86 | + <groupId>org.mockito</groupId> |
| 87 | + <artifactId>mockito-core</artifactId> |
| 88 | + <version>2.7.22</version> |
| 89 | + <scope>test</scope> |
| 90 | + </dependency> |
| 91 | + <dependency> |
| 92 | + <groupId>com.jcabi</groupId> |
| 93 | + <artifactId>jcabi-matchers</artifactId> |
| 94 | + <version>1.4</version> |
| 95 | + </dependency> |
| 96 | + <dependency> |
| 97 | + <groupId>com.google.truth</groupId> |
| 98 | + <artifactId>truth</artifactId> |
| 99 | + <version>0.32</version> |
| 100 | + <scope>test</scope> |
| 101 | + </dependency> |
| 102 | + </dependencies> |
| 103 | + |
| 104 | + <build> |
| 105 | + <!-- for hot reload of the web application --> |
| 106 | + <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory> |
| 107 | + <plugins> |
| 108 | + <plugin> |
| 109 | + <groupId>com.google.cloud.tools</groupId> |
| 110 | + <artifactId>appengine-maven-plugin</artifactId> |
| 111 | + <version>1.3.1</version> |
| 112 | + <configuration> |
| 113 | + <deploy.promote>true</deploy.promote> |
| 114 | + <deploy.stopPreviousVersion>true</deploy.stopPreviousVersion> |
| 115 | + </configuration> |
| 116 | + </plugin> |
| 117 | + </plugins> |
| 118 | + </build> |
| 119 | +</project> |
0 commit comments