Apache Maven

Tuesday March 29, 2022

Apache Maven Shade Plugin, Version 3.3.0 Released

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

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

Release Notes – Maven Shade Plugin – Version 3.3.0

  • Bugs:

    • MSHADE-252 – shadeSourcesContent is broken when combined with partial relocation
    • MSHADE-396 – Improve SourceContent Shading
  • New Feature:

    • MSHADE-36 – Add option to include dependency reduced POM instead of original one
  • Improvements:

    • MSHADE-321 – Always respect ‘createDependencyReducedPom’ flag
    • MSHADE-371 – Update Shade Apache[Notice/LICENSE]ResourceTransformer to use also [NOTICE/LICENSE].md
    • MSHADE-373 – Source transformation on source jar can break OSGi resolution due to duplicated bundle name
    • MSHADE-382 – Add an option to skip execution
    • MSHADE-391 – Do not modify class files, if nothing was relocated
    • MSHADE-405 – ShowOverlapping Uses http instead of https
  • Tasks:

    • MSHADE-389 – Get rid of old baggage
    • MSHADE-390 – Implement Sisu index transformer
    • MSHADE-401 – Improve ServiceResourceTransformer
    • MSHADE-412 – SimpleRelocator can fail in NPE, in particular with manifest transformer
  • Dependency upgrades:

    • MSHADE-379 – Support Java 16 – upgrade ASM to 9.0
    • MSHADE-386 – Update JDependency to 2.6.0
    • MSHADE-407 – Update ASM to 9.2 to support Java 17

Enjoy,

-The Apache Maven team

Sunday March 20, 2022

Apache Maven JXR Plugin Version 3.2.0 Released

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

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

Release Notes – Maven JXR – Version 3.2.0

  • Bug:

    • JXR-164 – Full path to local code sources in page title
  • Task:

    • JXR-162 – Lift Minimum Java to Java 8
  • Dependency upgrades:

    • JXR-157 – Upgrade Velocity templating engine
    • JXR-163 – Require Maven 3.2.5+
    • JXR-165 – Upgrade Maven Reporting to 3.1.0
    • JXR-167 – Upgrade Parent to 35
    • JXR-168 – Dependency upgrade and cleanup

Enjoy,

-The Apache Maven team

Friday March 11, 2022

Apache Maven Dependency Plugin Version 3.3.0 Released

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

The dependency plugin provides the capability to manipulate artifacts. It can copy and/or unpack artifacts from local or remote repositories to a specified location.

https://maven.apache.org/plugins/maven-dependency-plugin/

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

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

  • Bugs:

    • MDEP-679 – mvn dependency:analyze detected wrong transitive dependency
    • MDEP-742 – dependency plugin does not work with JDK 16
    • MDEP-752 – skip dependency analyze in ear packaging
    • MDEP-753 – Non-test dependency reported as Non-test scoped test only dependency
    • MDEP-759 – ‘Dependency not found’ with 3.2.0 and Java-17 while analyzing
    • MDEP-761 – Tree plugin does not terminate with 3.2.0
    • MDEP-769 – Minor improvement – continue
    • MDEP-774 – analyze-only failed: PermittedSubclasses requires ASM9
    • MDEP-781 – Broken Link to “Introduction to Dependency Mechanism Page”
    • MDEP-783 – TreeMojo docs say scope doesn’t work due to MSHARED-4
    • MDEP-786 – Sealed classes not supported
  • New Feature:

    • MDEP-787 – Allow ignoring non-test-scoped dependencies
  • Improvements:

    • MDEP-763 – Minor improvements
    • MDEP-768 – GitHub Action build improvement
    • MDEP-779 – dependency:analyze should list the classes that cause a used undeclared dependency
    • MDEP-789 – Improve documentation of analyze – Non-test scoped
  • Task:

  • Dependency upgrades:

    • MDEP-766 – Upgrade maven-invoker-plugin to version 3.2.2
    • MDEP-784 – Upgrade maven-dependency-analyzer to 1.12.0
    • MDEP-788 – Upgrade maven-reporting-impl to version 3.1.0
    • MDEP-795 – Update Jetty to 9.4.45.v20220203
    • MDEP-796 – Upgrade Maven Parent to 35
    • MDEP-797 – Update transitive dependency commons-beanutils to 1.9.4
    • MDEP-798 – Upgrade maven-dependency-tree from 3.0.1 to 3.1.0

Enjoy,

-The Apache Maven team

Apache Maven Compiler Plugin Version 3.10.1 Released

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

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

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

Release Notes – Maven Compiler Plugin – Version 3.10.1

  • Bugs:

    • MCOMPILER-346 – workaround to jdk bug: assertionError inside javac when using javax.tools API
    • MCOMPILER-485 – Incorrect internal string format in generated package-info.class files on Windows
  • New Feature:

    • MCOMPILER-426 – dedicated option for enabling preview feature

Enjoy,

  • The Apache Maven team

Calendar

Search

Hot Blogs (today's hits)

Tag Cloud

Categories

Feeds

Links

Navigation