Skip to content

Commit

Permalink
Replace github-api with quarkus-github-api extension
Browse files Browse the repository at this point in the history
The Quarkus extension wraps the library, and takes care of making it compatible with native image.

Native image builds started failing with #1515

Signed-off-by: nscuro <[email protected]>

# Conflicts:
#	pom.xml
  • Loading branch information
nscuro committed Jan 20, 2025
1 parent afd76ac commit d1ac40d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
14 changes: 7 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
<lib.conscrypt.version>2.5.2</lib.conscrypt.version>
<lib.cvss-calculator.version>1.4.3</lib.cvss-calculator.version>
<lib.failsafe.version>3.3.2</lib.failsafe.version>
<lib.github-api.version>1.324</lib.github-api.version>
<lib.greenmail.version>2.1.2</lib.greenmail.version>
<lib.java-uuid-generator.version>5.1.0</lib.java-uuid-generator.version>
<lib.json-unit.version>4.0.0</lib.json-unit.version>
Expand All @@ -86,6 +85,7 @@
<lib.open.vulnerability.clients.version>7.1.0</lib.open.vulnerability.clients.version>
<lib.packageurl-java.version>1.5.0</lib.packageurl-java.version>
<lib.protobuf-java.version>4.29.3</lib.protobuf-java.version>
<lib.quarkus-github-api.version>1.322.0</lib.quarkus-github-api.version>
<lib.quarkus-mailpit.version>1.3.0</lib.quarkus-mailpit.version>
<lib.snappy-java.version>1.1.10.7</lib.snappy-java.version>
<lib.testcontainers-minio.version>1.20.4</lib.testcontainers-minio.version>
Expand Down Expand Up @@ -178,12 +178,6 @@
<version>${lib.failsafe.version}</version>
</dependency>

<dependency>
<groupId>org.kohsuke</groupId>
<artifactId>github-api</artifactId>
<version>${lib.github-api.version}</version>
</dependency>

<dependency>
<groupId>io.github.jeremylong</groupId>
<artifactId>open-vulnerability-clients</artifactId>
Expand Down Expand Up @@ -277,6 +271,12 @@
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>io.quarkiverse.githubapi</groupId>
<artifactId>quarkus-github-api</artifactId>
<version>${lib.quarkus-github-api.version}</version>
</dependency>

<dependency>
<groupId>io.quarkiverse.wiremock</groupId>
<artifactId>quarkus-wiremock</artifactId>
Expand Down
11 changes: 6 additions & 5 deletions repository-meta-analyzer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,12 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.quarkiverse.githubapi</groupId>
<artifactId>quarkus-github-api</artifactId>
<version>${lib.quarkus-github-api.version}</version>
</dependency>

<dependency>
<groupId>io.quarkiverse.wiremock</groupId>
<artifactId>quarkus-wiremock</artifactId>
Expand Down Expand Up @@ -149,11 +155,6 @@
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.kohsuke</groupId>
<artifactId>github-api</artifactId>
</dependency>
</dependencies>

<profiles>
Expand Down

0 comments on commit d1ac40d

Please sign in to comment.