blob: 2c7a235af33a20f423c53adf92595cc3440c0954 [file] [log] [blame]
---
layout: post
title: Apache Maven Compiler Plugin, version 3.8.1
date: '2019-05-02T20:57:08+00:00'
permalink: apache-maven-compiler-plugin-version1
---
<div class="entry-content"><p>The Apache Maven team is pleased to announce the release of the
<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
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">&lt;plugin&gt;</span>
</span><span class='line'> <span class="nt">&lt;groupId&gt;</span>org.apache.maven.plugins<span class="nt">&lt;/groupId&gt;</span>
</span><span class='line'> <span class="nt">&lt;artifactId&gt;</span>maven-compiler-plugin<span class="nt">&lt;/artifactId&gt;</span>
</span><span class='line'> <span class="nt">&lt;version&gt;</span>3.8.1<span class="nt">&lt;/version&gt;</span>
</span><span class='line'><span class="nt">&lt;/plugin&gt;</span>
</span></code></pre></td></tr></table></div></figure>
<!-- more -->
<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>