Skip to content

Commit

Permalink
Enable dependency and enforcer checks
Browse files Browse the repository at this point in the history
  • Loading branch information
wendigo committed Jan 31, 2024
1 parent 46dc6f6 commit 20efde8
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 37 deletions.
80 changes: 47 additions & 33 deletions gateway-ha/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,6 @@
<version>${dep.jakarta.mail.version}</version>
</dependency>

<dependency>
<groupId>io.airlift</groupId>
<artifactId>http-client</artifactId>
</dependency>

<dependency>
<groupId>io.dropwizard</groupId>
<artifactId>dropwizard-assets</artifactId>
Expand All @@ -97,6 +92,13 @@
<dependency>
<groupId>io.dropwizard</groupId>
<artifactId>dropwizard-auth</artifactId>
<exclusions>
<exclusion>
<!-- pulls in 2.0.1.MR -->
<groupId>jakarta.inject</groupId>
<artifactId>jakarta.inject-api</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
Expand All @@ -107,6 +109,13 @@
<dependency>
<groupId>io.dropwizard</groupId>
<artifactId>dropwizard-core</artifactId>
<exclusions>
<exclusion>
<!-- pulls in 2.0.1.MR -->
<groupId>jakarta.inject</groupId>
<artifactId>jakarta.inject-api</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
Expand All @@ -117,6 +126,13 @@
<dependency>
<groupId>io.dropwizard</groupId>
<artifactId>dropwizard-jersey</artifactId>
<exclusions>
<exclusion>
<!-- pulls in 2.0.1.MR -->
<groupId>jakarta.inject</groupId>
<artifactId>jakarta.inject-api</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
Expand Down Expand Up @@ -144,11 +160,6 @@
<artifactId>dropwizard-views</artifactId>
</dependency>

<dependency>
<groupId>io.dropwizard</groupId>
<artifactId>dropwizard-views-freemarker</artifactId>
</dependency>

<dependency>
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-core</artifactId>
Expand Down Expand Up @@ -180,11 +191,6 @@
<artifactId>jakarta.ws.rs-api</artifactId>
</dependency>

<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
</dependency>

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
Expand All @@ -197,12 +203,6 @@
<version>2.1.2</version>
</dependency>

<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId>
<version>${dep.bouncycastle.version}</version>
</dependency>

<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
Expand Down Expand Up @@ -244,12 +244,6 @@
<artifactId>jetty-util</artifactId>
</dependency>

<dependency>
<groupId>org.ehcache</groupId>
<artifactId>ehcache</artifactId>
<version>${dep.ehcache.version}</version>
</dependency>

<dependency>
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-server</artifactId>
Expand Down Expand Up @@ -280,23 +274,29 @@
<version>${dep.jeasy.version}</version>
</dependency>

<dependency>
<groupId>org.mvel</groupId>
<artifactId>mvel2</artifactId>
<version>2.5.1.Final</version>
</dependency>

<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>${dep.reflections.version}</version>
<exclusions>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>annotations</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>

<dependency>
<groupId>io.dropwizard</groupId>
<artifactId>dropwizard-views-freemarker</artifactId>
<scope>runtime</scope>
</dependency>

<!-- Required for ClusterStatsJdbcMonitor -->
<dependency>
<groupId>io.trino</groupId>
Expand All @@ -312,6 +312,20 @@
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>org.ehcache</groupId>
<artifactId>ehcache</artifactId>
<version>${dep.ehcache.version}</version>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>org.mvel</groupId>
<artifactId>mvel2</artifactId>
<version>2.5.1.Final</version>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
Expand Down
12 changes: 8 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@
<project.build.targetJdk>17</project.build.targetJdk>

<air.java.version>17</air.java.version>
<air.check.skip-enforcer>true</air.check.skip-enforcer>
<air.check.skip-dependency>true</air.check.skip-dependency>
<air.check.skip-duplicate-finder>true</air.check.skip-duplicate-finder>
<air.check.skip-spotbugs>true</air.check.skip-spotbugs>
<air.check.skip-pmd>true</air.check.skip-pmd>
Expand All @@ -53,9 +51,9 @@
<dep.apache.commons.version>3.13.0</dep.apache.commons.version>
<dep.apache.httpcomponents>4.5.13</dep.apache.httpcomponents>
<dep.bouncycastle.version>1.70</dep.bouncycastle.version>
<dep.dropwizard.version>4.0.5</dep.dropwizard.version>
<dep.dropwizard.version>4.0.6</dep.dropwizard.version>
<dep.ehcache.version>3.8.1</dep.ehcache.version>
<dep.errorprone.version>2.23.0</dep.errorprone.version>
<dep.errorprone.version>2.24.1</dep.errorprone.version>
<dep.h2.version>1.4.192</dep.h2.version>
<dep.jakarta.annotations.version>2.1.1</dep.jakarta.annotations.version>
<dep.jakarta.mail.version>2.0.0</dep.jakarta.mail.version>
Expand Down Expand Up @@ -105,6 +103,12 @@
<scope>import</scope>
</dependency>

<dependency>
<groupId>jakarta.activation</groupId>
<artifactId>jakarta.activation-api</artifactId>
<version>2.1.2</version>
</dependency>

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
Expand Down

0 comments on commit 20efde8

Please sign in to comment.