Comments (3)
It seems that it looks for spotbugsXml.xml
in the projects subdirectories.
See
It already been 2 years ago since I worked on this gradle plugin, but several customers are using this gradle plugin to generate these reports.
Are you sure you properly setup spotbugs?
And you´re right I unfortunately hard coded the file name to be spotbugsXml.xml
. Sorry for that.
I can change that if that helps you. Would it?
Do you have a sample project, where it can be tested? Unfortunately I do not have access to the customers using this plugin any more...
from report-aggregator.
I wonder if you're basing this off of an older version of spotbugs? Itd efinitely makes the files in build\reports\spotbugs\main.xml \ test.xml
from report-aggregator.
I have same issue with aggregation as @stealthrabbi. What @stealthrabbi mentioned about default report location and name is correct. After reading your code, I understand the plugin is expecting spotbugsXml.xm in subfolders of rootDirectory. So I renamed my main.xml to spotbugsXml.xm and put it in multiple level of its sub folders. None works. File SpotBugsAggregated.xml was generated in rootDirectory by Gradle task 'aggregateSpotBugsFiles'. But its content is like below that has no real data
===generated file SpotBugsAggregated.xml =====
My build.gradle file sitting in rootDirectory is like below (only spotbugs related content is listed)
==== partial of build.gradle related to spotbugs =======
plugins {
id 'com.simonscholz.reports' version '0.0.1'
id 'com.github.spotbugs' version '4.5.0'
}
subprojects {
//spotbugs
apply plugin: 'com.github.spotbugs'
//Spotbugs
spotbugsMain {
reports {
xml {
enabled = true
}
}
}
spotbugs {
maxHeapSize = "1g"
toolVersion = '4.1.4'
ignoreFailures = true
effort = "max"
}
dependencies {
spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.10.1'
}
}
I feel like it might be the issue with xml file. So I attached a short version of my spotbugsXml.xml. It has all the ingredients but with less data. (Have to rename to spotbugsXml.txt for upload).
spotbugsXml.txt
from report-aggregator.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from report-aggregator.