Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/javaci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
run: mvn -B checkstyle:check --no-transfer-progress
- name: Check Java Formatting
run: mvn spotless:check --no-transfer-progress
- name: Check Dependencies
run: mvn dependency:analyze -DfailOnWarning=true --no-transfer-progress

java-test:
name: Build and Test
Expand Down
56 changes: 47 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,22 @@
<!-- Dependency Versions -->
<!-- Compile -->
<com.fasterxml.jackson-version>2.22.1</com.fasterxml.jackson-version>
<com.fasterxml.jackson-annotations-version>2.22</com.fasterxml.jackson-annotations-version>
Comment thread
jeandersonbc marked this conversation as resolved.
<gson-version>2.14.0</gson-version>
<commons-codec-version>1.22.0</commons-codec-version>
<gson-fire-version>1.9.0</gson-fire-version>
<swagger-core-version>1.6.16</swagger-core-version>
<swagger-annotations-v3-version>2.2.52</swagger-annotations-v3-version>
<jakarta.ws.rs-api-version>3.1.0</jakarta.ws.rs-api-version>
<httpclient5-version>5.6.2</httpclient5-version>

<httpcore5-version>5.4.3</httpcore5-version>
<!-- Test -->
<okio-version>3.17.0</okio-version>
<hamcrest-version>3.0</hamcrest-version>
<junit-jupiter-version>5.14.4</junit-jupiter-version>
<mockito-version>5.23.0</mockito-version>

<!-- Plugin Versions -->
<maven-dependency-plugin-version>3.11.0</maven-dependency-plugin-version>
<maven-compiler-plugin-version>3.15.0</maven-compiler-plugin-version>
<maven-jar-plugin-version>3.5.1</maven-jar-plugin-version>
<jacoco-maven-plugin-version>0.8.15</jacoco-maven-plugin-version>
Expand Down Expand Up @@ -273,6 +274,20 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven-dependency-plugin-version}</version>
<configuration>
<!-- junit-jupiter-engine is discovered by the JUnit Platform via ServiceLoader
at test runtime, never referenced directly in bytecode, so the analyzer's
static analysis always misreports it as unused. It is still required:
without it, Surefire has no Jupiter test engine to run tests with. -->
<ignoredUnusedDeclaredDependencies>
<ignoredUnusedDeclaredDependency>org.junit.jupiter:junit-jupiter-engine</ignoredUnusedDeclaredDependency>
</ignoredUnusedDeclaredDependencies>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
Expand All @@ -282,6 +297,16 @@
<artifactId>jackson-databind</artifactId>
<version>${com.fasterxml.jackson-version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${com.fasterxml.jackson-version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>${com.fasterxml.jackson-annotations-version}</version>
</dependency>
Comment thread
jeandersonbc marked this conversation as resolved.
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
Expand All @@ -297,11 +322,6 @@
<artifactId>commons-codec</artifactId>
<version>${commons-codec-version}</version>
</dependency>
<dependency>
<groupId>io.gsonfire</groupId>
<artifactId>gson-fire</artifactId>
<version>${gson-fire-version}</version>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
Expand All @@ -317,6 +337,11 @@
<artifactId>jakarta.ws.rs-api</artifactId>
<version>${jakarta.ws.rs-api-version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents.core5</groupId>
<artifactId>httpcore5</artifactId>
<version>${httpcore5-version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents.client5</groupId>
<artifactId>httpclient5</artifactId>
Expand All @@ -326,7 +351,7 @@
<!-- Test -->
<dependency>
<groupId>com.squareup.okio</groupId>
<artifactId>okio</artifactId>
<artifactId>okio-jvm</artifactId>
<version>${okio-version}</version>
<scope>test</scope>
</dependency>
Expand All @@ -338,7 +363,20 @@
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<artifactId>junit-jupiter-params</artifactId>
<version>${junit-jupiter-version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit-jupiter-version}</version>
<scope>test</scope>
</dependency>
Comment thread
jeandersonbc marked this conversation as resolved.
<dependency>
<!-- this is technically redundant with newer surefire version, but it is worth keeping -->
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit-jupiter-version}</version>
<scope>test</scope>
</dependency>
Expand Down
Loading