jenkinsci / JiraTestResultReporter-plugin

A plug-in for Jenkins that creates issues in Jira for failed unit tests.
https://plugins.jenkins.io/JiraTestResultReporter/
Apache License 2.0
15 stars 41 forks source link

Fix xlint findings #176

Open chcg opened 1 day ago

chcg commented 1 day ago

What feature do you want to see added?

Current xlint findings:

[INFO] Compiling 26 source files to \JiraTestResultReporter-plugin\target\classes

Upstream changes

No response

Are you interested in contributing this feature?

No response

chcg commented 1 day ago

Xlint for maven pom.xml:

+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.8.0</version>
+        <configuration>
+          <compilerArgs>
+            <arg>-Xlint:deprecation</arg>
+            <arg>-Xlint:unchecked</arg>
+          </compilerArgs>
+        </configuration>
+      </plugin>