Apache Maven

Wednesday December 12, 2018

Apache Maven Jar Plugin Version 3.1.1

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

This plugin provides the capability to build jars.

Important Note:

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

Release Notes – Maven JAR Plugin – Version 3.1.1

Bug:

  • MJAR-241 – Jar package does not have a size in ZipEntry

Improvement:

  • MJAR-260 – Upgrade to Archiver 3.3.0 and add ITs

Task:

  • MJAR-251 – Add documentation information for GitHub

Dependency upgrades:

  • MJAR-252 – Upgrade plexus-archiver to 3.6.0
  • MJAR-255 – Upgrade maven-plugins parent to version 32
  • MJAR-256 – Upgrade JUnit to 4.12
  • MJAR-261 – Upgrade plexus-archiver 3.7.0

Enjoy,

  • The Apache Maven team

Apache Maven Help Plugin Version 3.1.1 Released

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

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.1</version>
</plugin>

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

Release Notes – Maven Help Plugin – Version 3.1.1

Improvement:

  • MPH-154 – The output of the plugin should be flushed when using forceStdout

Dependency upgrades:

  • MPH-153 – Upgrade maven-plugins parent to version 32
  • MPH-156 – Upgrade maven-artifact-transfer to 0.10.0
  • MPH-157 – Upgrade plexus-interactivity-api 1.0-alpha-6
  • MPH-158 – Upgrade xstream 1.4.11.1
  • MPH-159 – Upgrade JUnit 4.12

Enjoy,

-The Apache Maven team

Apache Maven Shared Component: Maven Dependency Analyzer Version 1.11.0 Released

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

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.11.0</version>
</plugin>

Release Notes

Improvements:

Dependency upgrades:

Enjoy,

-The Maven team

Karl-Heinz Marbaise

Saturday November 24, 2018

Apache Maven Shared Component: Maven Archiver Version 3.3.0 Released

The Apache Maven team is pleased to announce the release of the Maven Archiver, version 3.3.0.

The Maven Archiver is mainly used by plugins to handle packaging. The version numbers referenced in the Since column on this page are the version of the Maven Archiver component – not for any specific plugin. To see which version of Maven Archiver a plugin uses, go to the site for that plugin.

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

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

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

Important Notes since Version 3.3.0:

  • Maven 3.X only
  • JDK 7 minimum requirement

Release Notes – Maven Archiver – Version 3.3.0

Improvement:

  • MSHARED-773 – Fail on invalid ‘Automatic-Module-Name’ in MANIFEST

Dependency upgrades:

Enjoy,

-The Apache Maven team

Monday November 12, 2018

Apache Maven Shade Plugin Version 3.2.1

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

This plugin provides the capability to package the artifact in an uber-jar, including its dependencies and to shade – i.e. rename – the packages of some of the dependencies.

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-shade-plugin</artifactId>
  <version>3.2.1</version>
</plugin>

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

Release Notes – Maven Shade Plugin – Version 3.2.1

Bug:

  • MSHADE-302 – maven-shade-plugin fails to minimize JAR with Java 11

Improvement:

  • MSHADE-303 – Suppress module-info.class warning if the file if filtered

Task:

Dependency upgrade:

  • MSHADE-299 – Upgrade maven-dependency-tree to 3.0.1

Enjoy,

-The Apache Maven team

Thursday November 01, 2018

Apache Maven Plugin Tools Version 3.6.0 Released

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

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.6.0</version>
</plugin>

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

Release Notes – Maven Plugin Tools – Version 3.6.0

Bugs:

  • MPLUGIN-336 – broken in JDK 10/JDK 11 – IllegalArgumentException
  • MPLUGIN-337 – Try to derive JDK requirements also from release parameter

Tasks:

  • MPLUGIN-332 – remove plugin:updateRegistry goal, which is unused in Maven 3
  • MPLUGIN-344 – Upgrade plexus-archiver 3.6.0

Dependency upgrade:

Enjoy,

-The Apache Maven team

Apache Maven Release 3.6.0

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

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

Code Contributors of this release:

  • Christoph Kunze
  • David Churcher

Issue Reporters of this release:

  • Richard van der Hoff
  • Jörg Sesterhenn
  • Andreas Sewe
  • David Churcher
  • Adam John Burley
  • Alexander Griesbaum
  • Christoph Amshoff
  • Seckin Onur Selamet
  • Phillip Webb
  • John Canny
  • Hoa Phan

Many thanks to contributors and reporters for the support and time.

Participants to the VOTE of the Maven 3.6.0 Release:

  • Filipe Sousa
  • Eric Lilja
  • Enrico Olivelli
  • Gary Gregory
  • Thomas Collignon

Many thanks to those who tested the Maven releases and thanks for their support as well.

Release Notes – Maven – Version 3.6.0

Bugs:

  • MNG-6311 – Maven intolerably slow when import scope used heavily in large project
  • MNG-6358 – Maven build should not require access to apache.org
  • MNG-6383 – ProjectBuilder unnecessarily rebuilds modules with ci-friendly versions
  • MNG-6412 – Exceeding project discovery time when using CI friendly versions
  • MNG-6415 – Project Artifacts Cache does not retain the order of classpath entries.
  • MNG-6472 – Mockito cannot mock this class: interface org.eclipse.aether.impl.RepositoryEventDispatcher
  • MNG-6490 – Maven shall not fail reporting circular dependency when the dependency is a classified secondary artifact

Improvements:

  • MNG-4508 – No way to avoid adding artifactId to site urls
  • MNG-5951 – add an option to avoid path addition to inherited URLs
  • MNG-6059 – Important use cases not covered, as child.inherit.append.path affects all children
  • MNG-6164 – Collections inconsistently immutable
  • MNG-6391 – Printout version of last built module in reactor build
  • MNG-6414 – Add more Apache license header patterns to skip downloading Apache license
  • MNG-6467 – Remove plugin definition from pom file which is inherited
  • MNG-6480 – Eclipse.org site is down, and you are unable to build Maven?
  • MNG-6492 – Minor improvement on Array construction, converson

Task:

  • MNG-6475 – Remove guava dependencies

Dependency upgrades:

  • MNG-6424 – Upgrade plexus-interpolation to 1.25
  • MNG-6449 – Upgrade parent to 32
  • MNG-6473 – Update Mockito to 2.21.0
  • MNG-6478 – Upgrade parent to 33 for sha512 checksum on release
  • MNG-6479 – Upgrade XMLUnit to 2.2.1
  • MNG-6486 – Upgrade to Wagon 3.2.0
  • MNG-6489 – Upgrade Maven Resolver to 1.3.0
  • MNG-6491 – Upgrade commons-lang3 to 3.8.1
  • MNG-6496 – Upgrade Maven Resolver to 1.3.1
  • MNG-6497 – Upgrade guice to 4.2.1

  • The Apache Maven team

Apache Maven Remote Resources Plugin Version 1.6.0 Released

The Apache Maven team is pleased to announce the release of the Apache Maven Remote Resources Plugin, version 1.6.0

This plugin is used to retrieve JARs of resources from remote repositories, process those resources, and incorporate them into JARs you build with Maven.

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-remote-resources-plugin</artifactId>
  <version>1.6.0</version>
</plugin>

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

Release Notes – Apache Maven Remote Resources Plugin – Version 1.6.0

Bugs:

  • MRRESOURCES-70 – SVN settings: eol-style and keywords
  • MRRESOURCES-73 – remote resources depends on unavailable maven filtering verison
  • MRRESOURCES-74 – maven remote resources plugin not compatible with Java 8
  • MRRESOURCES-75 – Currently running -Prun-its clean verify – fails
  • MRRESOURCES-76 – Updated plexus-interpolation to fix possible concurrency issues
  • MRRESOURCES-91 – Avoid overwrite of the destination file if the produced contents is the same
  • MRRESOURCES-94 – Performance issue in ProcessRemoteResourcesMojo.configureVelocityContext(…)
  • MRRESOURCES-101 – NPE – Error rendering velocity resource

Improvements:

Wish:

  • MRRESOURCES-111 – add INFO message on number of resources bundled/copied

Dependency upgrades:

Enjoy,

-The Apache Maven team

Wednesday October 31, 2018

Apache Maven Shared Component: Jarsigner, Version 3.0.0 Released

The Apache Maven team is pleased to announce the release of the Apache Maven Jarsigner, version 3.0.0.

This component provides some utilities to sign/verify jars/files in your Mojos.

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

You should specify the component in your pom file like this:

1
2
3
4
5
<dependency>
  <groupId>org.apache.maven.shared</groupId>
  <artifactId>maven-jarsigner</artifactId>
  <version>3.0.0</version>
</dependency>

Release Notes – Maven Shared Component – Maven Jarsigner – Version 3.0.0.

Bug:

  • MSHARED-654 – Add support of the “certchain” parameter in JarSigner sign operation

Improvements:

  • MSHARED-507 – Upgrade maven-shared-components parent to version 22
  • MSHARED-508 – Upgrade maven-shared-utils to 3.0.0
  • MSHARED-510 – Add missing apache-rat-plugin configuration for keystore
  • MSHARED-530 – Upgrade maven-shared-components parent to version 30
  • MSHARED-764 – Upgrade to JDK 1.7

Tasks:

  • MSHARED-509 – Upgrade Maven 3.X Only JDK 1.6
  • MSHARED-626 – Upgrade of ‘maven-shared-utils’ to 3.2.0.

Dependency upgrades:

Enjoy,

  • The Apache Maven team

Friday October 26, 2018

Apache Maven PMD Plugin 3.11.0 Released

The Maven team is pleased to announce the release of the Apache Maven PMD Plugin, version 3.11.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.

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.11.0</version>
</plugin>

Release Notes – Apache Maven PMD Plugin – Version 3.11.0

Bugs:

  • MPMD-268 – Missing warnings about deprecated rules
  • MPMD-266 – Aggregate report in multi-module projects does not use correct auxclasspath

New Feature:

  • MPMD-272 – Support ignoreAnnotations options for CPD

Tasks:

Enjoy,

-The Maven team

Monday October 15, 2018

Apache Maven Resolver, version 1.3.1 Released

The Apache Maven team is pleased to announce the release of the Apache Maven Resolver, version 1.3.1

Apache Maven Artifact Resolver is a library for working with artifact repositories and dependency resolution.

Maven Artifact Resolver deals with the specification of local repository, remote repository, developer workspaces, artifact transports and artifact resolution.

It is expected to be extended by concrete repository implementation, like Maven Artifact Resolver Provider for Maven repositories or any other provider for other repository formats.

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

Release Notes – Maven Resolver – Version Maven Artifact Resolver 1.3.1

Bug:

  • MRESOLVER-60 – Possible NPE when calling RepositorySystemSession.getFileTransformerManager(

Enjoy,

  • The Apache Maven team

Sunday October 14, 2018

Apache Maven Surefire Plugin version 2.22.1 Released

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

The release contains 17 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.1</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.1</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.1</version>
</plugin>

Release Notes – Maven Surefire – Version 2.22.1

Bugs:

  • SUREFIRE-1532 – MIME type for javascript is now officially application/javascript
  • SUREFIRE-1535 – Surefire unable to run testng suites in parallel
  • SUREFIRE-1538 – Git considers PNG files as changed although there is no change
  • SUREFIRE-1550 – The surefire XSD published on maven site lacks of some rerun element
  • SUREFIRE-1559 – XML Report elements rerunError, rerunFailure, flakyFailure, flakyError should contain element stackTrace and should not be simpleContent.
  • SUREFIRE-1561 – Logs in Parallel Tests are mixed up when forkMode=never or forkCount=0
  • SUREFIRE-1564 – Can’t override platform version through project/plugin dependencies
  • SUREFIRE-1579 – Forks mixed up characters in standard output

Improvements:

  • SUREFIRE-1552 – Nil element “failureMessage” in failsafe-summary.xml should have self closed tag
  • SUREFIRE-1554 – Fix old test resources TEST-*.xml in favor of continuing with SUREFIRE-1550
  • SUREFIRE-1555 – Elapsed time in XML Report should satisfy pattern in XSD.
  • SUREFIRE-1562 – Support Java 11
  • SUREFIRE-1565 – Surefire should support parameterized reportsDirectory

Tasks:

  • SUREFIRE-1569 – m-invoker-p:3.1.0 attempts to reolve maven-surefire-common:jar:2.22.1-SNAPSHOT from remote repo ‘apache.snapshots’
  • SUREFIRE-1578 – Remove obsolete module surefire-setup-integration-tests

Dependency upgrades:

Enjoy,

-The Apache Maven team

Tuesday October 09, 2018

Apache Maven Resolver, version 1.3.0 Released

The Apache Maven team is pleased to announce the release of the Apache Maven Resolver, version 1.3.0

Apache Maven Artifact Resolver is a library for working with artifact repositories and dependency resolution.

Maven Artifact Resolver deals with the specification of local repository, remote repository, developer workspaces, artifact transports and artifact resolution.

It is expected to be extended by concrete repository implementation, like Maven Artifact Resolver Provider for Maven repositories or any other provider for other repository formats.

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

Release Notes – Maven Resolver – Version Maven Artifact Resolver 1.3.0

Bugs:

New Feature:

  • MRESOLVER-46 – Add support InputStream/OutputStream transformers

Improvements:

  • MRESOLVER-31 – Use the Felix Bundle Plugin to generate OSGi metadata
  • MRESOLVER-35 – Move dependency collector and friends to subpackage in maven-resolver-impl
  • MRESOLVER-36 – SLFJ – remove LoggerFactory from dependency injection
  • MRESOLVER-42 – Use pre-compiled pattern in DefaultArtifact constructor
  • MRESOLVER-47 – Link to older Aether Wiki in Eclipse on front page
  • MRESOLVER-48 – Add default Travis CI configuration for Java 7, 8, 10

Task:

Dependency upgrades:

Enjoy,

-The Apache Maven team

Monday October 01, 2018

Apache Maven Deploy Plugin Version 3.0.0-M1

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

The deploy plugin is primarily used during the deploy phase, to add your artifact(s) to a remote repository for sharing with other developers and projects. This is usually done in an integration or release environment. It can also be used to deploy a particular artifact (e.g. a third party jar like Sun’s non redistributable reference implementations).

Important Note since 3.0.0-M1:

  • Maven 3.X only
  • Minimum JDK 7+
  • The maven-deploy-plugin will generate the needed checksums during the transfer to your remote repository.

Usage Note:

  • Use the maven-deploy-plugin version 3.0.0-M1 only in combintation with the maven-install-plugin version 3.0.0-M1.
1
2
3
4
5
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-deploy-plugin</artifactId>
  <version>3.0.0-M1</version>
</plugin>

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

Release Notes – Maven Deploy Plugin Version 3.0.0-M1.

Bugs:

  • MDEPLOY-194 – Deploy SSH external: copy and paste failure in POM snippet comment
  • MDEPLOY-211 – uniqueVersion broken (if not supported, should be removed from doc, and warning printed)
  • MDEPLOY-212 – deploy-file incorrectly deploys attached artifacts
  • MDEPLOY-213 – deploy-file replaces main artifact of a project
  • MDEPLOY-215 – Remove link to non-existing Codehaus wiki

New Feature:

  • MDEPLOY-178 – Use information provided in pom.xml of JAR

Improvements:

  • MDEPLOY-171 – Remove deprecated readonly parameters
  • MDEPLOY-187 – Upgrade to Maven 3.0 compatiblity
  • MDEPLOY-205 – MavenProject with only attachments must have packaging “pom”
  • MDEPLOY-207 – Remove @Deprecated marked code
  • MDEPLOY-222 – Issue Tracking in pom.xml points to outdated Codehaus site
  • MDEPLOY-231 – Move checksum generation from install to deploy plugin
  • MDEPLOY-232 – Using maven-fluido-skin 1.7
  • MDEPLOY-233 – Remove unused code
  • MDEPLOY-240 – Remove updateReleaseInfo parameter

Tasks:

Sub-task:

  • MDEPLOY-202 – deploy-file goal insists on deploying source file for previous deploy-file execution

Dependency upgrades:

Enjoy,

-The Apache Maven team

Apache Maven Install Plugin Version 3.0.0-M1 Released

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

The Install Plugin is used during the install phase to add artifact(s) to the local repository. The Install Plugin uses the information in the POM (groupId, artifactId, version) to determine the proper location for the artifact within the local repository.

Important Note since 3.0.0-M1:

  • Maven 3.X only
  • Minimum JDK 7+
  • The maven-install-plugin does not generate any kind of checksum anymore.

Usage Note:

  • Use the maven-install-plugin 3.0.0-M1 only in combination with the maven-deploy-plugin 3.0.0-M1.
1
2
3
4
5
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-install-plugin</artifactId>
  <version>3.0.0-M1</version>
</plugin>

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

Release Notes – Maven Install Plugin Version 3.0.0-M1

Bugs:

  • MINSTALL-121 – The packaging property should not be used for the file extension
  • MINSTALL-130 – Remove link to non-existing Codehaus wiki

Improvements:

  • MINSTALL-110 – install-file should also install bundled pom.xml from artifact.
  • MINSTALL-114 – Plugin shouldn’t depend on maven-compat dependency
  • MINSTALL-118 – MavenProject with only attachments must have packaging “pom”
  • MINSTALL-124 – Remove hard code version for maven-invoker-plugin
  • MINSTALL-128 – Replace usage of the deprecated ArtifactFactory
  • MINSTALL-134 – Remove checksum generation
  • MINSTALL-136 – Removed unused dependency
  • MINSTALL-143 – Move checksum generation from install to deploy plugin

Tasks:

Dependency upgrades:

Enjoy,

-The Apache Maven team

Calendar

Search

Hot Blogs (today's hits)

Tag Cloud

Categories

Feeds

Links

Navigation