blob: 1aeb1984a68cb1f763df6b4eea310a2b1be98d41 [file]
---
layout: post
status: PUBLISHED
published: true
title: Apache Maven Compiler Plugin, version 3.8.1
id: e6b535cd-c3a2-4f61-bf8a-4dcea8d31a41
date: '2019-05-02 20:57:08 -0400'
categories: maven
tags:
- maven-plugin
permalink: maven/entry/apache-maven-compiler-plugin-version1
---
<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.1</a>.</p>
<p>The Compiler Plugin is used to compile the sources of your project.</p>
<p>Important Notes since Version 3.8.1</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&rsquo;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.1<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&amp;version=12343484">Release Notes &ndash; Maven Compiler Plugin &ndash; Version 3.8.1</a></p>
<p>Bugs:</p>
<ul>
<li><a href="https://issues.apache.org/jira/browse/MCOMPILER-306">MCOMPILER-306</a> &ndash; Incorrect <code>compilerArgs</code> example usage</li>
<li><a href="https://issues.apache.org/jira/browse/MCOMPILER-349">MCOMPILER-349</a> &ndash; maven-compiler-plugin does not recompile a module if a dependency module has been updated &amp; recompiled</li>
<li><a href="https://issues.apache.org/jira/browse/MCOMPILER-360">MCOMPILER-360</a> &ndash; NPE when calculating modulepath with invalid entries</li>
<li><a href="https://issues.apache.org/jira/browse/MCOMPILER-379">MCOMPILER-379</a> &ndash; Fatal error compiling: basedir &hellip; arget/generated-sources/annotations does not exist</li>
</ul>
<p>Improvements:</p>
<ul>
<li><a href="https://issues.apache.org/jira/browse/MCOMPILER-322">MCOMPILER-322</a> &ndash; Set the JPMS module version</li>
<li><a href="https://issues.apache.org/jira/browse/MCOMPILER-366">MCOMPILER-366</a> &ndash; Warning about automodules should provide the list of offending libraries</li>
</ul>
<p>Enjoy,</p>
<ul>
<li>The Apache Maven team</li>
</ul>
</div>