diff --git a/README.md b/README.md index c7aa6a2c..8b6fd1a1 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ mvn -Dmaven.surefire.debug="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspe Run gui with a specific version ``` -mvn com.github.spotbugs:spotbugs-maven-plugin:4.7.3.4:gui +mvn com.github.spotbugs:spotbugs-maven-plugin:4.8.2.0:gui ``` ## Contributing ## diff --git a/src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsMojo.groovy b/src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsMojo.groovy index 01985ba6..f8a3222e 100644 --- a/src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsMojo.groovy +++ b/src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsMojo.groovy @@ -1279,7 +1279,7 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait { for (result in slurpedResult.runs.results[0]) { for (loc in result.locations) { - def originalFullPath = loc.physicalLocation.artifactLocation.uri + String originalFullPath = loc.physicalLocation.artifactLocation.uri //We replace relative path to the complete path String newFileName = indexer.searchActualFilesLocation(originalFullPath)