|
| 1 | +<?xml version='1.0' encoding='UTF-8'?> |
1 | 2 | <!--
|
2 | 3 | Copyright 2018 Google Inc. All Rights Reserved.
|
3 | 4 |
|
|
13 | 14 | See the License for the specific language governing permissions and
|
14 | 15 | limitations under the License.
|
15 | 16 | -->
|
16 |
| -<project> |
17 |
| - <modelVersion>4.0.0</modelVersion> |
18 |
| - <groupId>com.example.monitoring</groupId> |
19 |
| - <artifactId>monitoring-google-cloud-v3-samples</artifactId> |
20 |
| - <version>0.1-SNAPSHOT</version> |
21 |
| - <packaging>jar</packaging> |
22 |
| - |
23 |
| - <!-- |
24 |
| - The parent pom defines common style checks and testing strategies for our samples. |
25 |
| - Removing or replacing it should not affect the execution of the samples in anyway. |
26 |
| - --> |
27 |
| - <parent> |
28 |
| - <groupId>com.google.cloud.samples</groupId> |
29 |
| - <artifactId>shared-configuration</artifactId> |
30 |
| - <version>1.2.0</version> |
31 |
| - </parent> |
32 |
| - |
33 |
| - <properties> |
34 |
| - <maven.compiler.target>1.8</maven.compiler.target> |
35 |
| - <maven.compiler.source>1.8</maven.compiler.source> |
36 |
| - </properties> |
37 |
| - |
38 |
| - <dependencyManagement> |
39 |
| - <dependencies> |
40 |
| - <dependency> |
41 |
| - <groupId>com.google.cloud</groupId> |
42 |
| - <artifactId>libraries-bom</artifactId> |
43 |
| - <version>26.1.4</version> |
44 |
| - <type>pom</type> |
45 |
| - <scope>import</scope> |
46 |
| - </dependency> |
47 |
| - </dependencies> |
48 |
| - </dependencyManagement> |
49 |
| - |
| 17 | +<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"> |
| 18 | + <modelVersion>4.0.0</modelVersion> |
| 19 | + <groupId>com.example.monitoring</groupId> |
| 20 | + <artifactId>monitoring-google-cloud-v3-samples</artifactId> |
| 21 | + <version>0.1-SNAPSHOT</version> |
| 22 | + <packaging>jar</packaging> |
| 23 | + <!-- |
| 24 | + The parent pom defines common style checks and testing strategies for our samples. |
| 25 | + Removing or replacing it should not affect the execution of the samples in anyway. |
| 26 | + --> |
| 27 | + <parent> |
| 28 | + <groupId>com.google.cloud.samples</groupId> |
| 29 | + <artifactId>shared-configuration</artifactId> |
| 30 | + <version>1.2.0</version> |
| 31 | + </parent> |
| 32 | + <properties> |
| 33 | + <maven.compiler.target>1.8</maven.compiler.target> |
| 34 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 35 | + </properties> |
| 36 | + <!-- [START monitoring_install_with_bom] --> |
| 37 | + <dependencyManagement> |
50 | 38 | <dependencies>
|
51 |
| - <dependency> |
52 |
| - <groupId>com.google.cloud</groupId> |
53 |
| - <artifactId>google-cloud-monitoring</artifactId> |
54 |
| - </dependency> |
55 |
| - <dependency> |
56 |
| - <groupId>commons-cli</groupId> |
57 |
| - <artifactId>commons-cli</artifactId> |
58 |
| - <version>1.5.0</version> |
59 |
| - </dependency> |
60 |
| - <dependency> |
61 |
| - <groupId>com.google.code.gson</groupId> |
62 |
| - <artifactId>gson</artifactId> |
63 |
| - <version>2.8.9</version> |
64 |
| - </dependency> |
65 |
| - |
66 |
| - <!-- FIXME: remove after client fixes depenency issue => BOM 9.0.0 --> |
67 |
| - <dependency> |
68 |
| - <groupId>com.google.auth</groupId> |
69 |
| - <artifactId>google-auth-library-credentials</artifactId> |
70 |
| - <version>1.12.1</version> |
71 |
| - </dependency> |
72 |
| - <dependency> |
73 |
| - <groupId>com.google.auth</groupId> |
74 |
| - <artifactId>google-auth-library-oauth2-http</artifactId> |
75 |
| - <version>1.8.1</version> |
76 |
| - </dependency> |
77 |
| - |
78 |
| - <!-- Test dependencies --> |
79 |
| - <dependency> |
80 |
| - <groupId>junit</groupId> |
81 |
| - <artifactId>junit</artifactId> |
82 |
| - <version>4.13.2</version> |
83 |
| - <scope>test</scope> |
84 |
| - </dependency> |
85 |
| - <dependency> |
86 |
| - <groupId>com.google.truth</groupId> |
87 |
| - <artifactId>truth</artifactId> |
88 |
| - <version>1.1.3</version> |
89 |
| - <scope>test</scope> |
90 |
| - </dependency> |
| 39 | + <dependency> |
| 40 | + <groupId>com.google.cloud</groupId> |
| 41 | + <artifactId>libraries-bom</artifactId> |
| 42 | + <version>26.1.4</version> |
| 43 | + <type>pom</type> |
| 44 | + <scope>import</scope> |
| 45 | + </dependency> |
91 | 46 | </dependencies>
|
| 47 | + </dependencyManagement> |
| 48 | + <dependencies> |
| 49 | + <dependency> |
| 50 | + <groupId>com.google.cloud</groupId> |
| 51 | + <artifactId>google-cloud-monitoring</artifactId> |
| 52 | + </dependency> |
| 53 | + <!-- [START_EXCLUDE] --> |
| 54 | + <dependency> |
| 55 | + <groupId>commons-cli</groupId> |
| 56 | + <artifactId>commons-cli</artifactId> |
| 57 | + <version>1.5.0</version> |
| 58 | + </dependency> |
| 59 | + <dependency> |
| 60 | + <groupId>com.google.code.gson</groupId> |
| 61 | + <artifactId>gson</artifactId> |
| 62 | + <version>2.8.9</version> |
| 63 | + </dependency> |
| 64 | + <dependency> |
| 65 | + <groupId>com.google.protobuf</groupId> |
| 66 | + <artifactId>protobuf-java-util</artifactId> |
| 67 | + </dependency> |
| 68 | + <!-- Test dependencies --> |
| 69 | + <dependency> |
| 70 | + <groupId>junit</groupId> |
| 71 | + <artifactId>junit</artifactId> |
| 72 | + <version>4.13.2</version> |
| 73 | + <scope>test</scope> |
| 74 | + </dependency> |
| 75 | + <dependency> |
| 76 | + <groupId>com.google.truth</groupId> |
| 77 | + <artifactId>truth</artifactId> |
| 78 | + <version>1.1.3</version> |
| 79 | + <scope>test</scope> |
| 80 | + </dependency> |
| 81 | + <!-- [END_EXCLUDE] --> |
| 82 | + </dependencies> |
| 83 | + <!-- [END monitoring_install_with_bom] --> |
92 | 84 | </project>
|
0 commit comments