Fix build warnings

This commit is contained in:
2026-01-26 23:27:08 -05:00
parent e646d6c888
commit 1fe4fc2d82

33
pom.xml
View File

@@ -6,7 +6,7 @@
<groupId>com.mattrixwv.cipherstream</groupId> <groupId>com.mattrixwv.cipherstream</groupId>
<artifactId>cipherstream-api</artifactId> <artifactId>cipherstream-api</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<version>1.1.12-SNAPSHOT</version> <version>1.2.0-SNAPSHOT</version>
<name>CipherStream API</name> <name>CipherStream API</name>
<url>https://api.cipherstream.mattrixwv.com</url> <url>https://api.cipherstream.mattrixwv.com</url>
@@ -35,6 +35,8 @@
<sonar.java.source>25</sonar.java.source> <sonar.java.source>25</sonar.java.source>
<sonar.dependencyCheck.jsonReportPath>target/dependency-check-report.json</sonar.dependencyCheck.jsonReportPath> <sonar.dependencyCheck.jsonReportPath>target/dependency-check-report.json</sonar.dependencyCheck.jsonReportPath>
<sonar.dependencyCheck.htmlReportPath>target/dependency-check-report.html</sonar.dependencyCheck.htmlReportPath> <sonar.dependencyCheck.htmlReportPath>target/dependency-check-report.html</sonar.dependencyCheck.htmlReportPath>
<argLine></argLine>
</properties> </properties>
<parent> <parent>
@@ -58,6 +60,12 @@
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId> <artifactId>spring-boot-starter-actuator</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-logging</artifactId>
</exclusion>
</exclusions>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
@@ -124,6 +132,10 @@
<groupId>com.vaadin.external.google</groupId> <groupId>com.vaadin.external.google</groupId>
<artifactId>android-json</artifactId> <artifactId>android-json</artifactId>
</exclusion> </exclusion>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-logging</artifactId>
</exclusion>
</exclusions> </exclusions>
</dependency> </dependency>
</dependencies> </dependencies>
@@ -144,6 +156,18 @@
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>properties</goal>
</goals>
</execution>
</executions>
</plugin>
<!--Sonarqube--> <!--Sonarqube-->
<plugin> <plugin>
<groupId>org.owasp</groupId> <groupId>org.owasp</groupId>
@@ -178,6 +202,11 @@
</rules> </rules>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.9.0</version>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId> <artifactId>maven-clean-plugin</artifactId>
@@ -197,6 +226,7 @@
<arg>-Xlint:all</arg> <arg>-Xlint:all</arg>
<arg>-proc:full</arg> <arg>-proc:full</arg>
<arg>-Xlint:-serial</arg> <arg>-Xlint:-serial</arg>
<arg>-Xlint:-processing</arg>
</compilerArgs> </compilerArgs>
<showWarnings>true</showWarnings> <showWarnings>true</showWarnings>
<showDeprecation>true</showDeprecation> <showDeprecation>true</showDeprecation>
@@ -211,6 +241,7 @@
<excludes> <excludes>
<exclude>**/*IntegrationTest.java</exclude> <exclude>**/*IntegrationTest.java</exclude>
</excludes> </excludes>
<argLine>@{argLine} -Xshare:off -javaagent:${org.mockito:mockito-core:jar}</argLine>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>