| 
Copy and paste the XML below into your pom.xml file:
<project>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <compilerArgument>-Xlint:all</compilerArgument>
          <showWarnings>true</showWarnings>
          <showDeprecation>true</showDeprecation>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
Then you should see warnings and deprecations in your Maven output,
just like compiler errors before.
Copyright © 2024 Andrew Oliver