|
| 1 | +<?xml version="1.0"?> |
| 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 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + <artifactId>google-cloud-monitoring</artifactId> |
| 5 | + <packaging>jar</packaging> |
| 6 | + <name>Google Cloud Monitoring</name> |
| 7 | + <url>https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-monitoring</url> |
| 8 | + <description> |
| 9 | + Java idiomatic client for Stackdriver Monitoring. |
| 10 | + </description> |
| 11 | + <parent> |
| 12 | + <groupId>com.google.cloud</groupId> |
| 13 | + <artifactId>google-cloud-pom</artifactId> |
| 14 | + <version>0.3.1-SNAPSHOT</version> |
| 15 | + </parent> |
| 16 | + <properties> |
| 17 | + <site.installationModule>google-cloud-monitoring</site.installationModule> |
| 18 | + </properties> |
| 19 | + <dependencies> |
| 20 | + <dependency> |
| 21 | + <groupId>io.netty</groupId> |
| 22 | + <artifactId>netty-tcnative-boringssl-static</artifactId> |
| 23 | + <version>1.1.33.Fork17</version> |
| 24 | + </dependency> |
| 25 | + <dependency> |
| 26 | + <groupId>${project.groupId}</groupId> |
| 27 | + <artifactId>google-cloud-core</artifactId> |
| 28 | + <version>${project.version}</version> |
| 29 | + </dependency> |
| 30 | + <dependency> |
| 31 | + <groupId>com.google.api.grpc</groupId> |
| 32 | + <artifactId>grpc-google-monitoring-v3</artifactId> |
| 33 | + <version>0.0.7</version> |
| 34 | + </dependency> |
| 35 | + <dependency> |
| 36 | + <groupId>io.grpc</groupId> |
| 37 | + <artifactId>grpc-all</artifactId> |
| 38 | + <version>0.15.0</version> |
| 39 | + </dependency> |
| 40 | + <dependency> |
| 41 | + <groupId>com.google.auto.value</groupId> |
| 42 | + <artifactId>auto-value</artifactId> |
| 43 | + <version>1.1</version> |
| 44 | + </dependency> |
| 45 | + <dependency> |
| 46 | + <groupId>${project.groupId}</groupId> |
| 47 | + <artifactId>google-cloud-core</artifactId> |
| 48 | + <version>${project.version}</version> |
| 49 | + <type>test-jar</type> |
| 50 | + <scope>test</scope> |
| 51 | + </dependency> |
| 52 | + <dependency> |
| 53 | + <groupId>junit</groupId> |
| 54 | + <artifactId>junit</artifactId> |
| 55 | + <version>4.12</version> |
| 56 | + <scope>test</scope> |
| 57 | + </dependency> |
| 58 | + <dependency> |
| 59 | + <groupId>org.easymock</groupId> |
| 60 | + <artifactId>easymock</artifactId> |
| 61 | + <version>3.4</version> |
| 62 | + <scope>test</scope> |
| 63 | + </dependency> |
| 64 | + </dependencies> |
| 65 | + <profiles> |
| 66 | + <profile> |
| 67 | + <id>doclint-java8-disable</id> |
| 68 | + <activation> |
| 69 | + <jdk>[1.8,)</jdk> |
| 70 | + </activation> |
| 71 | + <properties> |
| 72 | + <!-- add this to disable checking --> |
| 73 | + <javadoc.opts>-Xdoclint:none</javadoc.opts> |
| 74 | + </properties> |
| 75 | + </profile> |
| 76 | + </profiles> |
| 77 | + <build> |
| 78 | + <plugins> |
| 79 | + <plugin> |
| 80 | + <groupId>org.codehaus.mojo</groupId> |
| 81 | + <artifactId>build-helper-maven-plugin</artifactId> |
| 82 | + <version>1.9.1</version> |
| 83 | + <executions> |
| 84 | + <execution> |
| 85 | + <phase>generate-sources</phase> |
| 86 | + <goals><goal>add-source</goal></goals> |
| 87 | + <configuration> |
| 88 | + <sources> |
| 89 | + <source>generated/src/main/java</source> |
| 90 | + </sources> |
| 91 | + </configuration> |
| 92 | + </execution> |
| 93 | + </executions> |
| 94 | + </plugin> |
| 95 | + <plugin> |
| 96 | + <groupId>org.apache.maven.plugins</groupId> |
| 97 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 98 | + <version>2.10.3</version> |
| 99 | + <executions> |
| 100 | + <execution> |
| 101 | + <id>attach-javadocs</id> |
| 102 | + <goals> |
| 103 | + <goal>jar</goal> |
| 104 | + </goals> |
| 105 | + <configuration> |
| 106 | + <additionalparam>${javadoc.opts}</additionalparam> |
| 107 | + </configuration> |
| 108 | + </execution> |
| 109 | + </executions> |
| 110 | + </plugin> |
| 111 | + <plugin> |
| 112 | + <artifactId>maven-compiler-plugin</artifactId> |
| 113 | + <!-- Downgrading to 3.1 because of https://issues.apache.org/jira/browse/MCOMPILER-236 --> |
| 114 | + <!-- Upgrade to 3.5.1 which fixes the problem when available --> |
| 115 | + <!-- <version>3.5.1</version> --> |
| 116 | + <version>3.1</version> |
| 117 | + <configuration> |
| 118 | + <source>1.7</source> |
| 119 | + <target>1.7</target> |
| 120 | + <encoding>UTF-8</encoding> |
| 121 | + <compilerArgument>-Xlint:unchecked</compilerArgument> |
| 122 | + </configuration> |
| 123 | + </plugin> |
| 124 | + </plugins> |
| 125 | + </build> |
| 126 | +</project> |
0 commit comments