blob: d974240ffa140e6a580cda98b39ed926b6060517 [file] [log] [blame]
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en"> <!--<![endif]-->
<head>
<title>M2Eclipse | 1.6 Release Notes</title>
<!-- Meta -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="M2Eclipse provides tight integration for Apache Maven into the Eclipse IDE." />
<meta name="author" content="eclipse.org" />
<meta property="twitter:account_id" content="15710507" />
<!-- CSS Global Compulsory-->
<link rel="stylesheet" href="/m2e/assets/plugins/bootstrap/css/bootstrap.css" />
<link rel="stylesheet" href="/m2e/assets/css/style.css" />
<link rel="stylesheet" href="/m2e/assets/css/m2eclipse.css" />
<link rel="shortcut icon" href="/m2e/assets/img/favicon.ico" />
<!-- CSS Implementing Plugins -->
<link rel="stylesheet" href="/m2e/assets/plugins/font-awesome/css/font-awesome.css" />
<!-- GA -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-56202333-1', 'eclipse.org');
ga('send', 'pageview');
</script>
</head>
<body>
<div class="wrap">
<div class="header">
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="navbar-inner">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/m2e/index.html">
<img id="logo-header" src="/m2e/assets/img/m2e_logo.png" alt="M2Eclipse" width="150" height="61" />
</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse navbar-responsive-collapse">
<ul class="nav navbar-nav navbar-left">
<li class="">
<a href="/m2e/m2e-news.html">News</a>
</li>
<li class="">
<a href="/m2e/m2e-downloads.html">Download</a>
</li>
<li class="">
<a href="/m2e/documentation/m2e-documentation.html">Documentation</a>
</li>
<li class="">
<a href="/m2e/m2e-community.html">Community</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div><!-- END header -->
<div class="margin-bottom-20"></div>
<div class="container">
<div class="margin-bottom-100"></div>
<div class="row">
<div class="col-md-3">
<div class="docNavigation affix">
<div class="margin-bottom-30"></div>
<h4 class="headline">Users</h2>
<ul class="unstyled">
<li><a href="/m2e/documentation/m2e-faq.html">FAQ</a></li>
<li><a href="/m2e/documentation/m2e-execution-not-covered.html">Execution Not Covered</a></li>
</ul>
<h4 class="headline">Developers</h2>
<ul class="unstyled">
<li><a href="https://github.com/eclipse-m2e/m2e-core/blob/master/CONTRIBUTING.md">Development Environment Setup</a></li>
</ul>
<h4 class="headline">Extension Developers</h2>
<ul class="unstyled">
<li><a href="/m2e/documentation/m2e-extension-development.html">Getting Started</a></li>
<li><a href="/m2e/documentation/m2e-making-maven-plugins-compat.html">Making Maven Plugins Compatible</a></li>
</ul>
<h4 class="headline">Release Notes</h2>
<ul class="unstyled">
<li><a href="/m2e/documentation/release-notes-116.html">M2Eclipse 1.16</a></li>
<li><a href="/m2e/documentation/release-notes-19.html">M2Eclipse 1.9</a></li>
<li><a href="/m2e/documentation/release-notes-18.html">M2Eclipse 1.8</a></li>
<li><a href="/m2e/documentation/release-notes-17.html">M2Eclipse 1.7</a></li>
<li><a href="/m2e/documentation/release-notes-16.html">M2Eclipse 1.6</a></li>
<li><a href="/m2e/documentation/release-notes-15.html">M2Eclipse 1.5</a></li>
</ul>
</div>
</div>
<div class="col-md-9 docs">
<p><a href="https://www.eclipse.org/m2e">M2Eclipse</a> released version 1.6.0 as part of the Eclipse Mars release train. There are <a href="https://bugs.eclipse.org/bugs/buglist.cgi?bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&list_id=12090411&product=m2e&query_format=advanced&target_milestone=1.6.0%2FMars%20M1&target_milestone=1.6.0%2FMars%20M2&target_milestone=1.6.0%2FMars%20M3&target_milestone=1.6.0%2FMars%20M4&target_milestone=1.6.0%2FMars%20M5&target_milestone=1.6.0%2FMars%20M6&target_milestone=1.6.0%2FMars%20M7&target_milestone=1.6.0%2FMars%20RC1&target_milestone=1.6.0%2FMars%20RC2">86 Bugs</a> fixed as part of this release. Even though M2EClipse 1.6.0 targets Eclipse Mars, it should still be compatible with Eclipse Luna. Along with improving the overall performance in a number of areas, we made some nice usability improvements and bug fixes worth highlighting:</p><h1><a href="#new-embedded-maven-3-46-3-46-3-runtime" name="new-embedded-maven-3-46-3-46-3-runtime">New Embedded Maven 3&#46;3&#46;3 runtime</a></h1><p>The embedded Apache Maven runtime has been updated to maven 3.3.3. The <a href="http://takari.io/2015/03/19/core-extensions.html">Core Extension mechanism</a> is honored when running launch configurations (as in <code>Run</code> &gt; <code>Run as...</code> &gt; <code>Maven build</code>). However, custom configurations and extensions in <code>.mvn</code> will be ignored during regular Eclipse builds. If you&rsquo;re interested in playing with <a href="http://takari.io/2015/03/19/polyglot-maven.html">polyglot Maven</a> support for M2Eclipse, you can try the experimental <a href="https://github.com/jbosstools/m2e-polyglot-poc">M2Eclipse polyglot POC</a>.</p><h1><a href="#improved-auto-45-completion-in-pom-46-xml-editor" name="improved-auto-45-completion-in-pom-46-xml-editor">Improved auto&#45;completion in pom&#46;xml editor</a></h1><p>The <code>pom.xml</code> editor has some nice improvements in the content-assist area: deeply nested plugin configuration elements, such as <code>manifest</code> attributes, can now be auto-completed:</p><p><img src="images/content-assist.gif" alt="X""/></p><p>Pro tip : Make sure the plugin version is locked, so the content assist engine can infer which attributes are available.</p><h1><a href="#new-experimental-auto-45-update-configuration-feature" name="new-experimental-auto-45-update-configuration-feature">New experimental Auto&#45;update configuration feature</a></h1><p>Remember the time when every time you changed something in your pom.xml, you&rsquo;d get an <code>Out-of-Date project configuration</code> error marker? With M2Eclipse 1.6 we introduced an new mechanism that will automatically update the project configuration when configuration changes are made in a <code>pom.xml</code>. This feature needs to be manually enabled in the Maven Preferences:</p><p><img src="images/auto-update-pref.png" alt="X""/></p><p>This feature is marked as experimental and disabled by default as we found that, in some rare cases, infinite build loops might be triggered. If and when that happens, simply disable the preference, that should end the build loop.</p><h1><a href="#better-archetype-support" name="better-archetype-support">Better archetype support</a></h1><p>The embedded maven-archetype-plugin version was bumped to 2.3, which was a long overdue update. That fixed several outstanding archetype related issues.</p><p>The performance was improved when handling large archetype catalogs. Eg. reading Maven Central&rsquo;s catalog (<a href="http://repo1.maven.org/maven2/">http://repo1.maven.org/maven2/</a>) and its 10k archetypes is about 10 times faster.</p><h1><a href="#improved-project-configurator-ordering" name="improved-project-configurator-ordering">Improved project configurator ordering</a></h1><p>Before M2Eclipse 1.6 for any given Mojo execution in the Maven Lifecycle you could have one &ldquo;primary&rdquo; configurator and an unlimited number of &ldquo;secondary&rdquo; configurators that would run in an undefined order, after the primary one.</p><p>M2Eclipse 1.6 introduced new <code>runsAfter</code> and <code>runsBefore</code> attributes to the configurator extension point, to better control the configurators order.</p><p><code>runsAfter</code> : Optional comma-separated list of ids of required project configurators this configurator should run after. ids suffixed with ? are considered optional</p><p><code>runsBefore</code> : Optional comma-separated list of ids of optional project configurators this configurator should run before. ids suffixed with * are considered required</p><p>So for example runsAfter=&ldquo;org.eclipse.m2e.jdt.javaConfigurator?&rdquo; will guarantee <em>any</em> configurator will run after the Java configurator. Read <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=449495#c1">this</a> for more information.</p><h1><a href="#conclusion" name="conclusion">Conclusion</a></h1><p>So if you haven’t installed M2Eclipse 1.6.0 yet, head over to <a href="https://www.eclipse.org/m2e/download/">https://www.eclipse.org/m2e/download/</a> and have at it.</p><p>We’d love to hear your feedback on the <a href="https://dev.eclipse.org/mailman/listinfo/m2e-users">mailing list</a>, and please <a href="https://bugs.eclipse.org/bugs/enter_bug.cgi?product=m2e">report bugs or enhancement requests</a> if you see the need.</p>
</div>
</div>
</div>
</div><!-- END wrap -->
<div class="stickyFooter">
<div class="footer">
<div class="container">
<div class="row">
<div class="col-md-4 md-margin-bottom-40"></div><!--/col-md-4-->
<div class="col-md-4 md-margin-bottom-40"> </div>
<div class="col-md-4">
</div>
</div>
</div>
</div>
<div class="copyright">
<div class="container">
<div class="row">
<div class="col-md-6">
<p class="copyright-space">
<a href="https://www.eclipse.org/">Home</a> | <a href="https://www.eclipse.org/legal/privacy.php">Privacy Policy</a> | <a href="https://www.eclipse.org/legal/termsofuse.php">Terms of Use</a> | <a href="https://www.eclipse.org/legal/copyright.php">Copyright Agent</a> | <a href="https://www.eclipse.org/legal/">Legal</a> | <a href="https://www.eclipse.org/org/foundation/contact.php">Contact Us</a>
</p>
</div>
<div class="col-md-6" align="right">
<p class="copyright-space">
Copyright &copy;
2016 The Eclipse Foundation. All Rights Reserved.
</p>
</div>
</div>
</div>
</div>
</div>
<!-- JS Global Compulsory -->
<script type="text/javascript" src="/m2e/assets/plugins/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="/m2e/assets/plugins/jquery-migrate-1.2.1.min.js"></script>
<script type="text/javascript" src="/m2e/assets/plugins/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/m2e/assets/plugins/hover-dropdown.min.js"></script>
<script type="text/javascript" src="/m2e/assets/plugins/back-to-top.js"></script>
<!-- TESTING JS -->
<script type="text/javascript" src="/m2e/assets/plugins/app.js"></script>
<script type="text/javascript">
jQuery(document).ready(function() {
App.init();
});
</script>
<!--[if lt IE 9]>
<script src="/m2e/assets/plugins/respond.js"></script>
<![endif]-->
</body>
</html>