8000 chore: update logging mod (#3709) · GGOemea/sdk-platform-java@f6bdade · GitHub
[go: up one dir, main page]

Skip to content

Commit f6bdade

Browse files
authored
chore: update logging mod (googleapis#3709)
A follow up of googleapis#3706: - Change the group id to `com.google.cloud` as it is a customer-facing library. - Add clirr and enforcer check in CI.
1 parent ce5998f commit f6bdade

File tree

5 files changed

+34
-3
lines changed

5 files changed

+34
-3
lines changed

.github/workflows/java_sdk_logging.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,33 @@ jobs:
5353
run: |
5454
mvn -B -ntp fmt:check
5555
working-directory: java-sdk-logging
56+
module-clirr:
57+
runs-on: ubuntu-latest
58+
steps:
59+
- uses: actions/checkout@v4
60+
- uses: actions/setup-java@v4
61+
with:
62+
java-version: 11
63+
distribution: temurin
64+
- name: Install parent module
65+
run: |
66+
mvn install -B -ntp -pl gapic-generator-java-pom-parent
67+
- name: Clirr check
68+
run: |
69+
mvn -B -ntp -Denforcer.skip=true clirr:check
70+
working-directory: java-sdk-logging
71+
module-enforcer:
72+
runs-on: ubuntu-latest
73+
steps:
74+
- uses: actions/checkout@v4
75+
- uses: actions/setup-java@v4
76+
with:
77+
java-version: 11
78+
distribution: temurin
79+
- name: Install parent module
80+
run: |
81+
mvn install -B -ntp -pl gapic-generator-java-pom-parent
82+
- name: Enforcer check
83+
run: |
84+
mvn -B -ntp enforcer:enforce@enforce -T 1C
85+
working-directory: java-sdk-logging

java-sdk-logging/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-sdk-logging/java.header"/>
8+
<property name="headerFile" value="./java.header"/>
99
</module>
1010
</module>

java-sdk-logging/log4j2-extension/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66
<parent>
7-
<groupId>com.google.api</groupId>
7+
<groupId>com.google.cloud</groupId>
88
<artifactId>java-sdk-logging-parent</artifactId>
99
<version>0.1.0-SNAPSHOT</version>
1010
<relativePath>../pom.xml</relativePath>

java-sdk-logging/logback-extension/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66
<parent>
7-
<groupId>com.google.api</groupId>
7+
<groupId>com.google.cloud</groupId>
88
<artifactId>java-sdk-logging-parent</artifactId& 8A59 gt;
99
<version>0.1.0-SNAPSHOT</version>
1010
<relativePath>../pom.xml</relativePath>

java-sdk-logging/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
6+
<groupId>com.google.cloud</groupId>
67
<artifactId>java-sdk-logging-parent</artifactId>
78
<version>0.1.0-SNAPSHOT</version>
89
<packaging>pom</packaging>

0 commit comments

Comments
 (0)
0