| --- |
| layout: post |
| title: Apache Maven Compiler Plugin Version 3.10.0 Released |
| date: '2022-02-14T12:57:57+00:00' |
| permalink: apache-maven-compiler-plugin-version3 |
| --- |
| <div class="entry-content"><p>The Apache Maven team is pleased to announce the release of the
|
| <a href="https://maven.apache.org/plugins/maven-compiler-plugin/">Apache Maven Compiler Plugin, version 3.10.0</a>.</p>
|
|
|
| <p>The Compiler Plugin is used to compile the sources of your project.</p>
|
|
|
| <p>You should specify the version in your project’s plugin configuration:</p>
|
|
|
| <figure class='code'><figcaption><span></span></figcaption><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
| <span class='line-number'>2</span>
|
| <span class='line-number'>3</span>
|
| <span class='line-number'>4</span>
|
| <span class='line-number'>5</span>
|
| </pre></td><td class='code'><pre><code class='xml'><span class='line'><span class="nt"><plugin></span>
|
| </span><span class='line'> <span class="nt"><groupId></span>org.apache.maven.plugins<span class="nt"></groupId></span>
|
| </span><span class='line'> <span class="nt"><artifactId></span>maven-compiler-plugin<span class="nt"></artifactId></span>
|
| </span><span class='line'> <span class="nt"><version></span>3.10.0<span class="nt"></version></span>
|
| </span><span class='line'><span class="nt"></plugin></span>
|
| </span></code></pre></td></tr></table></div></figure>
|
|
|
|
|
|
|
|
|
| <!-- more -->
|
|
|
|
|
| <p><a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317225&version=12351256">Release Notes – Maven Compiler Plugin – Version 3.10.0</a></p>
|
|
|
| <ul>
|
| <li><p>Bugs:</p>
|
|
|
| <ul>
|
| <li><a href="https://issues.apache.org/jira/browse/MCOMPILER-205">MCOMPILER-205</a> – incremental compilation broken for package-info classes</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MCOMPILER-225">MCOMPILER-225</a> – javac.bat and args file added to archive when fork and -X used</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MCOMPILER-460">MCOMPILER-460</a> – Compiler doesn’t show detailed information with the Maven Toolchains</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MCOMPILER-470">MCOMPILER-470</a> – -parameters doesn’t work with —release</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MCOMPILER-474">MCOMPILER-474</a> – Dependent modules are not recompiled if we run the “package” goal</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MCOMPILER-481">MCOMPILER-481</a> – JPMS Regression: cannot access <class> (requires static module not include anymore)</li>
|
| </ul>
|
| </li>
|
| <li><p>Improvement:</p>
|
|
|
| <ul>
|
| <li><a href="https://issues.apache.org/jira/browse/MCOMPILER-479">MCOMPILER-479</a> – Clarify <code>compilerArgs</code> Javadoc</li>
|
| </ul>
|
| </li>
|
| <li><p>Task:</p>
|
|
|
| <ul>
|
| <li><a href="https://issues.apache.org/jira/browse/MCOMPILER-484">MCOMPILER-484</a> – Remove deprecated mojos</li>
|
| </ul>
|
| </li>
|
| </ul>
|
|
|
|
|
| <p>Enjoy,</p>
|
|
|
| <ul>
|
| <li>The Apache Maven team</li>
|
| </ul> |