Apache Maven

Tuesday March 31, 2020

Apache Maven Shared Component: Maven Verifier Version 1.7.0 Released

The Apache Maven team is pleased to announce the release of the Maven Verifier, version 1.7.0.

This library provides a test harness for Maven integration tests.

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-verifier</artifactId>
    <version>1.7.0</version>
</dependency>

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

Release Notes – Maven Verifier – Version 1.7.0

  • Bugs:

    • MSHARED-723 – Upgrade mave-surefire/failsafe-plugin 2.21.0
    • MSHARED-769 – FileNotFoundException not thrown for unknown property file
  • New Feature:

  • Improvements:

  • Dependency upgrades:

Enjoy,

-The Apache Maven team

Tuesday March 17, 2020

Apache Maven JavaDoc Plugin Version 3.2.0 Released

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

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.2.0</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.2.0

  • Bugs:

    • MJAVADOC-607 – followLinks fix to get redirect target breaks for certain sites
    • MJAVADOC-609 – Include jars for which module name cannot be determined on the classpath
    • MJAVADOC-612 – UnsupportedOperationException for javadoc:aggregate with multi modules with jpms
    • MJAVADOC-616 – JavadocReportTest.testOptionsUmlautEncoding fails on Windows with default ecnoding that does not support umlauts
    • MJAVADOC-620 – Maven Javadoc Plugin fails to resolve the dependencies when used with Java 11
    • MJAVADOC-639 – aggregate should use all requires static from maven modules
  • New Feature:

    • MJAVADOC-627 – Reproducible Builds: make entries in output jar files reproducible (order + timestamp)
  • Improvements:

    • MJAVADOC-613 – Exclude some modules with aggregate goals
    • MJAVADOC-626 – Detect stale files and skip generation if not needed
    • MJAVADOC-632 – agggregate using jpms and non jar module is failing
    • MJAVADOC-636 – Exclude some modules when building aggregate
    • MJAVADOC-637 – make build Reproducible
    • MJAVADOC-640 – Ability to exclude maven modules from javadoc aggregate goals
  • Dependency upgrades:

    • MJAVADOC-635 – upgrade plexus-java 1.0.4
    • MJAVADOC-638 – upgrade Doxia Sitetools to 1.9.2 to remove dependency on Struts

Enjoy,

-The Apache Maven team

Thursday March 12, 2020

Apache Maven Dependency Plugin Version 3.1.2 Release

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

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.2</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.2

  • Bugs:

    • MDEP-204 – go-offline fails to resolve artifact available in maven reactor
    • MDEP-545 – Several classes create mixed-style line endings
    • MDEP-579 – Regression: get goal does not pass server credentials to BasicRepositoryConnector
    • MDEP-613 – Analyze failed: Unsupported class file major version 55 (Java 11)
    • MDEP-655 – The unpack integration test fails intermittent.
    • MDEP-663 – Analyze failed: Unsupported class file major version 57 (Java 13)
  • New Feature:

  • Improvements:

    • MDEP-653 – add info message to purge-local-repository goal even in non-verbose mode
    • MDEP-664 – Get goal misses unit tests
    • MDEP-672 – make build Reproducible
  • Dependency upgrades:

    • MDEP-624 – Upgrade maven-plugins parent to version 32
    • MDEP-625 – Upgrade maven-artifact-transfer to 0.11.0
    • MDEP-626 – Upgrade struts and xerces due to CVEs
    • MDEP-634 – Upgrade plexus-io to 3.1.0
    • MDEP-635 – Upgrade dependency-analyzer 1.11.0
    • MDEP-636 – Upgrade maven-shared-utils 3.2.1
    • MDEP-637 – Upgrade dependency-analyzer 1.11.0
    • MDEP-641 – Upgrade plexus-archiver to 4.1.0
    • MDEP-642 – Upgrade plexus-utils to 3.2.0
    • MDEP-647 – Upgrade maven-common-artifact-filters to 3.1.0
    • MDEP-656 – Upgrade plexus-utils to 3.3.0
    • MDEP-668 – Upgrade plexus-interpolation 1.26
    • MDEP-673 – Upgrade asm to 7.3.1

Enjoy,

-The Apache Maven team

Tuesday March 10, 2020

Apache Maven Site Plugin, version 3.9.0 Released

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

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

Release Notes – Maven Site Plugin – Version 3.9.0

  • Bugs:

    • MSITE-847 – “$prerequisiteMavenVersion” text in plugin’s documentation
    • MSITE-853 – Upgrade Doxia to 1.9.1 to have Markdown code and “` support
  • New Feature:

    • MSITE-851 – Reproducible Builds: make entries in output jar files reproducible (order + timestamp)
  • Improvements:

    • MSITE-852 – Upgrade Doxia Site Renderer to 1.9.2 to remove Struts dependencies
    • MSITE-855 – make build Reproducible

Enjoy,

-The Apache Maven team

Sunday February 23, 2020

Apache Maven Doxia Site Tools Version 1.9.2 Released

The Apache Maven team is pleased to announce the release of the Doxia Site Tools Version 1.9.2, Released

Doxia Sitetools is an extension of base Doxia component that generates either HTML sites, consisting of decoration and content that was generated by Doxia, or documents like RTF or PDF.

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

https://maven.apache.org/doxia/doxia-sitetools/download.cgi

Release Notes – Maven Doxia base – Version 1.9.2

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

Release Notes – Maven Doxia Sitetools – Version 1.9.2

Enjoy,

-The Apache Maven team

Apache Maven Checkstyle Plugin Version 3.1.1 Released

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

The Checkstyle Plugin generates a report regarding the code style used by the developers. For more information about Checkstyle, see http://checkstyle.sourceforge.net/.

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-checkstyle-plugin</artifactId>
  <version>3.1.1</version>
</plugin>

Release Notes – Apache Maven Checkstyle Plugin – Version 3.1.1

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

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

  • Bugs:

    • MCHECKSTYLE-380 – Issue tracking page for maven-checkstyle-plugin is not available
    • MCHECKSTYLE-384 – Incompatibility to Checkstyle version >= 8.24 – Upgrade to 8.28
  • New Feature:

  • Improvements:

  • Task:

  • Dependency upgrades:

    • MCHECKSTYLE-388 – Update internal dependencies with low impact
    • MCHECKSTYLE-389 – MCHECKSTYLE-365 introduces regression with ‘rules’ aggregate count section on report

Enjoy,

-The Maven team

Thursday February 13, 2020

Apache Maven Shade Plugin version 3.2.2 Released

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

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

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

Release Notes – Maven Shade Plugin – Version 3.2.2

  • Bugs:

    • MSHADE-223 – Endless processing when promoteTransitiveDependencies=true
    • MSHADE-284 – Shaded test JARs are always empty
    • MSHADE-291 – shadedPattern applied multiples times when relocating the contents of META-INF/services files
    • MSHADE-298 – Groovy extension module transformer looking in incorrect META-INF directory
    • MSHADE-309 – issue tracker link on the web site of shade plugin does not work.
    • MSHADE-311 – Bad exclusions in dependency-reduced-pom.xml
    • MSHADE-315 – Broken link on Maven Shade Plugin
    • MSHADE-318 – Specifically included class’s dependencies are missing
    • MSHADE-331 – Issue Tracker link is not working – Page Not Found
    • MSHADE-337 – Relocation cannot process class file version 58 JARs
    • MSHADE-339 – Shaded test jar has wrong type “jar”
    • MSHADE-340 – Shaded test jar artifact is not attached
  • New Features:

    • MSHADE-306 – Log all duplicates, not only classes
    • MSHADE-347 – Reproducible Builds: make entries in output jar files reproducible
  • Improvements:

    • MSHADE-285 – It should be possible to shade test sources as a JAR
    • MSHADE-313 – Minimize jar should respect implementations under /META-INF/services/
    • MSHADE-316 – Minijar: true
    • MSHADE-319 – Group output into included and excluded artifacts to easily identify them
    • MSHADE-348 – Make build Reproducible
  • Test:

    • MSHADE-327 – improved integration test coverage for relocation and minification
  • Tasks:

    • MSHADE-322 – Provide a transformer for properties files
    • MSHADE-330 – Java 12 and 13 support
    • MSHADE-346 – Introduce mock repository manager for testing
    • MSHADE-350 – Enable ManifestResourceTransformer to rewrite the manifest with relocations
  • Dependency upgrades:

    • MSHADE-320 – Upgrade maven-artifact-transfer to 0.11.0
    • MSHADE-338 – Upgrade maven-artifact-transfer 0.12.0
    • MSHADE-341 – Upgrade plexus-utils 3.3.0
    • MSHADE-349 – Upgrade to org.ow2.asm:asm:7.3.1

Enjoy,

-The Apache Maven team

Monday February 03, 2020

Apache Maven PMD Plugin Version 3.13.0 Released

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

Release Notes – Apache Maven PMD Plugin – Version 3.13.0

  • Bugs:

    • MPMD-288 – NullPointerException when File.list() returns null
    • MPMD-289 – check: unable to find pmd.xml
    • MPMD-292 – PMD Log is not always integrated into maven log
    • MPMD-295 – Maven PMD Plugin fails on Java 13: Unsupported targetJdk value ‘13’
  • New Feature:

    • MPMD-269 – Display PMD version that is being used
  • Improvements:

    • MPMD-241 – Document the version relationship between plugin and pmd
    • MPMD-287 – Add additional contribution information for GitHub
    • MPMD-296 – Copy ruleset files into a subdirectory of target
  • Wish:

    • MPMD-225 – Create report even if no warnings have been found by default
  • Tasks:

    • MPMD-285 – remove pluginTools version override for build (which block reproducible build…)
    • MPMD-293 – Fix integration test builds on jenkins

Dependency upgrade:

MPMD-291 – Upgrade to PMD 6.21.0

Enjoy,

-The Maven team

Apache Parent POM's Version 34 Released

The Apache Maven team is pleased to announce the release of the Maven Parent POMs Version 34

Maven Parent POMs include Maven Parent POM itself, but also Maven Plugins Parent POM, Maven Shared Components Parent POM, Maven Skins Parent POM and Maven Doxia Tools Parent POM.

https://maven.apache.org/pom/maven/

You should specify the version in your project as parent like the following:

1
2
3
4
5
<parent>
   <groupId>org.apache.maven</groupId>
   <artifactId>maven-parent</artifactId>
   <version>34</version>
</parent>

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

https://maven.apache.org/pom/maven/download.html

Release Notes – Apache Maven Parent POM – Version 34

  • Bugs:

    • MPOM-221 – All Links for Diff produce Forbidden
    • MPOM-235 – Google Custom Search broken
  • New Feature:

    • MPOM-223 – Introduce parent for extensions
  • Improvements:

    • MPOM-216 – Update java minimum version to 7
    • MPOM-226 – Ignore .asf.yaml for license check in apache-rat-plugin
    • MPOM-230 – Remove maven-report
  • Task:

    • MPOM-217 – remove plexus javadoc taglet configuration
  • Dependency upgrades:

    • MPOM-212 – upgrade plexus-component-metadata to 2.0.0 to get reproducible plexus/components.xml
    • MPOM-234 – Upgrade apache-rat-plugin to 0.13

Enjoy, – The Apache Maven Team

Sunday December 22, 2019

Apache Maven Source Plugin Version 3.2.1 Released

The Apache Maven team is pleased to announce the release of the Apache Maven Source Plugin, Version 3.2.1.

This plugin creates a jar archive of the source files of the current project.

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

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

Release Notes – Apache Maven Source Version 3.2.1

  • Bugs:

    • MSOURCES-122 – ITs fail due to unexpected EOL characters when building release sources from the ZIP
    • MSOURCES-123 – files in maven-shared-archive-resources are added in non-reproducible order

Read https://maven.apache.org/guides/mini/guide-reproducible-builds.html for more information on Reproducible Builds with Maven.

Enjoy,

-The Apache Maven team

Monday December 16, 2019

Apache Maven Release Plugin Version 3.0.0-M1 Released

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

This plugin is used to release a project with Maven, saving a lot of repetitive, manual work. Releasing a project is made in two steps: prepare and perform.

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-release-plugin</artifactId>
  <version>3.0.0-M1</version>
</plugin>

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

https://maven.apache.org/maven-release/download.cgi

Release Notes – Apache Maven Release Plugin – Version 3.0.0-M1

  • Bugs:

    • MRELEASE-229 – release:rollback is missing remove tag implementation
    • MRELEASE-601 – The Maven 2 release plugin modifies CDATA elements in pom.xml files.
    • MRELEASE-694 – -SNAPSHOT is unexpectedly appended to version in branched pom.xml
    • MRELEASE-908 – Git HTTP authentication failing if there are spaces in the password
    • MRELEASE-928 – exposing the password for SCM URL if build failed to commit files to SCM
    • MRELEASE-947 – Wiki page URL for maven-release-plugin is wrong – post Codehaus termination
    • MRELEASE-964 – Error injecting: org.apache.maven.shared.release.phase.RewritePomsForReleasePhase
    • MRELEASE-966 – release plugin does not respect “mvn -f”
    • MRELEASE-968 – Maven release plugin missing plexus-cipher dependency
    • MRELEASE-975 – NPE when using an unknown project versionpolicy id
    • MRELEASE-997 – Unable to release:perform on windows if a file name contains spaces on windows
    • MRELEASE-1009 – Compilation failure when using Java 10
    • MRELEASE-1034 – Remove SCM tag blocks rollback in some situations
  • New Features:

    • MRELEASE-956 – Release Strategy Interface
    • MRELEASE-980 – Provide the ability to control commit messages
    • MRELEASE-985 – Override SNAPSHOT dependencies from command line
    • MRELEASE-998 – Add ability to create custom phases
    • MRELEASE-1029 – update project.build.outputTimestamp property on prepare
    • MRELEASE-1031 – display release phases to give insight on what’s going on during release
  • Improvements:

    • MRELEASE-703 – [PATCH] Migration from obsolete plexus-maven-plugin to plexus-containers-component-metadata
    • MRELEASE-873 – Remove possibly confusing non-standard goals from example
    • MRELEASE-896 – Disable by default and deprecate useReleaseProfile parameter
    • MRELEASE-909 – Add workItem/task support for scm deliver
    • MRELEASE-958 – Using three digit version number (semver)
    • MRELEASE-976 – release:branch should also support project version policies
    • MRELEASE-977 – release:branch should prompt for branch name if none is given
    • MRELEASE-979 – Support NamingPolicies to manage Branch and Tag names
    • MRELEASE-992 – Deprecated maven flag —no-plugin-updates shows warnings in the console output
    • MRELEASE-993 – Use shallow checkout per default (git scm)
    • MRELEASE-994 – Drop Maven2 support
    • MRELEASE-1005 – Extract ResourceGenerator from ReleasePhase
    • MRELEASE-1007 – Rework usage workingDirectory and commonBasedir
    • MRELEASE-1023 – Minor code cleanups
    • MRELEASE-1032 – add https://m.a.o/xsd/maven-4.0.0.xsd schema instead of http://m.a.o/maven-v4_0_0.xsd
  • Tasks:

  • Dependency upgrades:

Enjoy,

-The Apache Maven team

Sunday December 01, 2019

Apache Shared Component: Apache Maven Artifact Transfer Version 0.12.0 Released

The Apache Maven team is pleased to announce the release of the Apache Shared Component: Apache Maven Artifact Transfer Version 0.12.0

An API to install, deploy and resolving artifacts with Maven3

1
2
3
4
5
<dependency>
  <groupId>org.apache.maven.shared</groupId>
  <artifactId>maven-artifact-transfer</artifactId>
  <version>0.12.0</version>
</dependency>

Release Notes Apache Shared Componet Maven Artifact Transfer 0.12.0

  • Bug:

    • MSHARED-818 – Issue management URL in maven-artifact-transfer returns 404
  • Improvements:

    • MSHARED-811 – Improve handling of Metadata
    • MSHARED-817 – Change eclipse aether dependency scope to provided

Enjoy,

-The Maven team

Karl-Heinz Marbaise

Tuesday November 26, 2019

Apache Maven 3.6.3 Released

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

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

Overview about the changes

  • This is a regression release to fix some critical issues shipped with 3.6.2.
  • Some license issues on binary distribution have been fixed.
  • This Maven distribution is now Reproducible: if you build from source archive, with JDK 8, on Windows, with mvn -DbuildNumber=cecedd343002696d0abb50b32b541b8a6ba2883f package you’ll get bit-by-bit identical output that you can check with sha512 fingerprints. If you’re building on any Unix system, you’ll need to add -Dline.separator=$'\r\n'. See the https://maven.apache.org/guides/mini/guide-reproducible-builds.html for more details.

For more information read https://maven.apache.org/docs/3.6.3/release-notes.html

Complete Release Notes

  • Sub-tasks:

    • MNG-6779 – fix jcl-over-slf4j license: Apache 2.0 instead of MIT
  • Bugs

    • MNG-6584 – Maven version 3.6.0 does not show ReasonPhrase anymore
    • MNG-6759 – [REGRESSION] Maven fails to use <repositories> section from dependency when resolving transitive dependencies in some cases
    • MNG-6760 – [REGRESSION] ExclusionArtifactFilter result invalid when wildcard exclusion is followed by other exclusions
    • MNG-6765 – [Regression] tycho pom-less builds fails with 3.6.2
    • MNG-6771 – Fix license issues on binary distribution
  • Improvements:

    • MNG-6778 – Use https for schemaLocations
    • MNG-6799 – avoid model interpolation instability risk: ensure StringVisitorModelInterpolator replaces StringSearchModelInterpolator
  • Tasks:

    • MNG-6777 – Remove duplicate resolveFile methods
    • MNG-6789 – Make Maven distribution build Reproducible

See complete release notes for all versions

  • The Apache Maven Team.

Sunday November 24, 2019

Apache Maven Enforcer Version 3.0.0-M3

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

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-M3</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-M3 (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 November 17, 2019

Apache Maven Surefire Version 3.0.0-M4

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

The release contains 43 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>3.0.0-M4</version>
</plugin>

or for failsafe:

1
2
3
4
5
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-failsafe-plugin</artifactId>
  <version>3.0.0-M4</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>3.0.0-M4</version>
</plugin>

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

Release Notes – Maven Surefire – Version 3.0.0-M4

Bugs:

  • SUREFIRE-1222 – ForkClient attempts to consume unrelated lines
  • SUREFIRE-1464 – Failsafe plugin exposes slf4j-jdk14 dependency
  • SUREFIRE-1534 – Surefire 2.21.0 ClassNotFoundException: org.apache.maven.plugin.surefire.StartupReportConfiguration using reuseForks set to false
  • SUREFIRE-1546 – JUnit 5 runner does not honor JUnit 5 display names
  • SUREFIRE-1664 – “plugin’s wiki page” points to non-existing web page
  • SUREFIRE-1669 – POJO tests do not call fixture methods setUp and tearDown and test instances are not new between tests
  • SUREFIRE-1670 – wrong “Filtering by Test Class Names” in failsafe “Using JUnit 5 Platform” page
  • SUREFIRE-1675 – Forked JVM terminates with ‘halt’ when another module’s tests fail
  • SUREFIRE-1679 – Caching of provider classpath with module-specific changes may break test bootstrapping in subsequent modules
  • SUREFIRE-1684 – The documentation of Maven Surefire Report Plugin contains wrong number of plugin goals
  • SUREFIRE-1689 – The fast PpidChecker is switched to the slow 30 seconds PING after the subprocess (/bin/ps -o etime= -p …) failed with exit 1
  • SUREFIRE-1690 – Typo fixed: classpathDependencyExclude
  • SUREFIRE-1701 – Surefire / Failsafe rerun failed tests functionality fails with JUnit 5 if using @DisplayName
  • SUREFIRE-1707 – Forked JVM is killed when GC paused the tests for over 30 seconds
  • SUREFIRE-1712 – Running tests with JDK13 fails with Unsupported class file major version 57
  • SUREFIRE-1716 – JUnit5 Parameterized tests and re-run should see unique test runs with different parameters

New Features:

Improvements:

  • SUREFIRE-1004 – Enhance pattern/wildcard capabilities for dependenciesToScan to GAVT
  • SUREFIRE-1585 – Align JUnit Platform version at runtime
  • SUREFIRE-1617 – Surefire fails with bad message when path contains colon
  • SUREFIRE-1619 – FileReporter should not use PintWriter because i/o errors are not thrown
  • SUREFIRE-1620 – Replaced deprecated component ArtifactFactory with RepositorySystem
  • SUREFIRE-1634 – Add missing since tags to excludesFile and includesFile
  • SUREFIRE-1635 – Set properties readonly where it doesn’t make sense to change values
  • SUREFIRE-1647 – When using junit5, delay loading testClass and use myown classLoader
  • SUREFIRE-1666 – printSummary=false does not completely suppress the summary on the console
  • SUREFIRE-1668 – The stackTrace should use CDATA in XML report.
  • SUREFIRE-1682 – Default value for config parameter ‘shutdown’ should change from ‘testset’ to ‘exit’
  • SUREFIRE-1702 – [JDK 11 Alpine Linux] JAR content is not flushed completely down to drive “Error: Invalid or corrupt jarfile target/surefire/surefirebooter13749914711390838584.jar”
  • SUREFIRE-1703 – [JDK 11 Alpine Linux] Surefire handled random order of pid and /procps does not filter pid on busybox distributions
  • SUREFIRE-1704 – [JDK 11 Alpine Linux] long etime within hours has format 2h01 on busybox

Tasks:

  • SUREFIRE-1678 – JUnit5 Integration Tests should test wide spectrum of versions
  • SUREFIRE-1683 – Buildfix: TLS 1.2 passed to maven-invoker-plugin via system property
  • SUREFIRE-1706 – Use the checkstyle in tests and set includeTestSourceDirectory=true
  • SUREFIRE-1714 – Created module “surefire-shared-utils” as a required dependency in “surefire-extensions-api” and “maven-surefire-common”

Dependency upgrades:

Enjoy,

-The Apache Maven team

Calendar

Search

Hot Blogs (today's hits)

Tag Cloud

Categories

Feeds

Links

Navigation