Apache Maven

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

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