Skip to content

Commit 88f1a0e

Browse files
committed
chore: restructure directory tree
1 parent 3cf7b05 commit 88f1a0e

File tree

4 files changed

+42
-96
lines changed

4 files changed

+42
-96
lines changed

errorreporting/pom.xml

Lines changed: 42 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
<?xml version='1.0' encoding='UTF-8'?>
22
<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">
33
<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>
87
<name>Google Cloud Error Reporting Samples Parent</name>
98
<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>
139

1410
<!--
1511
The parent pom defines common style checks and testing strategies for our samples.
@@ -27,28 +23,43 @@
2723
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2824
</properties>
2925

30-
<modules>
31-
<module>snippets</module>
32-
</modules>
3326

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>

errorreporting/snippets/pom.xml

Lines changed: 0 additions & 65 deletions
This file was deleted.

0 commit comments

Comments
 (0)