Yes, you're right here that IDE is a good place to check for warnings. However, we have a requirement for a Maven plugin which accepts a predefined number of warnings in code (Java/Scala, legacy code which we aren't going to rewrite anytime soon due to the lack of time) and checks that no more warnings were introduced since last commit. The ideas I have in mind: 1) Custom plugin that makes calls to Java/Scala compilers and checks the code for warnings. 2) Modified maven-compiler-plugin and maven-scala-plugin which can store warnings and pass them to the custom plugin. 3) Custom plugin parse Maven output log looking for warnings.
-- View this message in context: http://maven.40175.n5.nabble.com/Custom-maven-plugin-to-count-compilation-warnings-tp5787921p5788093.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org