Entries tagged [maven-plugin]

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

Saturday November 16, 2019

Apache Maven EAR Plugin 3.0.2

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

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:

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

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

Release Notes – Maven EAR Plugin – Version 3.0.2

Bug:

  • MEAR-273 – Adding extra slash causing issues on eclipse editors

Wish:

  • MEAR-271 – Support lookup-name in resource-ref section

Dependency upgrades:

  • MEAR-270 – Upgrade maven-plugins parent to version 32
  • MEAR-274 – Upgrade plexus-interpolation to 1.25
  • MEAR-275 – Upgrade plexus-archiver to 4.1.0
  • MEAR-277 – Upgrade maven-invoker-plugin to 3.2.1

Enjoy,

-The Apache Maven team

Monday November 04, 2019

Apache Maven JAR Plugin Version 3.2.0 Released

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

This plugin provides the capability to build jars.

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

Release Notes – Maven JAR Plugin – Version 3.2.0

New Feature:

  • MJAR-263 – Reproducible Builds: make entries in output jar files reproducible (order + timestamp)

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

Enjoy,

  • The Apache Maven team

Apache Maven Source Plugin Version 3.2.0 Released

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

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

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

Release Notes – Apache Maven Source Version 3.2.0

Bug:

  • MSOURCES-95 – Source JAR is re-created even if sources are not changed

New Feature:

  • MSOURCES-120 – Reproducible Builds: make entries in output jar files reproducible (order + timestamp)

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

Enjoy,

-The Apache Maven team

Thursday May 30, 2019

Apache Maven Checkstyle Plugin Version 3.1.0 Released

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

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

Release Notes – Apache Maven Checkstyle Plugin – Version 3.1.0

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

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

Bugs:

  • MCHECKSTYLE-323 – usage of checkstyle 7.0 (jdk8 is required)
  • MCHECKSTYLE-344 – StringIndexOutOfBoundsException in RuleUtil
  • MCHECKSTYLE-347 – StringIndexOutOfBoundsException when checkstyle.violation.ignore set to empty value
  • MCHECKSTYLE-365 – Site Report, Rules: Violation count incorrect for duplicate rules when one uses default severity

Improvements:

Dependency upgrades:

Enjoy,

-The Maven team

Monday May 27, 2019

Apache Maven WAR Plugin Version 3.2.3 Released

The Apache Maven team is pleased to announce the release of the Apache Maven WAR Plugin, version 3.2.3.

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

Bug:

  • MWAR-371 – Overlays break first-win rule for web resource with target path ending with ‘/’

Dependency upgrades:

  • MWAR-419 – Upgrade maven-plugins parent to version 32
  • MWAR-423 – Upgrade plexus-archiver to 4.1.0
  • MWAR-424 – Upgrade maven-archiver to 3.4.0
  • MWAR-425 – Upgrade plexus-utils to 3.2.0

Many thanks to all reporters/contributors/testers of this release.

Voters:

  • Francois Papon
  • Eric Lilja
  • Gabriel Belingueres

Enjoy,

-The Apache Maven team

Sunday May 19, 2019

Apache Maven Source Plugin Version 3.1.0 Released

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

The Source Plugin creates a jar archive of the source files of the current project. The jar file is, by default, created in the project’s target directory.

Important Note:

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

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

Release Notes – Apache Maven Source Version 3.1.0

Bugs:

Improvement:

  • MSOURCES-110 – Add IT to prevent readonly=true problem with parameter

Dependency upgrades:

Enjoy,

-The Apache Maven team

Karl Heinz Marbaise

Monday May 13, 2019

Apache Maven JAR Plugin Version 3.1.2 Released

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

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

Release Notes – Maven JAR Plugin – Version 3.1.2

Bug:

  • MJAR-259 – Archiving to jar is very slow

Improvement:

  • MJAR-238 – Allow setting of module main class

Enjoy,

  • The Apache Maven team

Monday May 06, 2019

Apache Maven Surefire Plugin Version 2.22.2 Released

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

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

Release Notes – Maven Surefire – Version 2.22.2

Bugs:

  • SUREFIRE-1614– JUnit Runner that writes to System.out corrupts Surefire’s STDOUT when using JUnit’s Vintage Engine

Enjoy,

-The Apache Maven team

Thursday May 02, 2019

Apache Maven Compiler Plugin, version 3.8.1

The Apache Maven team is pleased to announce the release of the Apache Maven Compiler Plugin, version 3.8.1.

The Compiler Plugin is used to compile the sources of your project.

Important Notes since Version 3.8.1

  • The default value for source/target has been lifted from 1.5 to 1.6 see MCOMPILER-335.

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-compiler-plugin</artifactId>
  <version>3.8.1</version>
</plugin>

Release Notes – Maven Compiler Plugin – Version 3.8.1

Bugs:

  • MCOMPILER-306 – Incorrect compilerArgs example usage
  • MCOMPILER-349 – maven-compiler-plugin does not recompile a module if a dependency module has been updated & recompiled
  • MCOMPILER-360 – NPE when calculating modulepath with invalid entries
  • MCOMPILER-379 – Fatal error compiling: basedir … arget/generated-sources/annotations does not exist

Improvements:

  • MCOMPILER-322 – Set the JPMS module version
  • MCOMPILER-366 – Warning about automodules should provide the list of offending libraries

Enjoy,

  • The Apache Maven team

Wednesday May 01, 2019

Apache Maven Archetype Plugin, version 3.1.0

The Apache Maven team is pleased to announce the release of the Apache Maven Archetype Plugin, version 3.1.0.

In short, Archetype is a Maven project templating toolkit. An archetype is defined as an original pattern or model from which all other things of the same kind are made. The names fits as we are trying to provide a system that provides a consistent means of generating Maven projects. Archetype will help authors create Maven project templates for users, and provides users with the means to generate parameterized versions of those project templates.

https://maven.apache.org/archetype/maven-archetype-plugin/index.html

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-archetype-plugin</artifactId>
  <version>3.1.0</version>
</plugin>

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

[Release Notes – Maven Archetype Plugin – Version 3.1.0]

Bugs:

  • ARCHETYPE-492 Underscore in filenames problematic due to greedy regex
  • ARCHETYPE-530 [archetype:create-from-project] Proxy configuration from settings.xml is not taken into account
  • ARCHETYPE-534 archetype-descriptor.xsd is out of date

New Features:

  • ARCHETYPE-553 Allow additional properties for IntegrationTestMojo’s MavenInvoker
  • ARCHETYPE-554 create archetype-descriptor-1.1.0.xsd containing validation regexp

Improvements:

  • ARCHETYPE-536 Update Groovy dependency and enable Groovy Grape in archetype-post-generate.groovy script (by including Ivy dependency)
  • ARCHETYPE-560 Require Java 7

Task:

Dependency upgrades:

Enjoy,

-The Apache Maven team

Tuesday April 23, 2019

Apache Maven PMD Plugin Version 3.12.0 Released

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

Release Notes – Apache Maven PMD Plugin – Version 3.12.0

Bugs:

  • MPMD-277 – Plugin tries to download local submodules from repo

New Features:

  • MPMD-280 – Support targetJdk 12
  • MPMD-281 – Display found violations grouped by priority

Improvements:

  • MPMD-279 – Improve documentation of maxAllowedViolations
  • MPMD-282 – Add rule name to HTML report

Dependency upgrades:

Enjoy,

-The Maven team

Apache Maven Help Plugin Version 3.2.0 Released

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

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

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

Release Notes – Maven Help Plugin – Version 3.2.0

New Feature:

  • MPH-160 – help:effective-pom -Dverbose: add source location as comments in effective pom.xml

Improvement:

  • MPH-161 – add color to goal or plugin description

Enjoy,

-The Apache Maven team

Calendar

Search

Hot Blogs (today's hits)

Tag Cloud

Categories

Feeds

Links

Navigation