We are working on some old java project. The code has many warnings but i want to avoid introducing new ones. is there a way to do it with maven, bamboo. we don't have rights to install new plugins on bamboo (corporation) so maven solution is preferred.
Well, I agree there is no plugin that can do this but you can do this in simple steps with java 1.7.
Use processors at compile time to compile your code and maintain warnings generated in a log file. Every time you will trigger build this will kick off and you can compare old log file with new one.
Note: In jdk 1.6 and 1.5 you can use APT tool for the same.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With