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

Wednesday June 13, 2018

Notice: Java 6 and 7 users: SSL Protocol upgrades coming to Central

The march of standards continues unabated. Legacy TLS protocols 1.0 and 1.1 have varying weaknesses that could lead to a false sense of security.

In June, in an effort to raise security and comply with modern standards, the insecure TLS 1.0 & 1.1 protocols will no longer be supported for SSL connections to Central. This should only affect users of Java 6 that are also using https to access central, which by our metrics is less than .2% of users.

At the same time, this conversion will allow Central to support HTTP/2 with potential performance gains for modern http clients.

The details about why, when and what you need to do are documented at the link below. As questions come up, we will continue to update this faq.

If there is specific information required for non-maven build systems, please send it along and we will include that as well.

https://central.sonatype.org/articles/2018/May/04/discontinue-support-for-tlsv11-and-below/

The same content has been posted as a blog to make it easier to disseminate here: https://blog.sonatype.com/enhancing-ssl-security-and-http/2-support-for-central

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

Apache Maven Wagon 3.1.0 Released

The Apache Maven team is pleased to announce the release of Apache Maven Wagon 3.1.0.

Apache Maven Wagon is a transport abstraction that is used in Mavens artifact and repository handling code.

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

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

Release Notes – Maven Wagon – Version 3.1.0

Bugs:

  • WAGON-452 – RelaxedTrustStrategy does not handle multiple certificates
  • WAGON-493 – Maven wagon-scm documentation is erroneous
  • WAGON-495 – Fix checkoutDirectory leak
  • WAGON-496 – site-deploy using wagon-ssh broke in 2.12 because of the fix for WAGON-465
  • WAGON-497 – ScmWagon#put() strips parent dirs from the target path if they already exist in SCM
  • WAGON-498 – ScmWagon should work in binary and shallow mode when possible
  • WAGON-499 – apache-rat complains about Eclipse .checkstyle files
  • WAGON-503 – Directory gives out of date error in putDirectory() to a non-empty Subversion repo
  • WAGON-518 – AbstractHttpClientWagon#putFromStream() reads entire content to memory

New Feature:

Improvement:

  • WAGON-482 – Use sparse files in HugeFileDownloadTest with Java 7

Task:

  • WAGON-504 – switch from Git-WIP to Gitbox

Dependency upgrades:

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 Shared Maven Invoker Version 3.1.0 Released

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

This API is concerned with firing a Maven build in a new JVM. It accomplishes its task by building up a conventional Maven command line from options given in the current request, along with those global options specified in the invoker itself. Once it has the command line, the invoker will execute it, and capture the resulting exit code or any exception thrown to signal a failure to execute. Input/output control can be specified using an InputStream and up to two InvocationOutputHandlers.

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

1
2
3
4
5
6
7
<dependencies>
  <dependency>
    <groupId>org.apache.maven.shared</groupId>
    <artifactId>maven-invoker</artifactId>
    <version>3.1.0</version>
  </dependency>
</dependencies>

Release Notes – Maven Shared Components – Version maven-invoker-3.1.0

Improvement:

  • MSHARED-702 – Remove hard coded versions for plexus-component-annotations/plexus-component-metadata

Tasks:

  • MSHARED-625 – Refactored to use ‘maven-shared-utils’ instead of ‘plexus-utils’.
  • MSHARED-729 – 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

Monday May 28, 2018

Apache Maven SCM Version 1.10.0 Released

The Apache Maven team is pleased to announce the release of the Apache Maven SCM, version 1.10.0.

Maven SCM supports Maven 2.x plugins (e.g. maven-release-plugin) and other tools (e.g. Continuum) by providing them with a common API for doing SCM operations. You can look at the list of SCMs for more information on using Maven SCM with your favorite SCM tool.

Release Notes – Maven SCM Version 1.10.0

Bugs:

  • SCM-763 – Password masking for svnexe does not handle all cases
  • SCM-797 – gitexe checkIn() fails due to Windows command line length limitation
  • SCM-814 – Dead links on Maven SCM plugin usage page and Maven SCM Providers Matrix page
  • SCM-818 – Updating doesn’t work when in detached HEAD
  • SCM-821 – fix incorrect resolving of branch name from HG outgoing changes && NPE in HgUtils.differentOutgoingBranchFound
  • SCM-829 – CommandParameter incorrectly removed from parameter list
  • SCM-836 – scm:bootstrap throws NPE
  • SCM-846 – userInfo in Git HTTP URLs not escaped according to RFC 3986
  • SCM-862 – apache-rat complains about Eclipse .checkstyle files
  • SCM-863 – NPE in GlobalOptions.setCVSRoot(null) with newer cvsclient
  • SCM-865 – cvsnt: rls: invalid option — d
  • SCM-866 – Cvs ScmProvider.list() does not return correct entries
  • SCM-867 – ScmWagon has no way to work with CVS and SVN in binary mode
  • SCM-868 – gitexe add() does not return added files when invoked in subdir
  • SCM-869 – gitexe list() implemented incorrectly
  • SCM-874 – ScmResult output password masking does not handle multiline text
  • SCM-875 – GitUpdateCommand assumes master branch by default
  • SCM-878 – AbstractConsumer#parseDate() logs wrong locale in case of a ParseException
  • SCM-879 – JazzChangeLogCommandTest#testListChangesetConsumerWithTimeOnly() fails with NPE on Java 10
  • SCM-881 – ScmWagon has no way to work with SVN in binary mode
  • SCM-882 – ScmWagon has no way to work with GIT in binary mode
  • SCM-886 – Tests with checkin rely on global git config
  • SCM-887 – Plexus Utils 3.0.24 makes some tests fail
  • SCM-888 – Changelog generation fails on Windows with Mercurial SCM

Improvements:

  • SCM-739 – Release Plugin: Use “git —depth 1” When Checking Out
  • SCM-748 – Automatically create parent dirs with ‘svn —parents’
  • SCM-855 – Upgrade to Java 7
  • SCM-873 – Improve documentation on svn-settings.xml and git-settings.xml
  • SCM-884 – Upgrade jgit to last version of java 7 release (4.5.0.201609210915-r)
  • SCM-885 – Extend GitChangeLogCommand by using revision only

Task:

  • SCM-876 – switch from Git-WIP to Gitbox

Dependency upgrade:

  • SCM-824 – Upgrade Plexus Utils to 3.0.24

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

Thursday May 17, 2018

Apache Maven Shared Component: Maven Dependency Analyzer Version 1.10 Released

The Apache Maven team is pleased to announce the release of the Apache Shared Component: Apache Maven Dependency Analyzer Version 1.10

Analyzes the dependencies of a project for undeclared or unused artifacts.

1
2
3
4
5
<plugin>
  <groupId>org.apache.maven.shared</groupId>
  <artifactId>maven-dependency-analyzer</artifactId>
  <version>1.10</version>
</plugin>

Release Notes

Dependency upgrade:

  • MSHARED-718 – Upgrade asm to most recent version 6.1.1

Enjoy,

-The 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

Calendar

Search

Hot Blogs (today's hits)

Tag Cloud

Categories

Feeds

Links

Navigation