Apache Maven

Wednesday January 11, 2023

Apache Maven Surefire/Failsafe Plugin Version 3.0.0-M8 Released

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

The release contains 18 fixes and enhancements. 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<plugin>
2  <groupId>org.apache.maven.plugins</groupId>
3  <artifactId>maven-surefire-plugin</artifactId>
4  <version>3.0.0-M8</version>
5</plugin>

or for failsafe:

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

or for surefire-report:

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

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

Release Notes - Maven Surefire - Version 3.0.0-M8

  • Bugs:

    • SUREFIRE-2032 - When declare the @Disabled annotation at the class level, skip displayed in other test class
    • SUREFIRE-2082 - Huge test sets may open too many files
    • SUREFIRE-2090 - Xref link to source code with specified line number doesn't work. Missing "L" in anchor
    • SUREFIRE-2101 - Phrased test names with missing @DisplayName result in a "null" test name
    • SUREFIRE-2109 - User cannot write temporary file to surefire/ temp directory
    • SUREFIRE-2117 - XML report omits package and outer class name for tests in @Nested inner class if testset reporter is configured to use phrased naming
    • SUREFIRE-2135 - On Unix-like OS and JDK 18+ Surefire kills the forked JVM if PpidChecker is active and argLine is set to -Dfile.encoding=UTF-16
  • New Feature

  • Improvements:

    • SUREFIRE-1654 - Remove deprecated parameter 'forkMode' and use only 'forkCount'
    • SUREFIRE-1962 - Unit test for ProviderInfo#isApplicable
    • SUREFIRE-2100 - Improve behaviour for surefire-report goal with aggregate parameter
    • SUREFIRE-2133 - Make anchors start before the headings
    • SUREFIRE-2136 - UmlautDirIT: Revert special paths with colon in it to regular ones after test
    • SUREFIRE-2138 - Update JUnit versions used in docs/ITs
  • Tasks:

    • SUREFIRE-2122 - Document how to develop on Surefire using IntelliJ
    • SUREFIRE-2126 - Use the latest surefire version 3.0.0-M7 with self testing
    • SUREFIRE-2137 - Run junit jupiter platform ITs with latest 5.8.x and 5.9.x as well
  • Dependency upgrade

    • SUREFIRE-2129 - Upgrade Maven Reporting API to 3.1.1/Maven Reporting Impl to 3.2.0

Enjoy,

-The Apache Maven team

Apache Maven Dependency Plugin Version 3.5.0 Released

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

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<plugin>
2    <groupId>org.apache.maven.plugins</groupId>
3    <artifactId>maven-dependency-plugin</artifactId>
4    <version>3.5.0</version>
5</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.5.0

  • Improvement

    • MDEP-831 - Remove not used dependencies / Replace parts
  • Task

    • MDEP-841 - Explicitly start and end tables with Doxia Sinks in report renderers
  • Dependency upgrade

Enjoy,

-The Apache Maven team

Apache Maven PMD Plugin, version 3.20.0 Released

The Maven team is pleased to announce the release of the Apache Maven PMD Plugin, version 3.20.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<plugin>
2  <groupId>org.apache.maven.plugins</groupId>
3  <artifactId>maven-pmd-plugin</artifactId>
4  <version>3.20.0</version>
5</plugin>

Release Notes - Apache Maven PMD Plugin - Version 3.20.0

  • Bug

    • MPMD-335 - Aggregate mode doesn't use additional repositories
  • Task

    • MPMD-361 - Explicitly start and end tables with Doxia Sinks in report renderers
  • Dependency upgrades

Enjoy,

  • The Maven team

Maven Project Info Reports Plugin version 3.4.2 - released

The Apache Maven team is pleased to announce the release of the Maven Project Info Reports Plugin version 3.4.2

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

1<plugin>
2  <groupId>org.apache.maven.plugins</groupId>
3  <artifactId>maven-project-info-reports-plugin</artifactId>
4  <version>3.4.2</version>
5</plugin>

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

Release Notes - Maven Project Info Reports Plugin - Version 3.4.2

  • Bug

    • MPIR-425 - Verbatim content should be rendered as plain text
  • Tasks

    • MPIR-426 - Remove Apache Buildr from Dependency Information Report
    • MPIR-427 - Explicitly start and end tables with Doxia Sinks in report renderers

Enjoy,

-The Apache Maven team

Saturday October 22, 2022

Apache Maven EAR Plugin Version 3.3.0 Released

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

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:

NOTE:

  • Requires JDK8 as minimum
  • Requires Maven 3.2.5+ as minimum.
1<plugin>
2  <groupId>org.apache.maven.plugins</groupId>
3  <artifactId>maven-ear-plugin</artifactId>
4  <version>3.3.0</version>
5</plugin>

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

Release Notes - Maven EAR Plugin - Version 3.3.0

  • Bugs:

    • MEAR-297 - failure when building javadoc: maven-plugin-tools-javadoc:jar:3.6.0 is missing
    • MEAR-301 - wrong repackaging when defaultLibBundleDir start with dot
  • New Features:

  • Improvements:

    • MEAR-298 - Improving EAR packaging performance with ZipFileSystem
    • MEAR-319 - Remove generated MANIFEST from outdated resources
    • MEAR-321 - Remove not implemented parameter - useBaseVersion
  • Tasks:

  • Dependency upgrades:

    • MEAR-310 - Upgrade Parent to 37
    • MEAR-312 - Upgrade Maven Verifier to 2.0.0-M1
    • MEAR-313 - Bump maven-filtering from 3.2.0 to 3.3.0
    • MEAR-314 - Bump plexus-archiver from 4.2.4 to 4.5.0
    • MEAR-315 - Bump maven-archiver from 3.5.1 to 3.6.0
    • MEAR-316 - Bump plexus-io from 3.2.0 to 3.4.0
    • MEAR-317 - Bump maven-shared-utils from 3.3.3 to 3.3.4
    • MEAR-320 - Bump plexus-utils from 3.3.0 to 3.4.2

Enjoy,

-The Apache Maven team

Wednesday October 19, 2022

Apache Maven Doxia Version 2.0.0-M4 released

The Apache Maven team is pleased to announce the release of the Apache Maven Doxia Version 2.0.0-M4, Released

Doxia is a content generation framework which aims to provide its users with powerful techniques for generating static and dynamic content: Doxia can be used in web-based publishing context to generate static sites, in addition to being incorporated into dynamic content generation systems like blogs, wikis and content management systems.

Release Notes - Maven Doxia base - Version 2.0.0-M4

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

Release Notes - Maven Doxia - Version 2.0.0-M4

  • Tasks:

    • DOXIA-663 - Remove deprecated XHTML module
    • DOXIA-666 - Remove code duplication Xhtml5Sink
    • DOXIA-670 - Drop dead XdocSink#link(String, String) method
    • DOXIA-673 - Remove compat handling of absent Sink#tableRows() calls
  • Sub-tasks:

    • DOXIA-599 - Replace <a /> element's name attribute with id attribute
    • DOXIA-668 - Remove all obsolete attributes in HTML5
    • DOXIA-672 - Parse id attribute only on <a /> elements by default
    • DOXIA-674 - Replace table border handling with new CSS class
    • DOXIA-675 - Replace table alignment attributes with CSS styles
  • Bugs:

    • DOXIA-598 - Generated XHTML5 content does not pass W3 HTML5 Validation Service
    • DOXIA-662 - Non unique IDs generated by IndexingSink
    • DOXIA-671 - Double quotes contained in markdown page are removed in HTML output
  • Improvements:

    • DOXIA-665 - Add anchors around FML parts
    • DOXIA-667 - Add <summary> and <details> to recognized tag list
    • DOXIA-669 - Improve/rework CachedFileEntityResolver
    • DOXIA-676 - Remove all obsolete elements in HTML5 and add new ones
  • Dependency upgrade:

Enjoy,

-The Apache Maven team

Monday October 10, 2022

Apache Maven Daemon Version 0.8.2 Released

The Apache Maven team is pleased to announce the release of the Maven Daemon, version 0.8.2.

Apache Maven Daemon is a daemon infrastructure for Maven with caching capabilities and a native client for a better and faster user experience.

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

Release Notes - Maven Daemon Version 0.8.2

Enjoy,

-The Apache Maven team

Monday September 26, 2022

Apache Maven Shared Component: Maven Verifier Version 2.0.0-M1 Released

The Apache Maven team is pleased to announce the release of the Maven Verifier, version 2.0.0-M1.

This library provides a test harness for Maven integration tests.

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

1<dependency>
2    <groupId>org.apache.maven.shared</groupId>
3    <artifactId>maven-verifier</artifactId>
4    <version>2.0.0-M1</version>
5</dependency>

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

Release Notes - Maven Verifier - Version 2.0.0-M1

  • Improvements:

    • MSHARED-690 - Change package from org.apache.maven.it to org.apache.maven.shared.verifier
    • MSHARED-1124 - Add new version of methods filterFile and newDefaultFilterMap
    • MSHARED-1125 - Require Maven args to be provided one by one
    • MSHARED-1127 - Remove main method from Verifier
    • MSHARED-1128 - Deprecate all executeGoal(s) methods
    • MSHARED-1129 - Replace CLI options with CLI args
    • MSHARED-1134 - Remove / deprecate internal debug mode in Verifier
    • MSHARED-1135 - Deprecate Verifier#setMavenDebug(boolean) for removal
    • MSHARED-1137 - Revise Verifier#getDefaultMavenHome()/#getExecutable()
    • MSHARED-1142 - Remove e.getMessage() duplication when e is passed as object
  • Dependency upgrades:

Enjoy,

-The Apache Maven team

Friday September 16, 2022

Apache Maven Shared component: Maven Common Artifact Filters Version 3.3.2

The Apache Maven team is pleased to announce the release of the Apache Maven Shared Component: Maven Common Artifact Filters Version 3.3.2.

A collection of ready-made filters to control inclusion/exclusion of artifacts during dependency resolution.

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

1<plugin>
2  <groupId>org.apache.maven.shared</groupId>
3  <artifactId>maven-common-artifact-filters</artifactId>
4  <version>3.3.2</version>
5</plugin>

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

Release Notes Maven Common Artifact Filters 3.3.2

  • Bug

    • MSHARED-1130 - PatternIncludesArtifactFilters raising NPE for patterns w/ wildcards and artifactoid w/ null on any coordinate
  • Dependency upgrade

Enjoy,

-The Apache Maven team

Apache Maven Jar Plugin, version 3.3.0

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

This plugin provides the capability to build jars.

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

Release Notes - Maven JAR Plugin - Version 3.3.0

  • Bug:

    • MJAR-275 - outputTimestamp not applied to module-info; breaks reproducible builds
  • Tasks:

  • Dependency upgrades:

Enjoy,

  • The Apache Maven team

Wednesday September 14, 2022

Apache Maven Shade Plugin, version 3.4.0

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

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 dependencies.

Notes:

  • Starting from this release you need JDK8 as minimum.
  • Minimum Maven Version 3.1.1.

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

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

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

Release Notes - Maven Shade Plugin - Version 3.4.0

  • Bug:

    • MSHADE-425 - Maven shade plugin build fails without 'clean' goal
  • Tasks:

  • Dependency upgrades:

Enjoy,

-The Apache Maven team

Monday September 05, 2022

Apache Maven PMD Plugin, version 3.19.0

The Maven team is pleased to announce the release of the Apache Maven PMD Plugin, version 3.19.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<plugin>
2  <groupId>org.apache.maven.plugins</groupId>
3  <artifactId>maven-pmd-plugin</artifactId>
4  <version>3.19.0</version>
5</plugin>

Release Notes - Apache Maven PMD Plugin - Version 3.19.0

  • Bug:

    • MPMD-353 - API incompatibility with jansi after upgrading m-shared-utils
  • Task:

Enjoy,

-The Maven team

Thursday August 25, 2022

Apache Maven Dependency Tree Version 3.2.0 Released

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

A tree-based API for resolution of Maven project dependencies.

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

Release Notes Apache Shared Componet Maven Dependency Tree 3.2.0

  • Bug:

    • MSHARED-1016 - Transitive provided dependencies are not removed from collected dependency graph
  • Improvements:

  • Dependency upgrade:

Enjoy,

-The Maven team

Wednesday August 24, 2022

Maven Dependency Analyzer Version 1.13.0 Released

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

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

You should specify the version in your project's dependency list:

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

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

Release Notes - Maven Shared Components - Version 1.13.0

  • Bugs:

    • MSHARED-1037 - method type signature should not add be added to classes
    • MSHARED-1038 - Inner classes are in same compilation unit as container class
    • MSHARED-1039 - Array parsing is incorrect
  • Improvements:

    • MSHARED-1035 - Get rid of maven-plugin-testing-tools for IT test
    • MSHARED-1036 - Project classes are analyzed many times
  • Task:

  • Dependency upgrades:

Enjoy,

-The Apache Maven team

Tuesday August 23, 2022

Apache Maven PMD Plugin, version 3.18.0

The Maven team is pleased to announce the release of the Apache Maven PMD Plugin, version 3.18.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<plugin>
2  <groupId>org.apache.maven.plugins</groupId>
3  <artifactId>maven-pmd-plugin</artifactId>
4  <version>3.18.0</version>
5</plugin>

Release Notes - Apache Maven PMD Plugin - Version 3.18.0

  • New Feature:

  • Dependency upgrades:

    • MPMD-345 - Upgrade to PMD 6.47.0
    • MPMD-347 - Upgrade to PMD 6.48.0
    • MPMD-349 - Upgrade Maven Reporting API to 3.1.1/Maven Reporting Impl to 3.2.0
    • MPMD-350 - Upgrade Maven Shared Utils to 3.3.4
    • MPMD-351 - Upgrade Maven Artifact Transfer to 0.13.1
    • MPMD-352 - Upgrade Maven Common Artifact Filters to 3.3.1

Compatibility Notice:

  • For technical reasons the parameter sourceEncoding has been replaced with inputEncoding.

Enjoy,

-The Maven team

Calendar

Search

Hot Blogs (today's hits)

Tag Cloud

Categories

Feeds

Links

Navigation