Apache Maven

Saturday June 23, 2018

Apache Maven ACR Plugin Version 3.1.0

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

This plugin generates J2EE Application Client file.

Important Note: This is a Maven 3.X only plugin and needs JDK 7 to run.

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

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

Release Notes – Apache Maven ACR Version 3.1.0

Bugs:

  • MACR-41 – Upgrade of plexus-interpolation 1.24 to correct escaping issue.
  • MACR-44 – Upgrade mave-surefire/failsafe-plugin 2.21.0

Improvement:

  • MACR-30 – Add LifecycleMapping and ArtifactHandler from maven-core to target packaging plugin

Dependency upgrades:

  • MACR-28 – Upgrade plexus-archiver from 3.0.1 to 3.0.3
  • MACR-29 – Upgrade plexus-archiver from 3.0.3 to 3.1
  • MACR-31 – Upgrade plexus-archiver from 3.1 to 3.1.1 / maven-archiver from 3.0.0 to 3.0.2
  • MACR-32 – Dependency updates.
  • MACR-33 – Upgrade to maven-plugins version 30
  • MACR-34 – Upgrade of ‘plexus-archiver’ to version 3.3.
  • MACR-35 – Upgrade maven-archiver to 3.1.0
  • MACR-36 – Upgrade maven-filtering to 3.1.1
  • MACR-37 – Upgrade plexus-interpolation to 1.22
  • MACR-38 – Upgrade maven-archiver to 3.1.0
  • MACR-39 – Upgrade of plexus-archiver to 3.4.
  • MACR-40 – Upgrade of maven-archiver to 3.1.1.
  • MACR-42 – Upgrade parent to 31
  • MACR-43 – Upgrade plexus-utils 3.1.0 / maven-archiver / plexus-achiver
  • MACR-45 – Upgrade plexus-archiver to 3.6.0
  • MACR-46 – Upgrade plexus-interpolation to 1.25

Enjoy,

-The Apache Maven team

Friday June 22, 2018

Apache Maven Release 3.5.4

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

Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project’s build, reporting and documentation from a central piece of information.

You can find out more about Apache Maven at https://maven.apache.org

You can download the appropriate sources etc. from the download page: https://maven.apache.org/download.cgi

Contributors

The Apache Maven value community before code and so firstly the team would like to thank the following contributors, without whom this release would not have been possible:

Code contributors:

Issue reporters:

  • Falko Modler
  • Jarkko Rantavuori
  • Łukasz Dywicki
  • Mike Kelly
  • Sylwester Lachiewicz

Community testers participating in voting for this release:

  • Dejan Stojadinovic
  • Enrico Olivelli
  • Romain Manni-Bucau

Thank you all for your time and feedback (and apologies if we have missed anyone)

Release Notes – Maven – Version 3.5.4

Bugs:

  • MNG-6370 – ConcurrencyDependencyGraph#getNumberOfBuilds() does not remove finished projects from unfinished ones
  • MNG-6372 – On Windows Maven can output spurious ANSI escapes such as [0m [0m
  • MNG-6382 – JANSI fails frequently with NumberFormatException when building in parallel
  • MNG-6386 – ${project.baseUri} is not a valid URI (according to RFC 3986)
  • MNG-6388 – Error Fetching Artifacts: “[B cannot be cast to java.lang.String”
  • MNG-6403 – Artifact#VERSION_FILE_PATTERN does not escape period between date and time
  • MNG-6410 – Add groupId to —resume-from suggestion if artifactId is not unique in reactor

Improvements:

  • MNG-5756 – Java home output in mvn -v is misleading
  • MNG-5940 – Change the maven-source-plugin jar goal into jar-no-fork in Maven Super POM
  • MNG-6362 – Add documentation information for GitHub
  • MNG-6363 – Remove secret thread configuration property from code
  • MNG-6364 – Enhanced Jenkinsfile to test Core with JDK 9
  • MNG-6411 – Improve readability of project list returned when —resume-from option value is invalid

Task:

  • MNG-6377 – switch from Git-WIP to Gitbox

Dependency upgrades:

Share and Enjoy,

-The Apache Maven team

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

Calendar

Search

Hot Blogs (today's hits)

Tag Cloud

Categories

Feeds

Links

Navigation