I'm trying to see all my warnings, but I can not see this one:
[WARNING] warning: there was one unchecked warning; re-run with -unchecked for details
[WARNING] one warning found
Here you can see the solution with SBT, but I can't find the solution with Maven.
Edited I already tried this:
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<version>${scala.maven.plugin.version}</version>
<configuration>
<scalaVersion>${scala.version}</scalaVersion>
<args>
<arg>-unchecked</arg>
<arg>-deprecation</arg>
<arg>-explaintypes</arg>
</args>
</configuration>
</plugin>
and this:
mvn clean compile -X -Dmaven.compiler.showDeprecation=true -Dmaven.compiler.showWarnings=true
mvn clean compile -Xlint:unchecked
doesn't work
org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No plugin found for prefix 'lint' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/home/pgallego/.m2/repository), scala-tools.org (http://scala-tools.org/repo-releases), central (https://repo.maven.apache.org/maven2)]
Do you know any solution?