Skip to content

Commit

Permalink
Remove unneeded dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
basil committed Jan 30, 2023
1 parent 0218c47 commit 17d1cda
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@
<version>1.2</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-model</artifactId>
<version>3.8.7</version>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>3.5.0</version>
</dependency>
<dependency>
<groupId>org.dom4j</groupId>
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/org/jenkins/tools/test/PluginCompatTester.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
import net.sf.json.JSONObject;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang.StringUtils;
import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
import org.jenkins.tools.test.exception.PluginSourcesUnavailableException;
import org.jenkins.tools.test.exception.PomExecutionException;
import org.jenkins.tools.test.exception.ExecutedTestNamesSolverException;
Expand Down Expand Up @@ -109,7 +108,7 @@ public PluginCompatTester(PluginCompatTesterConfig config){
}

public PluginCompatReport testPlugins()
throws IOException, PomExecutionException, XmlPullParserException {
throws IOException, PomExecutionException {
PluginCompatTesterHooks pcth = new PluginCompatTesterHooks(config.getHookPrefixes(), config.getExternalHooksJars(), config.getExcludeHooks());
// Providing XSL Stylesheet along xml report file
if(config.reportFile != null){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
import org.jenkins.tools.test.model.PluginCompatTesterConfig;
import org.jenkins.tools.test.exception.PomExecutionException;
import org.jenkins.tools.test.model.TestStatus;
import org.codehaus.plexus.util.xml.pull.XmlPullParserException;

/**
* Plugin compatibility tester frontend for the CLI
Expand All @@ -59,7 +58,7 @@ public class PluginCompatTesterCli {
value = "NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE",
justification =
"We're already checking for null in each relevant instance, so why does SpotBugs complain?")
public static void main(String[] args) throws IOException, PomExecutionException, XmlPullParserException {
public static void main(String[] args) throws IOException, PomExecutionException {
CliOptions options = new CliOptions();
JCommander jcommander = null;
try {
Expand Down

0 comments on commit 17d1cda

Please sign in to comment.