Entries tagged [maven-plugin]

Monday January 21, 2019

Apache Maven Invoker Plugin Version 3.2.0 Released

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

The Invoker Plugin is used to run a set of Maven projects. The plugin can determine whether each project execution is successful, and optionally can verify the output generated from a given project execution.

This plugin is in particular handy to perform integration tests for other Maven plugins. The Invoker Plugin can be employed to run a set of test projects that have been designed to assert certain features of the plugin under test.

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-invoker-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-invoker-plugin/download.cgi

Release Notes – Maven Invoker Plugin – Version 3.2.0

Bug:

  • MINVOKER-243 – invoker:install doesn’t copy transitive dependencies anymore (as of 3.1.0)

Improvements:

Dependency upgrade:

  • MINVOKER-239 – Upgrade maven-plugins parent to version 32

Enjoy,

-The Apache Maven team

Wednesday January 02, 2019

Apache Maven Assembly Plugin Version 3.1.1 Released

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

The Assembly Plugin for Maven is primarily intended to allow users to aggregate the project output along with its dependencies, modules, site documentation, and other files into a single distributable archive.

Note:

  • Maven 3.X only
  • JDK 7 miminum requirement.

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

Release Notes – Maven Assembly Plugin – Version 3.1.1

Bugs:

  • MASSEMBLY-675 – Maven Assembly packaging wildcard-excluded dependencies
  • MASSEMBLY-762 – Assembly plugin doesn’t exclude transitive dependencies when excluded by wildcards in dependencies section
  • MASSEMBLY-799 – Exclusion on wildcard, then the assembly would still package to include the excluded libraries
  • MASSEMBLY-861 – exclusion * also packaged
  • MASSEMBLY-873 – Maven-Assembly-Plugin freezes when building jar-with-dependencies of project depending on org.bouncycastle:bcprov-jdk15on:1.58
  • MASSEMBLY-893 – Typo in FAQ

Tasks:

  • MASSEMBLY-885 – remove unused unpack code
  • MASSEMBLY-898 – upgrade to plexus-io 3.1.1
  • MASSEMBLY-899 – Make deprecated and non used of parameter useJvmChmod parameter (plugin is now 1.7)
  • MASSEMBLY-901 – Fix trivial javadocs HTML errors
  • MASSEMBLY-902 – Some Integration tests fails if launched with an very large UID

Dependency upgrades:

Enjoy,

-The Apache Maven team

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

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

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

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

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

Tuesday September 25, 2018

Apache Maven JXR Plugin Version 3.0.0

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

This module generates browsable HTML pages from Java source code.

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

NOTE: Special thanks for the contributions retrieved during the hackathon at JCreate.

Release Notes – Maven JXR – Version 3.0.0

Bugs:

  • JXR-68 – ignores classes with same name in other packages
  • JXR-98 – Nested classes aren’t linked correctly
  • JXR-100 – Method declaration: using spaces before or after parenthesis prevents cross references generation
  • JXR-126 – File write using platform default encoding
  • JXR-135 – Invalid representation of inner class
  • JXR-140 – Proper URL handling

Improvements:

  • JXR-110 – Use equivalent css/images of javadoc
  • JXR-124 – Remove excluded DEPENDENCIES file if new parent is used.
  • JXR-125 – Upgrade to Maven 3.0 compatiblity
  • JXR-127 – Create anchor for classes generated from a Java source file
  • JXR-131 – Reports ‘jxr’ and ‘test-jxr’ do not contain generated sources.
  • JXR-132 – Aggregator reports should not require modules to be installed/deployed.

Task:

Dependency upgrades:

  • JXR-128 – Upgrade maven parent to version 30
  • JXR-129 – Upgrade of plexus-utils to 3.0.24.
  • JXR-130 – Upgrade of commons-io to 2.5.
  • JXR-136 – Upgrade plexus-utils 3.1.0
  • JXR-138 – Upgrade parent to 31

Enjoy,

-The Apache Maven team

Wednesday September 12, 2018

Apache Maven Shade Plugin Version 3.2.0

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

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

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

Release Notes – Maven Shade Plugin – Version 3.2.0

Bug:

  • MSHADE-289 – Maven Shade Plugin does not work under Java 10

Improvement:

Dependency upgrades:

  • MSHADE-294 – Upgrade maven-plugins parent to version 32
  • MSHADE-296 – Upgrade maven-artifact-transfer 0.10.0

Enjoy,

-The Apache Maven team

Sunday July 29, 2018

Apache Maven Compiler Plugin Version 3.8.0 Released

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

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

Important Notes since Version 3.8.0

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

Release Notes – Maven Compiler Plugin – Version 3.8.0

Bugs:

  • MCOMPILER-311 – NPE when —patch-module is used
  • MCOMPILER-321 – Problematic Java 9 modules are silently ignored
  • MCOMPILER-332 – Java 10 not supported
  • MCOMPILER-338 – Build Issue based on MCOMPILER-192 IT
  • MCOMPILER-342 – Unsupported class file major version 55
  • MCOMPILER-343 – Tests fail to compile in modularized project due to wrong module descriptor path being passed to plexus-java

Improvements:

  • MCOMPILER-313 – Support mrjar dependency with module descriptor only in META-INF/versions/x
  • MCOMPILER-323 – Support multi-release jars
  • MCOMPILER-335 – Update default source/target from 1.5 to 1.6
  • MCOMPILER-341 – Compile module-info.java files located in test sources

Tasks:

Dependency upgrades:

Enjoy,

-The Apache Maven team

Thursday June 28, 2018

Apache Maven Project Info Reports Plugin version 3.0.0

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

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-project-info-reports-plugin</artifactId>
  <version>3.0.0</version>
</plugin>

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

Release Notes – Maven Project Info Reports Plugin – Version 3.0.0

Bugs:

  • MPIR-348 – Usage of HTTP in web site for git-scm.com resources cause redirects to HTTPS
  • MPIR-349 – Bad modules links in ‘index/modules’ reports when ‘distributionManagement.site.url’ comes from settings.xml
  • MPIR-359 – Generated links for Mercurial SCM are broken
  • MPIR-362 – Dependency Management report doesn’t exclude system scoped dependencies
  • MPIR-365 – Failed tests on Java 9 due to error with keytool plugin “keytool: not found”
  • MPIR-370 – Upgrade transitive BCEL to 6.2 to avoid org.apache.bcel.classfile.ClassFormatException

Improvements:

  • MPIR-352 – Use protocol-agnostic URL for Gravatar
  • MPIR-358 – Add GitHub for issue management
  • MPIR-366 – Drop Maven 2 support

Tasks:

  • MPIR-323 – Align Mojo class names, goals and output names
  • MPIR-345 – Upgrade to Doxia 1.8
  • MPIR-346 – Upgrade to Doxia Sitetools 1.8.1
  • MPIR-347 – Upgrade to Java 6
  • MPIR-350 – Upgrade of plexus-interpolation to 1.24.
  • MPIR-353 – Upgrade parent to version 30
  • MPIR-354 – Upgrade Maven Site Plugin to version 3.5.1 for ITs
  • MPIR-355 – Upgrade dependencies which are code- and testsafe
  • MPIR-356 – Deprecate not used methods in ProjectInfoReportUtils
  • MPIR-367 – Remove Dependency Repository Locations from dependency report
  • MPIR-368 – Upgrade to Java 7
  • MPIR-369 – Drop Commons Lang for System builtins
  • MPIR-372 – Remove fields duplicating parent class members

Dependency upgrades:

  • MPIR-361 – Upgrade parent to 31
  • MPIR-363 – Upgrade dependencies to latest versions

Enjoy,

-The Apache Maven team

Calendar

Search

Hot Blogs (today's hits)

Tag Cloud

Categories

Feeds

Links

Navigation