Apache Maven

Sunday June 17, 2018

Apache Maven Surefire Plugin 2.22.0 Released

The Apache Maven team is pleased to announce the release of the Apache Maven Surefire Plugin, version 2.22.0.

The release contains 33 bug fixes. Again we received contributions from the community in form of bug reports and bug fixes. Thank you and keep them coming!

You should specify the version in your project’s plugin configuration:

1
2
3
4
5
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-surefire-plugin</artifactId>
  <version>2.22.0</version>
</plugin>

or for failsafe:

1
2
3
4
5
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-failsafe-plugin</artifactId>
  <version>2.22.0</version>
</plugin>

or for surefire-report:

1
2
3
4
5
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-surefire-report-plugin</artifactId>
  <version>2.22.0</version>
</plugin>

Release Notes – Maven Surefire – Version 2.22.0

Bugs:

  • SUREFIRE-1383 – dependenciesToScan Does Not Leverage Classpath Elements
  • SUREFIRE-1479 – SurefireBooterForkException: The forked VM terminated without properly saying goodbye since 2.20.1
  • SUREFIRE-1498 – Surefire prints own logs “Couldn’t load group class” to native stream.
  • SUREFIRE-1503 – Forked JVM immediately crashed on Unix/Linux due to new shutdown mechanism does not turn to the old shutdown mechanism
  • SUREFIRE-1506 – Sporadic NullPointerException in ConsoleOutputFileReporter#close()
  • SUREFIRE-1512 – ProcessInfo for Windows is prone to timezone offset changes
  • SUREFIRE-1515 – Standard output write fails for empty array
  • SUREFIRE-1522 – IndexOutOfBoundsException for System.out.write

New Features:

  • SUREFIRE-1330 – JUnit 5 surefire-provider code donation
  • SUREFIRE-1495 – Encoding of TXT report file should be configured by ${project.reporting.outputEncoding} and MOJO parameter encoding

Improvement:

Tasks:

  • SUREFIRE-1487 – ParallelComputerBuilderTest fails on overloaded system because internal delay are shorter than blocking time of JVM
  • SUREFIRE-1504 – switch from Git-WIP to Gitbox
  • SUREFIRE-1510 – Jenkins CI fails due to performance of Windows break concurrency of forked JVMs
  • SUREFIRE-1518 – Upgrade version of plexus-java to 0.9.8

Enjoy,

-The Apache Maven team

Apache Maven Enforcer Plugin Version 3.0.0-M2

The Apache Maven team is pleased to announce the release of the Apache Maven Enforcer Plugin, version 3.0.0-M2.

You should specify the version in your project’s plugin configuration:

1
2
3
4
5
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-enforcer-plugin</artifactId>
  <version>3.0.0-M2</version>
</plugin>

You can download the appropriate sources etc. from the download page:

https://maven.apache.org/enforcer/download.cgi

Release Notes – Maven Enforcer Plugin Version 3.0.0-M2 (including 3.0.0-M1)

Bugs:

  • MENFORCER-234 – Link to plugin’s web site is reported as redirected by maven linkcheck plugin.
  • MENFORCER-239 – Fix link in navigation (enforcer/maven-enforcer-plugin/index.html) RESOURCES
  • MENFORCER-240 – Link to page does not work
  • MENFORCER-265 – Get site generation working
  • MENFORCER-268 – Usage of CI friendly version placeholders does not work
  • MENFORCER-274 – Use of RequireJavaVersion with Java-9 breaking starting at b175
  • MENFORCER-281 – RequirePluginVersions broken with “CI Friendly versions”

New Features:

  • MENFORCER-204 – Add new rule: should be able to make sure that project artifact is a Snapshot
  • MENFORCER-247 – Add a “require file checksum” rule
  • MENFORCER-273 – RequireUpperBoundDeps.excludes
  • MENFORCER-282 – Add RequireProfileIdsExist to ensure al mentioned cmdline profiles exist

Improvements:

  • MENFORCER-228 – DependencyConvergence: Simplify logging errors
  • MENFORCER-253 – Upgrade maven-shared-components parent to version 30
  • MENFORCER-259 – The rule BanDuplicatePomDependencyVersions is not documented
  • MENFORCER-263 – Upgrade mrm-maven-plugin to 1.0.0
  • MENFORCER-266 – Remove usage of prerequisites in parent pom
  • MENFORCER-291 – Cleanup ReactorModuleConvergence implementation
  • MENFORCER-292 – Remove getModelsRecursively from EnforcerRuleUtils
  • MENFORCER-293 – Remove deprecated marked ignoreParent from BanDistributionManagement

Tasks:

Dependency upgrades:

Enjoy,

-The Apache Maven team

Sunday June 10, 2018

Apache Maven WAR Plugin, version 3.2.2

The Apache Maven team is pleased to announce the release of the Apache Maven WAR Plugin, version 3.2.2.

The WAR Plugin is responsible for collecting all artifact dependencies, classes and resources of the web application and packaging them into a web application archive.

You should specify the version in your project’s plugin configuration:

1
2
3
4
5
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-war-plugin</artifactId>
  <version>3.2.2</version>
</plugin>

You can download the appropriate sources etc. from the download page.

Important Note:

  • Maven 3.X only
  • JDK 7 minimum requirement

Release Notes – Maven WAR Plugin – Version 3.2.2

Bug:

  • MWAR-303 – filtering of ${project.developers[0].id} does not work

Dependency upgrade:

  • MWAR-417 – Upgrade to plexus-interpolation to version 1.25

Many thanks to all reporters/contributors/testers of this release.

Voters:

  • Gabriel Belingueres

Enjoy,

-The Apache Maven team

Saturday June 09, 2018

Apache Maven Help Plugin, version 3.1.0

The Apache Maven team is pleased to announce the release of the Apache Maven Help Plugin, version 3.1.0

The Maven Help Plugin is used to get relative information about a project or the system. It can be used to get a description of a particular plugin, including the plugin’s goals with their parameters and component requirements, the effective POM and effective settings of the current build, and the profiles applied to the current project being built.

Important Notes since Version 3.0.0

  • Maven 3+ only
  • JDK 7 minimum requirement

You should specify the version in your project’s plugin configuration:

1
2
3
4
5
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-help-plugin</artifactId>
  <version>3.1.0</version>
</plugin>

You can download the appropriate sources etc. from the download page.

Release Notes – Maven Help Plugin – Version 3.1.0

New Feature:

  • MPH-144 – Add ability to print mvn help:evaluate output to stdout in quiet mode

Improvement:

  • MPH-151 – Add documentation information for GitHub

Tasks:

  • MPH-145 – Upgrade mave-surefire/failsafe-plugin 2.21.0
  • MPH-146 – JavaDoc Issues / Code cleanups

Dependency upgrades:

  • MPH-147 – plexus-interactivity-api to 1.0-alpha-6
  • MPH-148 – Upgrade xstream to 1.4.10
  • MPH-149 – Upgrade jdom-legacy to jdom2 2.0.6

Enjoy,

-The Apache Maven team

Thursday June 07, 2018

Apache Maven PMD Plugin Version 3.10.0 Released

The Maven team is pleased to announce the release of the Apache Maven PMD Plugin, version 3.10.0

A Maven plugin for the PMD toolkit, that produces a report on both code rule violations and detected copy and paste fragments, as well as being able to fail the build based on these metrics.

You can download the appropriate sources etc. from the download page:

https://maven.apache.org/plugins/maven-pmd-plugin/download.cgi

You should specify the version in your project’s plugin configuration:

1
2
3
4
5
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-pmd-plugin</artifactId>
  <version>3.10.0</version>
</plugin>

Release Notes – Apache Maven PMD Plugin – Version 3.9

Bugs:

  • [MPMD-253] – PMD links to java Xref fail in aggregated report
  • [MPMD-257] – Allow to disable analysisCache completely, avoid warnings
  • [MPMD-258] – PMD output multiplies with every module in multi module projects
  • [MPMD-259] – FileNotFoundException with analysisCache=true, includeTests=true and no test classes

New Feature:

  • [MPMD-256] – Add maxAllowedViolations property for PMD

Improvements:

  • [MPMD-261] – Upgrade to PMD 6.4.0
  • [MPMD-263] – Add documentation information for GitHub
  • [MPMD-264] – Add rule priority to HTML report

Dependency upgrades:

  • [MPMD-252] – Upgrade parent to 31
  • [MPMD-262] – Upgrade maven-surefire/failsafe-plugin 2.21.0

Enjoy,

-The Maven team

Friday June 01, 2018

Apache Maven Invoker Plugin Version 3.1.0 Released

The Apache Maven team is pleased to announce the release of the Apache Maven Invoker Plugin, version 3.1.0.

The Invoker Plugin is used to run a set of Maven projects. The plugin can determine whether each project execution is successful, and optionally can verify the output generated from a given project execution.

This plugin is in particular handy to perform integration tests for other Maven plugins. The Invoker Plugin can be employed to run a set of test projects that have been designed to assert certain features of the plugin under test.

You should specify the version in your project’s plugin configuration:

1
2
3
4
5
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-invoker-plugin</artifactId>
  <version>3.1.0</version>
</plugin>

You can download the appropriate sources etc. from the download page:

https://maven.apache.org/plugins/maven-invoker-plugin/download.cgi

Release Notes – Maven Invoker Plugin – Version 3.1.0

Bugs:

  • MINVOKER-191 – “Artifact is not fully assembled” error with maven-invoker-plugin in parallel/multi thread build
  • MINVOKER-224 – Unable to set cloneProjectsTo to null

New Feature:

Improvement:

Tasks:

  • MINVOKER-228 – Improve documentation: “Using with other integration test frameworks” page
  • MINVOKER-237 – Upgrade to JDK 7 minimum.

Dependency upgrades:

Enjoy,

-The Apache Maven team

Apache Maven JavaDoc Plugin Version 3.0.1 Released

The Apache Maven team is pleased to announce the release of the Apache Maven JavaDoc Plugin, version 3.0.1.

The Javadoc Plugin uses the Javadoc tool to generate javadocs for the specified project.

1
2
3
4
5
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-javadoc-plugin</artifactId>
  <version>3.0.1</version>
</plugin>

You can download the appropriate sources etc. from the download page:

https://maven.apache.org/plugins/maven-javadoc-plugin/download.cgi

Release Notes – Apache Maven JavaDoc Plugin – Version 3.0.1

Bugs:

  • MJAVADOC-427 – “Error fetching URL” for valid non-Java API links
  • MJAVADOC-504 – NullPointerException in JavadocUtil.getJavaHome() when JAVA_HOME isn’t set
  • MJAVADOC-512 – Even when 1.8.0 matches there still is a warning.
  • MJAVADOC-517 – NPE under Java 10 RC

Improvements:

Dependency upgrades:

Enjoy,

-The Apache Maven team

Saturday May 26, 2018

Apache Maven Plugin Tools Version 3.5.2 Released

The Apache Maven team is pleased to announce the release of the Apache Maven Plugin Tools, version 3.5.2.

The Maven Plugin Tools contains the necessary tools to generate
rebarbative content like descriptor, help and documentation. In addition,
it provides tools to write Maven Plugins in scripting languages like Ant
or Beanshell.

The Maven Plugin Plugin is used to create a Maven plugin descriptor for
any Mojo’s found in the source tree, to include in the JAR. It is also
used to generate report files for the Mojos as well as for updating the
plugin registry, the artifact metadata and generating a generic help goal.

You should specify the version in your project’s plugin configuration:

1
2
3
4
5
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-plugin-plugin</artifactId>
  <version>3.5.2</version>
</plugin>

You can download the appropriate sources etc. from the download page.

Release Notes – Maven Plugin Tools – Version 3.5.2

Dependency upgrades:

Enjoy,

-The Apache Maven team

Thursday May 24, 2018

Apache Maven Dependency Plugin Version 3.1.1 Released

The Apache Maven team is pleased to announce the release of the Apache Maven Dependecy Plugin, version 3.1.1.

The dependency plugin provides the capability to manipulate artifacts. It can copy and/or unpack artifacts from local or remote repositories to a specified location.

https://maven.apache.org/plugins/maven-dependency-plugin/

You should specify the version in your project’s plugin configuration:

1
2
3
4
5
<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-dependency-plugin</artifactId>
    <version>3.1.1</version>
</plugin>

You can download the appropriate sources etc. from the download page:

https://maven.apache.org/plugins/maven-dependency-plugin/download.cgi

Release Notes – Maven Dependency Plugin – Version 3.1.1

Bug:

  • MDEP-607 – maven-dependency-plugin:3.1.0:analyze failed.: NullPointerException

Dependency upgrades:

  • MDEP-611 – Upgrade plexus-archiver to 3.6.0
  • MDEP-612 – Upgrade maven-dependency-analyzer to 1.10
  • MDEP-614 – Upgrade file-management to 3.0.0

Many thanks to all reporters/contributors/testers of this release.

Reporters:

  • MDEP-607: Filipe Sousa

Enjoy,

-The Apache Maven team

Sunday May 13, 2018

Apache Maven WAR Plugin Version 3.2.1 Released

The Apache Maven team is pleased to announce the release of the Apache Maven WAR Plugin, version 3.2.1.

The WAR Plugin is responsible for collecting all artifact dependencies, classes and resources of the web application and packaging them into a web application archive.

You should specify the version in your project’s plugin configuration:

1
2
3
4
5
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-war-plugin</artifactId>
  <version>3.2.1</version>
</plugin>

You can download the appropriate sources etc. from the download page.

Important Note:

  • Maven 3.X only
  • JDK 7 minimum requirement

Release Notes – Maven WAR Plugin – Version 3.1.0

Improvement:

Task:

  • MWAR-401 – Upgrade the WAR lifecycle to use the maven-compiler-plugin 3.7.0

Dependency upgrades:

  • MWAR-413 – Upgrade xstream to 1.4.10
  • MWAR-414 – Upgrade mave-surefire/failsafe-plugin 2.21.0
  • MWAR-416 – Upgrade plexus-archiver to 3.6.0

Enjoy,

-The Apache Maven team

Apache Maven EAR Plugin 3.0.1 Released

The Apache Maven team is pleased to announce the release of the Apache Maven EAR Plugin, version 3.0.1

This plugin generates Java EE Enterprise Archive (EAR) file. It can also generate the deployment descriptor file (e.g. application.xml).

You should specify the version in your project’s plugin configuration:

1
2
3
4
5
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-ear-plugin</artifactId>
  <version>3.0.1</version>
</plugin>

You can download the appropriate sources etc. from the download page.

Release Notes – Maven EAR Plugin – Version 3.0.1

Improvements:

  • MEAR-265 – Add documentation information for GitHub
  • MEAR-266 – Upgrade mave-surefire/failsafe-plugin 2.21.0

Dependency upgrade:

  • MEAR-268 – Upgrade plexus-archiver to 3.6.0

Enjoy,

-The Apache Maven team

Wednesday May 09, 2018

Apache Maven EJB Plugin Version 3.0.1 Released

The Apache Maven team is pleased to announce the release of the Apache Maven EJB Plugin Version 3.0.1.

This plugin generates J2EE Enterprise Javabean (EJB) file as well as the associated client jar.

Important Note since 3.0.1:

  • Maven 3.X only
  • JDK 7 minimum requirement
1
2
3
4
5
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-ejb-plugin</artifactId>
  <version>3.0.1</version>
</plugin>

Release Notes – Apache Maven EJB Plugin – Version 3.0.1

Bug:

  • MEJB-115 – Wrong default EJB version stated on Usage page

Tasks:

  • MEJB-116 – Clarify “properties removed” on intro page of site
  • MEJB-117 – Remove reference to old wiki page on intro page
  • MEJB-118 – Remove “J2EE” from plugin description and site

Dependency upgrades:

  • MEJB-119 – Upgrade parent to 31
  • MEJB-120 – Upgrade mave-surefire/failsafe-plugin 2.21.0
  • MEJB-121 – Add documentation information for GitHub

Enjoy,

-The Apache Maven team

Tuesday May 01, 2018

Apache Maven Resources Plugin Version 3.1.0 Released

The Apache Maven team is pleased to announce the release of the Apache Maven Resources Plugin, Version 3.1.0.

The Resources Plugin handles the copying of project resources to the output directory. There are two different kinds of resources: main resources and test resources. The difference is that the main resources are the resources associated to the main source code while the test resources are associated to the test source code.

Thus, this allows the separation of resources for the main source code and its unit tests.

Important Note:

  • Maven 3.X only
  • JDK 7 minimum requirement

Reporters for this release:

You should specify the version in your project’s plugin configuration:

1
2
3
4
5
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-resources-plugin</artifactId>
  <version>3.1.0</version>
</plugin>

You can download the appropriate sources etc. from the download page:

https://maven.apache.org/plugins/maven-resources-plugin/download.cgi

Release Notes – Apache Maven Resources Version 3.1.0

Bug:

Improvement:

Tasks:

Dependency upgrades:

Enjoy,

-The Apache Maven team

Sunday April 29, 2018

Apache Maven Site Plugin Version 3.7.1 Released

The Apache Maven team is pleased to announce the release of the Apache Maven Site Plugin, version 3.7.1.

The Site Plugin is used to generate a site for the project. The generated site also includes the project’s reports that were configured in the POM.

You can download the appropriate sources etc. from the download page:

https://maven.apache.org/plugins/maven-site-plugin/download.cgi

1
2
3
4
5
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-site-plugin</artifactId>
  <version>3.7.1</version>
</plugin>

Release Notes – Maven Site Plugin – Version 3.7.1

Bugs:

  • MSITE-806 – Site generation does not work when no report configured nor Doxia document provided
  • MSITE-809 – Documentation: examples/configuring-reports.html includes invalid XML
  • MSITE-812 – Missing ‘/’ in log when deploying documentation by site:stage
  • MSITE-817 – inherit edit value in site.xml
  • MSITE-818 – site:run fails to find locale when zh_CN is used

Improvements:

  • MSITE-811 – Upgrade parent to 31
  • MSITE-819 – improve display of site rendering with locale info

Wish:

  • MSITE-815 – highlight skin used to render site and documents statistics

Tasks:

  • MSITE-767 – Revert r1729902 caused by DOXIASITETOOLS-155 and fix ITs as soon as parent POMs and site.xml descriptors have been upgraded
  • MSITE-821 – add documentation on site plugin dependencies

Enjoy,

-The Apache Maven team

Saturday April 14, 2018

Apache Maven Clean Plugin Version 3.1.0 Released

The Apache Maven team is pleased to announce the release of the Apache Maven Clean Plugin, version 3.1.0.

The Clean Plugin is used when you want to remove files generated at build-time in a project’s directory.

Important Note:

  • Maven 3.X only
  • JDK 7 minimum requirement

You should specify the version in your project’s plugin configuration:

1
2
3
4
5
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-clean-plugin</artifactId>
  <version>3.1.0</version>
</plugin>

Release Notes – Maven Clean Plugin – Version 3.1.0

Bug:

  • MCLEAN-77 – Remove link to non-existing Codehaus wiki

Tasks:

  • MCLEAN-73 – Upgrade of maven-shared-utils to 3.0.1.
  • MCLEAN-74 – Upgrade of commons-io to 2.5.
  • MCLEAN-83 – Upgrade mave-surefire/failsafe-plugin 2.21.0
  • MCLEAN-84 – Lift JDK minimum to JDK 7

Dependency upgrades:

  • MCLEAN-75 – Upgrade maven-plugins to version 30
  • MCLEAN-80 – Upgrade maven-shared-utils to 3.2.0
  • MCLEAN-81 – Upgrade parent to 31
  • MCLEAN-85 – Upgrade maven-shared-utils to 3.2.1

Enjoy,

-The Apache Maven team

Calendar

Search

Hot Blogs (today's hits)

Tag Cloud

Categories

Feeds

Links

Navigation