This commit is contained in:
commit
e32a0a97d0
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
maven-shade-plugin-3.4.1-source-release.zip
Normal file
3
maven-shade-plugin-3.4.1-source-release.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:61cb44f70ed3b3b9cd21e52015331eae69cddd703c1ff35b3b0839b7b0dbe0d1
|
||||||
|
size 882603
|
3
maven-shade-plugin-3.6.0-source-release.zip
Normal file
3
maven-shade-plugin-3.6.0-source-release.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:cf1b64bbf8589a604da34c2aa907a1473e799fac91c3c3d8aab8ed0ec901f38e
|
||||||
|
size 918217
|
123
maven-shade-plugin.changes
Normal file
123
maven-shade-plugin.changes
Normal file
@ -0,0 +1,123 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- Upgrade to upstream version 3.2.1
|
||||||
|
- Removed patch:
|
||||||
|
* 0001-Port-to-maven-dependency-tree-3.0.patch
|
||||||
|
+ Integrated upstream
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Apr 6 11:14:42 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Add missing Group: line. Use noun phrase in summary.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 5 15:38:17 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Initial packaging of maven-shade-plugin 3.1.1
|
83
maven-shade-plugin.spec
Normal file
83
maven-shade-plugin.spec
Normal file
@ -0,0 +1,83 @@
|
|||||||
|
#
|
||||||
|
# spec file for package maven-shade-plugin
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: maven-shade-plugin
|
||||||
|
Version: 3.6.0
|
||||||
|
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: 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(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:)
|
||||||
|
BuildRequires: mvn(org.apache.maven.shared:maven-artifact-transfer)
|
||||||
|
BuildRequires: mvn(org.apache.maven.shared:maven-dependency-tree)
|
||||||
|
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-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
|
||||||
|
|
||||||
|
%description
|
||||||
|
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.
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
Summary: API documentation for %{name}
|
||||||
|
Group: Documentation/HTML
|
||||||
|
|
||||||
|
%description javadoc
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
rm src/test/jars/plexus-utils-1.4.1.jar
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{mvn_build} -f \
|
||||||
|
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
|
||||||
|
-- -Dmaven.compiler.release=8
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%install
|
||||||
|
%mvn_install
|
||||||
|
%fdupes -s %{buildroot}%{_javadocdir}
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%license LICENSE NOTICE
|
||||||
|
|
||||||
|
%files javadoc -f .mfiles-javadoc
|
||||||
|
%license LICENSE NOTICE
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user