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

Thursday March 24, 2022

Apache Maven Shared Component: Maven Verifier Version 1.8.0 Released

The Apache Maven team is pleased to announce the release of the Maven Verifier, version 1.8.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.8.0</version>
</dependency>

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

Release Notes – Maven Verifier – Version 1.8.0

  • Bug:

    • MSHARED-1015 – Using Embedded3xLauncher fails with “-Dmaven.multiModuleProjectDirectory system property is not set”
  • New Feature:

  • Improvements:

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

Sunday March 13, 2022

Apache Maven 3.8.5 Released

The Apache Maven team is pleased to announce the release of the Apache Maven 3.8.5

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.

Maven 3.8.5 is available via https://maven.apache.org/download.cgi

The core release is independent of plugin releases. Further releases of plugins will be made separately.

If you have any questions, please consult:

Release Notes – Maven – Version 3.8.5

  • Bugs:

    • MNG-5180 – Versioning’s snapshot version list is not included in metadata merge
    • MNG-5561 – Plugin relocation loses configuration
    • MNG-5982 – The POM for … is invalid, transitive dependencies … while property was overriden
    • MNG-6326 – Build continues when core extensions aren’t found
    • MNG-6727 – Using version range in parent and CI Friendly Version fails
    • MNG-6802 – FileProfileActivator changes FileProfileActivator.exists which lets flattened resolveCiFriendliesOnly depending fail activating profile
    • MNG-7156 – Parallel build can cause issues between clean and forked goals
    • MNG-7335 – [Regression] Parallel build fails due to missing JAR artifacts in compilePath
    • MNG-7347 – SessionScoped beans should be singletons for a given session
    • MNG-7357 – All Maven Core JARs have unusual entry order
    • MNG-7362 – DefaultArtifactResolver has spurious “Failure detected” INFO log
    • MNG-7374 – Mutating RelocatedArtifact does not retain type
    • MNG-7386 – ModelMerger$MergingList is not serializable
    • MNG-7402 – BuildListCalculator never detaches the classloader
    • MNG-7417 – Several classes do not set properties properly for building requests
  • New Features:

    • MNG-7395 – Support interpolation in extensions.xml
    • MNG-7407 – Introduce a ModelVersionProcessor component to make CI Friendly Versions pluggable
  • Improvements:

    • MNG-6960 – Use RuntimeInformation instead of reading properties
    • MNG-7349 – Limit relocation warning message to direct dependencies only
    • MNG-7380 – Don’t log non-threadsafe warning if only building a single module
    • MNG-7381 – Shorten parallel builder thread name to artifactId, conditionally with groupId
    • MNG-7385 – Improve documentation on repository metadata
    • MNG-7400 – Allow more WorkspaceReaders to participate
    • MNG-7408 – Explain reporting plugin version automatic selection (in Maven 3)
  • Dependency upgrades:

    • MNG-7370 – Upgrade Maven Wagon to 3.5.1
    • MNG-7384 – Upgrade Maven JAR Plugin to 3.2.2
    • MNG-7428 – Upgrade Maven Parent to 35

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

Enjoy!

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

Thursday March 03, 2022

Apache Maven Parent POM's Version 35 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>35</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-242 – fix mono-module site easy-deployment
    • MPOM-243 – WARNING: release:perform issues [WARNING] The requested profile “pom.xml” could not be activated because it does not exist.
    • MPOM-253 – issue management URL incorrect
  • New Feature:

    • MPOM-274 – use Shared GitHub Actions
  • Improvements:

    • MPOM-268 – Removed unused property
    • MPOM-276 – streamLogsOnFailures for maven-invoker-plugin as default
    • MPOM-278 – add “Extensions” entry to “Maven Projects” menu
    • MPOM-279 – Get rid of findbugs-maven-plugin
    • MPOM-280 – Remove detectLinks from maven-javadoc-plugin
    • MPOM-298 – Cleanup dependencyLocationsEnabled from MPIR configuration
  • Tasks:

    • MPOM-270 – Fix enforcer use
    • MPOM-271 – Create helper profile to “ban legacy”
    • MPOM-272 – Remove legacy from doxia parent depMgmg
    • MPOM-273 – Update maven-plugin-plugin to 3.6.2
    • MPOM-281 – Update maven-plugin-plugin to 3.6.4
  • Dependency upgrades:

    • MPOM-239 – upgrade plexus-component-metadata to 2.1.0 for better Reproducible Build
    • MPOM-250 – remove the JavaDoc taglets from maven-parent (both to extract Mojo javadoc annotations and link in javadoc)
    • MPOM-292 – upgrade parent to ASF 25

Enjoy, – The Apache Maven Team

Calendar

Search

Hot Blogs (today's hits)

Tag Cloud

Categories

Feeds

Links

Navigation