Show info about used compiler in maven-compiler-plugin
<p>I am using Maven with Eclipse compiler. Here is the configuration:</p>

<pre><code>        &lt;plugin&gt;
           &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
           &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
           &lt;version&gt;3.1&lt;/version&gt;
           &lt;configuration&gt;
              &lt;compilerId&gt;jdt&lt;/compilerId&gt;
              &lt;skipMain&gt;${skip.sources.compilation.with.javac}&lt;/skipMain&gt;
              &lt;skip&gt;${skip.test.sources.compilation.with.javac}&lt;/skip&gt;
              &lt;showDeprecation&gt;true&lt;/showDeprecation&gt;
              &lt;showWarnings&gt;true&lt;/showWarnings&gt;
              &lt;source&gt;${compiler.level}&lt;/source&gt;
              &lt;target&gt;${compiler.level}&lt;/target&gt;
              &lt;optimize&gt;${compiler.optimize}&lt;/optimize&gt;
              &lt;debug&gt;${compiler.debug}&lt;/debug&gt;
              &lt;debuglevel&gt;${compiler.debug.level}&lt;/debuglevel&gt;
              &lt;meminitial&gt;512m&lt;/meminitial&gt;
              &lt;maxmem&gt;1024m&lt;/maxmem&gt;
              &lt;compilerArgs&gt;
                 &lt;arg&gt;-showversion&lt;/arg&gt;
              &lt;/compilerArgs&gt;
              &lt;useIncrementalCompilation&gt;false&lt;/useIncrementalCompilation&gt;
           &lt;/configuration&gt;
           &lt;dependencies&gt;
              &lt;dependency&gt;
                 &lt;groupId&gt;org.eclipse.tycho&lt;/groupId&gt;
                 &lt;artifactId&gt;tycho-compiler-jdt&lt;/artifactId&gt;
                 &lt;version&gt;0.22.0&lt;/version&gt;
              &lt;/dependency&gt;
           &lt;/dependencies&gt;
        &lt;/plugin&gt;
</code></pre>

<p>I want to print information about currently used compiler, because 'compilerId' tag sometimes can be removed from configuration.
For these purposes I've added:</p>

<pre><code>              &lt;compilerArgs&gt;
                 &lt;arg&gt;-showversion&lt;/arg&gt;
              &lt;/compilerArgs&gt;
</code></pre>

<p>... as on example above.</p>

<p>But it is not working...</p>

<blockquote>
  <p>[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ MvnExample --- <br/>
  [INFO] Compiling 12 source files to C:\Java\MvnExample\target\classes</p>
</blockquote>

<p>Have you any ideas about how to achieve it?</p>