|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | +Copyright 2018 Google LLC |
| 4 | +
|
| 5 | + Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | + you may not use this file except in compliance with the License. |
| 7 | + You may obtain a copy of the License at |
| 8 | +
|
| 9 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +
|
| 11 | + Unless required by applicable law or agreed to in writing, software |
| 12 | + distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | + See the License for the specific language governing permissions and |
| 15 | + limitations under the License. |
| 16 | +--> |
| 17 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 18 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 19 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 20 | + <modelVersion>4.0.0</modelVersion> |
| 21 | + <packaging>war</packaging> |
| 22 | + <version>1.0-SNAPSHOT</version> |
| 23 | + <groupId>com.example.appengine</groupId> |
| 24 | + <artifactId>cloud-tasks-snippets</artifactId> |
| 25 | + |
| 26 | + <!-- |
| 27 | + The parent pom defines common style checks and testing strategies for our samples. |
| 28 | + Removing or replacing it should not affect the execution of the samples in anyway. |
| 29 | + --> |
| 30 | + <parent> |
| 31 | + <groupId>com.google.cloud.samples</groupId> |
| 32 | + <artifactId>shared-configuration</artifactId> |
| 33 | + <version>1.0.11</version> |
| 34 | + </parent> |
| 35 | + |
| 36 | + <properties> |
| 37 | + <maven.compiler.target>1.8</maven.compiler.target> |
| 38 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 39 | + <failOnMissingWebXml>false</failOnMissingWebXml> |
| 40 | + </properties> |
| 41 | + |
| 42 | + <dependencies> |
| 43 | + <!-- Compile/runtime dependencies --> |
| 44 | + <dependency> |
| 45 | + <groupId>com.google.cloud</groupId> |
| 46 | + <artifactId>google-cloud-tasks</artifactId> |
| 47 | + <version>1.3.0</version> |
| 48 | + </dependency> |
| 49 | + <dependency> |
| 50 | + <groupId>com.google.protobuf</groupId> |
| 51 | + <artifactId>protobuf-java</artifactId> |
| 52 | + <version>3.9.0</version> |
| 53 | + </dependency> |
| 54 | + |
| 55 | + <!-- Test dependencies --> |
| 56 | + <dependency> |
| 57 | + <groupId>junit</groupId> |
| 58 | + <artifactId>junit</artifactId> |
| 59 | + <version>4.13-beta-2</version> |
| 60 | + </dependency> |
| 61 | + <dependency> |
| 62 | + <groupId>com.google.truth</groupId> |
| 63 | + <artifactId>truth</artifactId> |
| 64 | + <version>0.44</version> |
| 65 | + <scope>test</scope> |
| 66 | + </dependency> |
| 67 | + </dependencies> |
| 68 | + |
| 69 | + <build> |
| 70 | + <plugins> |
| 71 | + <plugin> |
| 72 | + <groupId>org.codehaus.mojo</groupId> |
| 73 | + <artifactId>exec-maven-plugin</artifactId> |
| 74 | + <version>1.6.0</version> |
| 75 | + <executions> |
| 76 | + <execution> |
| 77 | + <goals> |
| 78 | + <goal>java</goal> |
| 79 | + </goals> |
| 80 | + </execution> |
| 81 | + </executions> |
| 82 | + <configuration> |
| 83 | + <mainClass>com.example.appengine.Migration</mainClass> |
| 84 | + </configuration> |
| 85 | + </plugin> |
| 86 | + </plugins> |
| 87 | + </build> |
| 88 | +</project> |
0 commit comments