1
0

Accepting request 1084978 from Java:packages

3.4.1

OBS-URL: https://build.opensuse.org/request/show/1084978
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/maven-shade-plugin?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2023-05-05 13:58:34 +00:00 committed by Git OBS Bridge
commit 67a498c01a
4 changed files with 117 additions and 14 deletions

View File

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

View File

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

View File

@ -1,3 +1,109 @@
-------------------------------------------------------------------
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
building dependency reduced POM
+ [MSHADE-223] Endless processing when
promoteTransitiveDependencies=true
+ [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
relocating the contents of META-INF/services files
+ [MSHADE-298] Groovy extension module transformer looking in
incorrect META-INF directory
+ [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
missing
+ [MSHADE-331] Issue Tracker link is not working - Page Not
Found
+ [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
transformer
+ [MSHADE-360] ServicesResourceTransformer.modifyOutputStream
swallows IOExceptions
+ [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
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
maven-shade-plugin
+ [MSHADE-425] Maven shade plugin build fails without 'clean'
goal
* New Feature
+ [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
files reproducible
* Improvement
+ [MSHADE-285] It should be possible to shade test sources as a
JAR
+ [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
artifacts to easily identify them
+ [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
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
* Test
+ [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
the manifest with relocations
+ [MSHADE-364] Don't log as duplicate resource handled by a
transformer
+ [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
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
* 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
-------------------------------------------------------------------
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) 2019 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,18 +17,19 @@
Name: maven-shade-plugin
Version: 3.2.1
Version: 3.4.1
Release: 0
Summary: Capability to package the artifact in an uber-jar
License: Apache-2.0
Group: Development/Libraries/Java
URL: http://maven.apache.org/plugins/%{name}
Source0: http://repo2.maven.org/maven2/org/apache/maven/plugins/%{name}/%{version}/%{name}-%{version}-source-release.zip
Source0: https://repo1.maven.org/maven2/org/apache/maven/plugins/%{name}/%{version}/%{name}-%{version}-source-release.zip
BuildRequires: fdupes
BuildRequires: maven-local
BuildRequires: unzip
BuildRequires: mvn(com.google.guava:guava)
BuildRequires: mvn(commons-io:commons-io)
BuildRequires: mvn(javax.inject:javax.inject)
BuildRequires: mvn(org.apache.commons:commons-collections4)
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-plugins:pom:)
@ -38,12 +39,12 @@ BuildRequires: mvn(org.apache.maven:maven-artifact)
BuildRequires: mvn(org.apache.maven:maven-core)
BuildRequires: mvn(org.apache.maven:maven-model)
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
BuildRequires: mvn(org.codehaus.plexus:plexus-component-annotations)
BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata)
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
BuildRequires: mvn(org.eclipse.sisu:sisu-maven-plugin)
BuildRequires: mvn(org.jdom:jdom2)
BuildRequires: mvn(org.ow2.asm:asm)
BuildRequires: mvn(org.ow2.asm:asm-commons)
BuildRequires: mvn(org.slf4j:slf4j-api)
BuildRequires: mvn(org.vafer:jdependency)
BuildArch: noarch
@ -62,15 +63,11 @@ Group: Documentation/HTML
%prep
%setup -q
rm src/test/jars/plexus-utils-1.4.1.jar
ln -s $(build-classpath plexus/utils) src/test/jars/plexus-utils-1.4.1.jar
%pom_remove_dep 'com.google.guava:guava:'
%pom_add_dep 'com.google.guava:guava'
%build
%{mvn_build} -f \
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
-- -Dmaven.compiler.release=7
-- -Dmaven.compiler.release=8
%endif
%install