|
| 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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | + |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + <packaging>war</packaging> |
| 6 | + <version>1.0-SNAPSHOT</version> |
| 7 | + |
| 8 | + <groupId>com.example.appengine</groupId> |
| 9 | + <artifactId>guestbook</artifactId> |
| 10 | + <properties> |
| 11 | + <objectify.version>5.1.5</objectify.version> |
| 12 | + <guava.version>18.0</guava.version> |
| 13 | + </properties> |
| 14 | + <parent> |
| 15 | + <groupId>com.google.cloud</groupId> |
| 16 | + <artifactId>doc-samples</artifactId> |
| 17 | + <version>1.0.0</version> |
| 18 | + <relativePath>../..</relativePath> |
| 19 | + </parent> |
| 20 | + |
| 21 | + <!-- [START set_versions] --> |
| 22 | + <prerequisites> |
| 23 | + <maven>3.3.9</maven> |
| 24 | + </prerequisites> |
| 25 | +<!-- [END set_versions] --> |
| 26 | + |
| 27 | + <dependencies> |
| 28 | + <!-- Compile/runtime dependencies --> |
| 29 | + <dependency> |
| 30 | + <groupId>com.google.appengine</groupId> |
| 31 | + <artifactId>appengine-api-1.0-sdk</artifactId> |
| 32 | + <version>${appengine.sdk.version}</version> |
| 33 | + </dependency> |
| 34 | + <dependency> |
| 35 | + <groupId>javax.servlet</groupId> |
| 36 | + <artifactId>servlet-api</artifactId> |
| 37 | + <version>2.5</version> |
| 38 | + <scope>provided</scope> |
| 39 | + </dependency> |
| 40 | + <dependency> |
| 41 | + <groupId>jstl</groupId> |
| 42 | + <artifactId>jstl</artifactId> |
| 43 | + <version>1.2</version> |
| 44 | + </dependency> |
| 45 | + |
| 46 | +<!-- [START Objectify_Dependencies] --> |
| 47 | + <dependency> |
| 48 | + <groupId>com.google.guava</groupId> |
| 49 | + <artifactId>guava</artifactId> |
| 50 | + <version>${guava.version}</version> |
| 51 | + </dependency> |
| 52 | + <dependency> |
| 53 | + <groupId>com.googlecode.objectify</groupId> |
| 54 | + <artifactId>objectify</artifactId> |
| 55 | + <version>${objectify.version}</version> |
| 56 | + </dependency> |
| 57 | +<!-- [END Objectify_Dependencies] --> |
| 58 | + |
| 59 | + <!-- Test Dependencies --> |
| 60 | + <dependency> |
| 61 | + <groupId>com.google.appengine</groupId> |
| 62 | + <artifactId>appengine-testing</artifactId> |
| 63 | + <version>${appengine.sdk.version}</version> |
| 64 | + <scope>test</scope> |
| 65 | + </dependency> |
| 66 | + <dependency> |
| 67 | + <groupId>com.google.appengine</groupId> |
| 68 | + <artifactId>appengine-api-stubs</artifactId> |
| 69 | + <version>${appengine.sdk.version}</version> |
| 70 | + <scope>test</scope> |
| 71 | + </dependency> |
| 72 | + </dependencies> |
| 73 | + |
| 74 | + <build> |
| 75 | + <!-- for hot reload of the web application--> |
| 76 | + <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory> |
| 77 | + <plugins> |
| 78 | + <plugin> |
| 79 | + <groupId>com.google.appengine</groupId> |
| 80 | + <artifactId>appengine-maven-plugin</artifactId> |
| 81 | + <version>${appengine.sdk.version}</version> |
| 82 | + <configuration> |
| 83 | + <enableJarClasses>false</enableJarClasses> |
| 84 | + <!-- Comment in the below snippet to bind to all IPs instead of just localhost --> |
| 85 | + <!-- address>0.0.0.0</address> |
| 86 | + <port>8080</port --> |
| 87 | + <!-- Comment in the below snippet to enable local debugging with a remote debugger |
| 88 | + like those included with Eclipse or IntelliJ --> |
| 89 | + <!-- jvmFlags> |
| 90 | + <jvmFlag>-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n</jvmFlag> |
| 91 | + </jvmFlags --> |
| 92 | + </configuration> |
| 93 | + </plugin> |
| 94 | + </plugins> |
| 95 | + </build> |
| 96 | +</project> |
0 commit comments