|
1 | 1 | <?xml version='1.0' encoding='UTF-8'?> |
2 | 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 | 3 | <modelVersion>4.0.0</modelVersion> |
4 | | - <groupId>com.google.cloud</groupId> |
5 | | - <artifactId>java-docs-samples-errorreporting</artifactId> |
6 | | - <version>0.0.1-SNAPSHOT</version><!-- This artifact should not be released --> |
7 | | - <packaging>pom</packaging> |
| 4 | + <groupId>com.example.errorreporting</groupId> |
| 5 | + <artifactId>java-docs-samples-errorreporting-snippets</artifactId> |
| 6 | + <packaging>jar</packaging> |
8 | 7 | <name>Google Cloud Error Reporting Samples Parent</name> |
9 | 8 | <url>https://github.com/GoogleCloudPlatform/java-docs-samples/tree/main/errorreporting</url> |
10 | | - <description> |
11 | | - Java idiomatic client for Google Cloud Platform services. |
12 | | - </description> |
13 | 9 |
|
14 | 10 | <!-- |
15 | 11 | The parent pom defines common style checks and testing strategies for our samples. |
|
27 | 23 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
28 | 24 | </properties> |
29 | 25 |
|
30 | | - <modules> |
31 | | - <module>snippets</module> |
32 | | - </modules> |
33 | 26 |
|
34 | | - <build> |
35 | | - <plugins> |
36 | | - <plugin> |
37 | | - <groupId>org.apache.maven.plugins</groupId> |
38 | | - <artifactId>maven-deploy-plugin</artifactId> |
39 | | - <version>3.0.0</version> |
40 | | - <configuration> |
41 | | - <skip>true</skip> |
42 | | - </configuration> |
43 | | - </plugin> |
44 | | - <plugin> |
45 | | - <groupId>org.sonatype.plugins</groupId> |
46 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
47 | | - <version>1.6.13</version> |
48 | | - <configuration> |
49 | | - <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo> |
50 | | - </configuration> |
51 | | - </plugin> |
52 | | - </plugins> |
53 | | - </build> |
54 | | -</project> |
| 27 | + <!-- [START error_reporting_install_with_bom] --> |
| 28 | + <dependencyManagement> |
| 29 | + <dependencies> |
| 30 | + <dependency> |
| 31 | + <groupId>com.google.cloud</groupId> |
| 32 | + <artifactId>libraries-bom</artifactId> |
| 33 | + <version>26.1.4</version> |
| 34 | + <type>pom</type> |
| 35 | + <scope>import</scope> |
| 36 | + </dependency> |
| 37 | + </dependencies> |
| 38 | + </dependencyManagement> |
| 39 | + |
| 40 | + <dependencies> |
| 41 | + <dependency> |
| 42 | + <groupId>com.google.cloud</groupId> |
| 43 | + <artifactId>google-cloud-errorreporting</artifactId> |
| 44 | + </dependency> |
| 45 | + <!-- START_EXCLUDE --> |
| 46 | + <dependency> |
| 47 | + <groupId>com.google.cloud</groupId> |
| 48 | + <artifactId>google-cloud-core</artifactId> |
| 49 | + </dependency> |
| 50 | + <dependency> |
| 51 | + <groupId>junit</groupId> |
| 52 | + <artifactId>junit</artifactId> |
| 53 | + <version>4.13.2</version> |
| 54 | + <scope>test</scope> |
| 55 | + </dependency> |
| 56 | + <dependency> |
| 57 | + <groupId>com.google.truth</groupId> |
| 58 | + <artifactId>truth</artifactId> |
| 59 | + <version>1.1.3</version> |
| 60 | + <scope>test</scope> |
| 61 | + </dependency> |
| 62 | + <!-- END_EXCLUDE --> |
| 63 | + </dependencies> |
| 64 | + <!-- [END error_reporting_install_with_bom] --> |
| 65 | +</project> |
0 commit comments