Accepting request 1226472 from Java:packages

Upgrade to 3.6.0

OBS-URL: https://build.opensuse.org/request/show/1226472
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/maven-shade-plugin?expand=0&rev=4
This commit is contained in:
Ana Guerrero 2024-11-26 19:56:22 +00:00 committed by Git OBS Bridge
commit 18f2576cfc
4 changed files with 120 additions and 71 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:61cb44f70ed3b3b9cd21e52015331eae69cddd703c1ff35b3b0839b7b0dbe0d1
size 882603

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cf1b64bbf8589a604da34c2aa907a1473e799fac91c3c3d8aab8ed0ec901f38e
size 918217

View File

@ -1,108 +1,154 @@
-------------------------------------------------------------------
Tue Nov 26 10:14:43 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Upgrade to upstream version 3.6.0
* Bug
+ MSHADE-428: Typo causes mysterious NPE in build
+ MSHADE-443: Fix problems with shadeSourcesContent
+ MSHADE-454: Shade Plugin does not work with JDK 20
+ MSHADE-420: Reproducible Builds timestamp issue in some cases
+ MSHADE-462: 3.5.1 not compatible with 3.4.1: The version
cannot be empty
+ MSHADE-467: Dependency-reduced POM with missing exclusions in
concurrent build
+ MSHADE-469: Cannot generate a jar since switching from 3.4.1
to 3.5.x
+ MSHADE-471: still timestamp issues with timezones (DST)
* New Feature
+ MSHADE-400: Self-minimisation with custom entry points
+ MSHADE-478: Add ability to inject extra artifacts into shaded
output
* Improvement
+ MSHADE-459: Prepare to build and pass tests with Java 21
+ MSHADE-461: multi-release jars with java 22 classes cause
class version issues
+ MSHADE-468: add plugin system requirements history section
* Task
+ MSHADE-438: Update to Maven 3.2.5
+ MSHADE-450: Upgrade to parent POM 39, reformat
+ MSHADE-458: Refresh download page
+ MSHADE-472: upgrade parent POM
+ MSHADE-473: Drop legacy and superfluous deps:
maven-dependency-tree and commons-collections4
* Dependency upgrade
+ MSHADE-446: Update dependencies
+ MSHADE-447: Move off forked Guice
+ MSHADE-448: Upgrade ASM to 9.5
+ MSHADE-449: Upgrade plexus-utils to 3.5.1
+ MSHADE-457: Upgrade Parent to 40
+ MSHADE-463: Bump asmVersion from 9.5 to 9.6
+ MSHADE-464: Maven 3.6.3 as minimum requirements
+ MSHADE-470: Upgrade ASM to 9.7 (Java 23)
+ MSHADE-474: Align dependencies with Maven 3 (as this is Maven3 plugin)
+ MSHADE-475: Upgrade commons-io to 2.16.1
+ MSHADE-476: Upgrade commons-compress to 1.26.2
+ MSHADE-477: (test) Upgrade test dependencies
-------------------------------------------------------------------
Fri May 5 08:04:24 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Upgrade to upstream version 3.4.1
* Bug
+ [MSHADE-148] Shade Plugin gets stuck in infinite loop
+ MSHADE-148: Shade Plugin gets stuck in infinite loop
building dependency reduced POM
+ [MSHADE-223] Endless processing when
+ MSHADE-223: Endless processing when
promoteTransitiveDependencies=true
+ [MSHADE-252] shadeSourcesContent is broken when combined with
+ MSHADE-252: shadeSourcesContent is broken when combined with
partial relocation
+ [MSHADE-284] Shaded test JARs are always empty
+ [MSHADE-291] shadedPattern applied multiples times when
+ MSHADE-284: Shaded test JARs are always empty
+ MSHADE-291: shadedPattern applied multiples times when
relocating the contents of META-INF/services files
+ [MSHADE-298] Groovy extension module transformer looking in
+ MSHADE-298: Groovy extension module transformer looking in
incorrect META-INF directory
+ [MSHADE-309] issue tracker link on the web site of shade
+ MSHADE-309: issue tracker link on the web site of shade
plugin does not work.
+ [MSHADE-311] Bad exclusions in dependency-reduced-pom.xml
+ [MSHADE-315] Broken link on Maven Shade Plugin
+ [MSHADE-318] Specifically included class's dependencies are
+ MSHADE-311: Bad exclusions in dependency-reduced-pom.xml
+ MSHADE-315: Broken link on Maven Shade Plugin
+ MSHADE-318: Specifically included class's dependencies are
missing
+ [MSHADE-331] Issue Tracker link is not working - Page Not
+ MSHADE-331: Issue Tracker link is not working - Page Not
Found
+ [MSHADE-337] Relocation cannot process class file version 58
+ MSHADE-337: Relocation cannot process class file version 58
JARs
+ [MSHADE-339] Shaded test jar has wrong type "jar"
+ [MSHADE-340] Shaded test jar artifact is not attached
+ [MSHADE-352] shaded jars are not reproducible when using
+ MSHADE-339: Shaded test jar has wrong type "jar"
+ MSHADE-340: Shaded test jar artifact is not attached
+ MSHADE-352: shaded jars are not reproducible when using
transformer
+ [MSHADE-360] ServicesResourceTransformer.modifyOutputStream
+ MSHADE-360: ServicesResourceTransformer.modifyOutputStream
swallows IOExceptions
+ [MSHADE-363] Breaking change to ResourceTransformer's API
+ [MSHADE-366] The warning "Access denied" during 'minimizeJar'
+ MSHADE-363: Breaking change to ResourceTransformer's API
+ MSHADE-366: The warning "Access denied" during 'minimizeJar'
is always printed
+ [MSHADE-378] Shade plugin changes the compression level of
+ MSHADE-378: Shade plugin changes the compression level of
nested jar entries
+ [MSHADE-396] Improve SourceContent Shading
+ [MSHADE-413] Maven shade plugin enters endless loop
+ [MSHADE-417] Fix null bytes appended to small files by
+ MSHADE-396: Improve SourceContent Shading
+ MSHADE-413: Maven shade plugin enters endless loop
+ MSHADE-417: Fix null bytes appended to small files by
maven-shade-plugin
+ [MSHADE-425] Maven shade plugin build fails without 'clean'
+ MSHADE-425: Maven shade plugin build fails without 'clean'
goal
* New Feature
+ [MSHADE-36] Add option to include dependency reduced POM
+ MSHADE-36: Add option to include dependency reduced POM
instead of original one
+ [MSHADE-306] Log all duplicates, not only classes
+ [MSHADE-347] Reproducible Builds: make entries in output jar
+ MSHADE-306: Log all duplicates, not only classes
+ MSHADE-347: Reproducible Builds: make entries in output jar
files reproducible
* Improvement
+ [MSHADE-285] It should be possible to shade test sources as a
+ MSHADE-285: It should be possible to shade test sources as a
JAR
+ [MSHADE-313] Minimize jar should respect implementations
+ MSHADE-313: Minimize jar should respect implementations
under /META-INF/services/
+ [MSHADE-316] Minijar: <excludeDefaults>true</excludeDefaults>
+ [MSHADE-319] Group output into included and excluded
+ MSHADE-316: Minijar: <excludeDefaults>true</excludeDefaults>
+ MSHADE-319: Group output into included and excluded
artifacts to easily identify them
+ [MSHADE-321] Always respect 'createDependencyReducedPom' flag
+ [MSHADE-348] Make build Reproducible
+ [MSHADE-371] Update Shade
+ MSHADE-321: Always respect 'createDependencyReducedPom' flag
+ MSHADE-348: Make build Reproducible
+ MSHADE-371: Update Shade
Apache[Notice/LICENSE]ResourceTransformer to use also
[NOTICE/LICENSE].md
+ [MSHADE-373] Source transformation on source jar can break
+ 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
+ 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
+ MSHADE-405: ShowOverlapping Uses http instead of https
* Test
+ [MSHADE-327] improved integration test coverage for
+ MSHADE-327: improved integration test coverage for
relocation and minification
* Task
+ [MSHADE-322] Provide a transformer for properties files
+ [MSHADE-330] Java 12 and 13 support
+ [MSHADE-346] Introduce mock repository manager for testing
+ [MSHADE-350] Enable ManifestResourceTransformer to rewrite
+ MSHADE-322: Provide a transformer for properties files
+ MSHADE-330: Java 12 and 13 support
+ MSHADE-346: Introduce mock repository manager for testing
+ MSHADE-350: Enable ManifestResourceTransformer to rewrite
the manifest with relocations
+ [MSHADE-364] Don't log as duplicate resource handled by a
+ MSHADE-364: Don't log as duplicate resource handled by a
transformer
+ [MSHADE-365] document Properties transformers available since
+ MSHADE-365: document Properties transformers available since
3.2.2 in separate table
+ [MSHADE-389] Get rid of old baggage
+ [MSHADE-390] Implement Sisu index transformer
+ [MSHADE-393] Upgrade project from Java 7 to 8
+ [MSHADE-401] Improve ServiceResourceTransformer
+ [MSHADE-412] SimpleRelocator can fail in NPE, in particular
+ MSHADE-389: Get rid of old baggage
+ MSHADE-390: Implement Sisu index transformer
+ MSHADE-393: Upgrade project from Java 7 to 8
+ MSHADE-401: Improve ServiceResourceTransformer
+ MSHADE-412: SimpleRelocator can fail in NPE, in particular
with manifest transformer
+ [MSHADE-416] Jenkins URL is wrong.
+ [MSHADE-422] Remove usage of deprecated Plugin#getGoals()
+ [MSHADE-423] Get rid of commons-lang3
+ [MSHADE-430] Remove usage of deprecated ModelBase#getReports()
+ [MSHADE-431] Use a caching output stream
+ [MSHADE-432] Duplicate services entries can be generated
+ MSHADE-416: Jenkins URL is wrong.
+ MSHADE-422: Remove usage of deprecated Plugin#getGoals()
+ MSHADE-423: Get rid of commons-lang3
+ MSHADE-430: Remove usage of deprecated ModelBase#getReports()
+ MSHADE-431: Use a caching output stream
+ MSHADE-432: Duplicate services entries can be generated
* Dependency upgrade
+ [MSHADE-320] Upgrade maven-artifact-transfer to 0.11.0
+ [MSHADE-338] Upgrade maven-artifact-transfer 0.12.0
+ [MSHADE-341] Upgrade plexus-utils 3.3.0
+ [MSHADE-349] Upgrade to org.ow2.asm:asm:7.3.1
+ [MSHADE-355] Java 15 Compatibility - JDependecny/ASM Upgrade
+ [MSHADE-357] Upgrade asm to 8.0
+ [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
+ [MSHADE-415] Upgrade maven-plugin parent to 37
+ [MSHADE-424] Upgrade jdependency 2.8.0
+ MSHADE-320: Upgrade maven-artifact-transfer to 0.11.0
+ MSHADE-338: Upgrade maven-artifact-transfer 0.12.0
+ MSHADE-341: Upgrade plexus-utils 3.3.0
+ MSHADE-349: Upgrade to org.ow2.asm:asm:7.3.1
+ MSHADE-355: Java 15 Compatibility - JDependecny/ASM Upgrade
+ MSHADE-357: Upgrade asm to 8.0
+ 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
+ MSHADE-415: Upgrade maven-plugin parent to 37
+ MSHADE-424: Upgrade jdependency 2.8.0
-------------------------------------------------------------------
Sun Nov 24 17:34:34 UTC 2019 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package maven-shade-plugin
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: maven-shade-plugin
Version: 3.4.1
Version: 3.6.0
Release: 0
Summary: Capability to package the artifact in an uber-jar
License: Apache-2.0
@ -64,6 +64,9 @@ Group: Documentation/HTML
%setup -q
rm src/test/jars/plexus-utils-1.4.1.jar
%pom_change_dep :plexus-utils ::4.0.2
%pom_add_dep org.codehaus.plexus:plexus-xml:3.0.1
%build
%{mvn_build} -f \
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}