Skip to content

Commit 0238a0e

Browse files
authored
Added slf4j-to-jul to shaded artifact (#94)
2 parents 3673ad7 + 3b1b99f commit 0238a0e

File tree

4 files changed

+18
-7
lines changed

4 files changed

+18
-7
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
jobs:
1313
prepare:
1414
name: Prepare Maven cache
15-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-24.04
1616

1717
env:
1818
MAVEN_ARGS: --batch-mode -Dstyle.color=always
@@ -33,7 +33,7 @@ jobs:
3333

3434
build:
3535
name: Build JDBC Driver
36-
runs-on: ubuntu-latest
36+
runs-on: ubuntu-24.04
3737
needs: prepare
3838

3939
strategy:
@@ -103,7 +103,7 @@ jobs:
103103
coverage:
104104
if: github.repository == 'ydb-platform/ydb-jdbc-driver'
105105
name: Coverage JDBC Driver
106-
runs-on: ubuntu-latest
106+
runs-on: ubuntu-24.04
107107
needs: build
108108

109109
env:

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
prepare:
1313
name: Prepare Maven cache
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-24.04
1515

1616
env:
1717
MAVEN_ARGS: --batch-mode -Dstyle.color=always
@@ -47,7 +47,7 @@ jobs:
4747

4848
build:
4949
name: YDB JDBC Driver CI on JDK
50-
runs-on: ubuntu-latest
50+
runs-on: ubuntu-24.04
5151
needs: prepare
5252

5353
strategy:

.github/workflows/publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
validate:
1010
name: Validate YDB JDBC Driver
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-24.04
1212

1313
steps:
1414
- name: Checkout
@@ -52,7 +52,7 @@ jobs:
5252

5353
publish:
5454
name: Publish YDB JDBC Driver
55-
runs-on: ubuntu-latest
55+
runs-on: ubuntu-24.04
5656
needs: validate
5757

5858
env:

jdbc-shaded/pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919
<groupId>tech.ydb.jdbc</groupId>
2020
<artifactId>ydb-jdbc-driver</artifactId>
2121
</dependency>
22+
23+
<dependency>
24+
<groupId>org.slf4j</groupId>
25+
<artifactId>slf4j-jdk14</artifactId>
26+
</dependency>
2227
</dependencies>
2328

2429
<build>
@@ -117,6 +122,12 @@
117122
<exclude>META-INF/*.RSA</exclude>
118123
</excludes>
119124
</filter>
125+
<filter>
126+
<artifact>org.slf4j:slf4j-api</artifact>
127+
<excludes>
128+
<exclude>org/slf4j/impl/**</exclude>
129+
</excludes>
130+
</filter>
120131
</filters>
121132

122133
<relocations>

0 commit comments

Comments
 (0)