title: How to get Eclipse Warnings when compiling with maven?
body: <p>I have a Java project using m2eclipse. In my Eclipse, I get several Warnings.</p>
  
  <p>How can I display those warnings in my maven compilation? I want to use warnings-plugin on jenkins to keep track of the number of warnings.</p>
  
  <p>I found <a href="http://frequal.com/java/EnableWarningsInMaven.html" rel="noreferrer">this</a> post on how to enable warnings in maven, but it only gives me a small subset of warnings.</p>
  
  <p>E.g. </p>
  
  <blockquote>
    <p>"The value of ... is not used" warnings don't show up.</p>
  </blockquote>
  
  <p>How can I get the same warnings as displayed in Eclipse?
  Thanks for help :)</p>
  
  <p>Edit for clarity: I would like to display the same warnings as in eclipse, not other bugs as reported by FindBugs, PMD or checkstyle</p>