Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Commit 1a3cfcf

Browse files
authored
chore: Set bom parent as shared-config (#1887)
* chore: Set bom parent as shared-config * chore: Skip checkstyle for bom * chore: Use relative path for license-check * chore: Ignore checkstyle in BOM
1 parent b10baa8 commit 1a3cfcf

File tree

2 files changed

+29
-8
lines changed

2 files changed

+29
-8
lines changed

gax-bom/pom.xml

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
<packaging>pom</packaging>
88
<name>GAX (Google Api eXtensions) for Java (BOM)</name>
99
<description>Google Api eXtensions for Java (BOM)</description>
10-
<url>https://github.com/googleapis/gax-java</url>
11-
<licenses>
12-
<license>
13-
<name>BSD</name>
14-
<url>https://github.com/googleapis/gax-java/blob/master/LICENSE</url>
15-
</license>
16-
</licenses>
10+
11+
<parent>
12+
<groupId>com.google.cloud</groupId>
13+
<artifactId>google-cloud-shared-config</artifactId>
14+
<version>1.5.4</version>
15+
</parent>
16+
1717
<developers>
1818
<developer>
1919
<id>GoogleAPIs</id>
@@ -24,10 +24,19 @@
2424
<organizationUrl>https://www.google.com</organizationUrl>
2525
</developer>
2626
</developers>
27+
2728
<scm>
2829
<connection>scm:git:https://github.com/googleapis/gax-java.git</connection>
2930
<url>https://github.com/googleapis/gax-java</url>
3031
</scm>
32+
33+
<licenses>
34+
<license>
35+
<name>BSD</name>
36+
<url>https://github.com/googleapis/gax-java/blob/master/LICENSE</url>
37+
</license>
38+
</licenses>
39+
3140
<dependencyManagement>
3241
<dependencies>
3342
<dependency>
@@ -65,4 +74,16 @@
6574
</dependency>
6675
</dependencies>
6776
</dependencyManagement>
77+
78+
<build>
79+
<plugins>
80+
<plugin>
81+
<groupId>org.apache.maven.plugins</groupId>
82+
<artifactId>maven-checkstyle-plugin</artifactId>
83+
<configuration>
84+
<skip>true</skip>
85+
</configuration>
86+
</plugin>
87+
</plugins>
88+
</build>
6889
</project>

license-checks.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
<module name="Checker">
66
<module name="RegexpHeader">
77
<property name="fileExtensions" value="java"/>
8-
<property name="headerFile" value="java.header"/>
8+
<property name="headerFile" value="${checkstyle.header.file}"/>
99
</module>
1010
</module>

0 commit comments

Comments
 (0)