Giter VIP home page Giter VIP logo

Comments (8)

beamerblvd avatar beamerblvd commented on June 23, 2024 1

What content? Are you talking about the comment? I did already try removing that without success, but it definitely does not make two root elements in one file. As I said in my comment above, I fixed it by changing <excludeBugsFile> to <excludeFilterFile>, so I think the actual problem is that <excludeBugsFile> is looking for a different schema. But the documentation doesn't explain what <excludeBugsFile> is, and the Dom4j error doesn't explain how that file violates the schema.

from spotbugs-maven-plugin.

welcome avatar welcome commented on June 23, 2024

Thanks for opening your first issue here! 😃
Please check our contributing guideline. Especially when you report a problem, make sure you share a Minimal, Complete, and Verifiable example to reproduce it in this issue.

from spotbugs-maven-plugin.

beamerblvd avatar beamerblvd commented on June 23, 2024

I did resolve my issue, but I still feel there's a bug here. I changed <excludeBugsFile> to <excludeFilterFile>. It was originally <excludeFilterFile>, but I had changed it to <excludeBugsFile> at some point because it wasn't working and I couldn't figure out why. Apparently, I solved whatever problem that was, but <excludeBugsFile> created a new problem for me.

I think there are two problems here:

  1. The failure to parse the file in <excludeBugsFile> should have explained what the parsing problem was. That might have clued me in what I had done.
  2. The documentation should explain the difference between <excludeBugsFile> and <excludeFilterFile>.

from spotbugs-maven-plugin.

KengoTODA avatar KengoTODA commented on June 23, 2024

Could you try to remove the comment at the beginning of your XML file? It could be problem because it makes two root elements in one file.

from spotbugs-maven-plugin.

KengoTODA avatar KengoTODA commented on June 23, 2024

Got it, thanks. You mean we need to update official guide for Maven plugin, right?

For 2, I think it is better to transfer this issue to Maven plugin project, I'll handle it. For 1, I will make a separated issue in this repo.

from spotbugs-maven-plugin.

hazendaz avatar hazendaz commented on June 23, 2024

@KengoTODA In the link you provided, I assume the fact that all the auto generated maven help there is blank. Is that the case? If so, I tried a few things to make the code show up but no luck. I'm not sure why it's not pulling javadocs other than possibly that this is groovy. I did make some adjustments though so the groovy docs work again and those are accessible on the site. However, that isn't quite what we want :(

from spotbugs-maven-plugin.

KengoTODA avatar KengoTODA commented on June 23, 2024

I'm also not sure why plugin doesn't refer existing javadoc ;(

from spotbugs-maven-plugin.

belugabehr avatar belugabehr commented on June 23, 2024

I too am struggling on this. Nothing I do seems to get spot-bugs to load the XML file. I cannot figure out why without additional logging.

Finally figured it out. I found an errant <excludeBugsFile> configuration item instead of <excludeFilterFile>

from spotbugs-maven-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.