spotbugs / discuss

SpotBugs mailing list
6 stars 1 forks source link

Export Spotbugs setup from Eclipse #24

Open JlnWntr opened 7 years ago

JlnWntr commented 7 years ago

Is it possible to export a spotbug configuration

dffmj

to an xml-file which you can use for maven, like described here?

If yes, how can you do this?

vorburger commented 6 years ago

I've no idea but you may be interested in https://github.com/m2e-code-quality/m2e-code-quality/ which FYI allows you to kind of do the opposite... you specificy the configuration of the Maven plugin (by hand; no idea if you can export it like you ask, but just redo it, once?) and then m2e-code-quality can apply the settings from the spotbugs-maven-plugin to the SpotBugs Eclipse plugin (when I say "can" that actully means it can for FindBugs; I'm fixing it up for SpotBugs in https://github.com/m2e-code-quality/m2e-code-quality/issues/110 FYI).

ajejebrazorf6453 commented 5 years ago

@vorburger I'm interested in pursuing the path you are suggesting: where may I find the default spotbugs configuration or guidance on how to build it ? I think I cannot guess where would the m2e

vorburger commented 5 years ago

@vorburger I'm interested in pursuing the path you are suggesting: where may I find the default spotbugs configuration or guidance on how to build it ? I think I cannot guess where would the m2e

@ajejebrazorf6453 sorry I'm not sure what exactly you are looking for, can you clarify? If you have a question about m2e-code-quality, please ask it on https://github.com/m2e-code-quality/m2e-code-quality/issues.

boabc2304 commented 2 years ago

@KengoTODA 我也想问下,eclipse中能把spotbugs配置好的规则集导出来,导入别的机器吗?请指教。