Skip to content

Commit

Permalink
Added slf4j-to-jul to shaded artifact (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex268 authored Dec 23, 2024
2 parents 3673ad7 + 3b1b99f commit 0238a0e
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
prepare:
name: Prepare Maven cache
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

env:
MAVEN_ARGS: --batch-mode -Dstyle.color=always
Expand All @@ -33,7 +33,7 @@ jobs:

build:
name: Build JDBC Driver
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: prepare

strategy:
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
coverage:
if: github.repository == 'ydb-platform/ydb-jdbc-driver'
name: Coverage JDBC Driver
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: build

env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
prepare:
name: Prepare Maven cache
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

env:
MAVEN_ARGS: --batch-mode -Dstyle.color=always
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:

build:
name: YDB JDBC Driver CI on JDK
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: prepare

strategy:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
validate:
name: Validate YDB JDBC Driver
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Checkout
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:

publish:
name: Publish YDB JDBC Driver
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: validate

env:
Expand Down
11 changes: 11 additions & 0 deletions jdbc-shaded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
<groupId>tech.ydb.jdbc</groupId>
<artifactId>ydb-jdbc-driver</artifactId>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
</dependency>
</dependencies>

<build>
Expand Down Expand Up @@ -117,6 +122,12 @@
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
<filter>
<artifact>org.slf4j:slf4j-api</artifact>
<excludes>
<exclude>org/slf4j/impl/**</exclude>
</excludes>
</filter>
</filters>

<relocations>
Expand Down

0 comments on commit 0238a0e

Please sign in to comment.