| --- |
| layout: post |
| status: PUBLISHED |
| published: true |
| title: Apache Maven Compiler Plugin Version 3.8.0 Released |
| id: 36e98824-b73a-46b2-b59b-19589ab1304b |
| date: '2018-07-29 20:50:16 -0400' |
| categories: maven |
| tags: |
| - maven-plugin |
| permalink: maven/entry/apache-maven-compiler-plugin-version |
| --- |
| <div class="entry-content"> |
| <p>The Apache Maven team is pleased to announce the release of the<br /> |
| <a href="http://maven.apache.org/plugins/maven-compiler-plugin/">Apache Maven Compiler Plugin, version 3.8.0</a>.</p> |
| <p>The Compiler Plugin is used to compile the sources of your project.</p> |
| <p>Important Notes since Version 3.8.0</p> |
| <ul> |
| <li>The default value for source/target has been lifted<br /> |
| from 1.5 to 1.6 see <a href="https://issues.apache.org/jira/browse/MCOMPILER-335">MCOMPILER-335</a>.</li> |
| </ul> |
| <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.8.0<span class="nt"></version></span>
|
| </span><span class='line'><span class="nt"></plugin></span>
|
| </span></code></pre> |
| </td> |
| </tr> |
| </table> |
| </div> |
| </figure> |
| <p><!-- more --></p> |
| <p><a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317225&version=12341563">Release Notes – Maven Compiler Plugin – Version 3.8.0</a></p> |
| <p>Bugs:</p> |
| <ul> |
| <li><a href="https://issues.apache.org/jira/browse/MCOMPILER-311">MCOMPILER-311</a> – NPE when —patch-module is used</li> |
| <li><a href="https://issues.apache.org/jira/browse/MCOMPILER-321">MCOMPILER-321</a> – Problematic Java 9 modules are silently ignored</li> |
| <li><a href="https://issues.apache.org/jira/browse/MCOMPILER-332">MCOMPILER-332</a> – Java 10 not supported</li> |
| <li><a href="https://issues.apache.org/jira/browse/MCOMPILER-338">MCOMPILER-338</a> – Build Issue based on MCOMPILER-192 IT</li> |
| <li><a href="https://issues.apache.org/jira/browse/MCOMPILER-342">MCOMPILER-342</a> – Unsupported class file major version 55</li> |
| <li><a href="https://issues.apache.org/jira/browse/MCOMPILER-343">MCOMPILER-343</a> – Tests fail to compile in modularized project due to wrong module descriptor path being passed to plexus-java</li> |
| </ul> |
| <p>Improvements:</p> |
| <ul> |
| <li><a href="https://issues.apache.org/jira/browse/MCOMPILER-313">MCOMPILER-313</a> – Support mrjar dependency with module descriptor only in META-INF/versions/x</li> |
| <li><a href="https://issues.apache.org/jira/browse/MCOMPILER-323">MCOMPILER-323</a> – Support multi-release jars</li> |
| <li><a href="https://issues.apache.org/jira/browse/MCOMPILER-335">MCOMPILER-335</a> – Update default source/target from 1.5 to 1.6</li> |
| <li><a href="https://issues.apache.org/jira/browse/MCOMPILER-341">MCOMPILER-341</a> – Compile module-info.java files located in test sources</li> |
| </ul> |
| <p>Tasks:</p> |
| <ul> |
| <li><a href="https://issues.apache.org/jira/browse/MCOMPILER-336">MCOMPILER-336</a> – Dependency that should be on modulepath sometime put on classpath</li> |
| <li><a href="https://issues.apache.org/jira/browse/MCOMPILER-344">MCOMPILER-344</a> – Deprecate <optimize> flag</li> |
| <li><a href="https://issues.apache.org/jira/browse/MCOMPILER-350">MCOMPILER-350</a> – Add GitHub Documentation</li> |
| </ul> |
| <p>Dependency upgrades:</p> |
| <ul> |
| <li><a href="https://issues.apache.org/jira/browse/MCOMPILER-324">MCOMPILER-324</a> – Upgrade parent to 31</li> |
| <li><a href="https://issues.apache.org/jira/browse/MCOMPILER-351">MCOMPILER-351</a> – Upgrade maven-plugins parent to version 32</li> |
| <li><a href="https://issues.apache.org/jira/browse/MCOMPILER-352">MCOMPILER-352</a> – Upgrade maven-shared-utils to 3.2.1</li> |
| <li><a href="https://issues.apache.org/jira/browse/MCOMPILER-353">MCOMPILER-353</a> – Upgrade plexus-compiler to 2.8.4</li> |
| </ul> |
| <p>Enjoy,</p> |
| <p>-The Apache Maven team</p> |
| </div> |