|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | + |
| 5 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + <packaging>war</packaging> |
| 7 | + <version>1.0-SNAPSHOT</version> |
| 8 | + <groupId>com.example.endpoints</groupId> |
| 9 | + <artifactId>endpoints</artifactId> |
| 10 | + |
| 11 | + <parent> |
| 12 | + <artifactId>doc-samples</artifactId> |
| 13 | + <groupId>com.google.cloud</groupId> |
| 14 | + <version>1.0.0</version> |
| 15 | + <relativePath>../..</relativePath> |
| 16 | + </parent> |
| 17 | + |
| 18 | + <properties> |
| 19 | + <maven.compiler.target>1.8</maven.compiler.target> |
| 20 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 21 | + |
| 22 | + <maven.war.plugin>2.6</maven.war.plugin> |
| 23 | + |
| 24 | + <appengine.maven.plugin>1.0.0</appengine.maven.plugin> |
| 25 | + <jetty.maven.plugin>9.3.8.v20160314</jetty.maven.plugin> |
| 26 | + |
| 27 | + <failOnMissingWebXml>false</failOnMissingWebXml> <!-- REQUIRED --> |
| 28 | + </properties> |
| 29 | + |
| 30 | + <dependencies> |
| 31 | + <dependency> |
| 32 | + <groupId>javax.servlet</groupId> |
| 33 | + <artifactId>javax.servlet-api</artifactId> |
| 34 | + <version>3.1.0</version> |
| 35 | + <type>jar</type> |
| 36 | + <scope>provided</scope> |
| 37 | + </dependency> |
| 38 | + <!-- Gson: Java to Json conversion --> |
| 39 | + <dependency> |
| 40 | + <groupId>com.google.code.gson</groupId> |
| 41 | + <artifactId>gson</artifactId> |
| 42 | + <version>2.6.2</version> |
| 43 | + <scope>compile</scope> |
| 44 | + </dependency> |
| 45 | + </dependencies> |
| 46 | + |
| 47 | + <build> |
| 48 | + <!-- for hot reload of the web application --> |
| 49 | + <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory> |
| 50 | + <plugins> |
| 51 | + <plugin> <!-- TEMPORARY --> |
| 52 | + <groupId>com.google.appengine</groupId> |
| 53 | + <artifactId>gcloud-maven-plugin</artifactId> |
| 54 | + <version>2.0.9.121.v20160815</version> |
| 55 | + <configuration> |
| 56 | + <gcloud_app_prefix>beta</gcloud_app_prefix> |
| 57 | + </configuration> |
| 58 | + </plugin> |
| 59 | + <plugin> |
| 60 | + <groupId>com.google.cloud.tools</groupId> |
| 61 | + <artifactId>appengine-maven-plugin</artifactId> |
| 62 | + <version>${appengine.maven.plugin}</version> |
| 63 | + <configuration> |
| 64 | + </configuration> |
| 65 | + </plugin> |
| 66 | + <plugin> |
| 67 | + <groupId>org.apache.maven.plugins</groupId> |
| 68 | + <artifactId>maven-war-plugin</artifactId> |
| 69 | + <version>${maven.war.plugin}</version> |
| 70 | + <configuration> |
| 71 | + <failOnMissingWebXml>false</failOnMissingWebXml> |
| 72 | + </configuration> |
| 73 | + </plugin> |
| 74 | + <plugin> |
| 75 | + <groupId>org.eclipse.jetty</groupId> |
| 76 | + <artifactId>jetty-maven-plugin</artifactId> |
| 77 | + <version>${jetty.maven.plugin}</version> |
| 78 | + </plugin> |
| 79 | + </plugins> |
| 80 | + </build> |
| 81 | +</project> |
0 commit comments