| |
@@ -1,6 +1,6 @@
|
| |
Name: maven-shade-plugin
|
| |
- Version: 3.1.1
|
| |
- Release: 4%{?dist}
|
| |
+ Version: 3.2.1
|
| |
+ Release: 1%{?dist}
|
| |
Summary: This plugin provides the capability to package the artifact in an uber-jar
|
| |
License: ASL 2.0
|
| |
URL: http://maven.apache.org/plugins/%{name}
|
| |
@@ -8,11 +8,10 @@
|
| |
|
| |
Source0: http://repo2.maven.org/maven2/org/apache/maven/plugins/%{name}/%{version}/%{name}-%{version}-source-release.zip
|
| |
|
| |
- Patch0: 0001-Port-to-maven-dependency-tree-3.0.patch
|
| |
-
|
| |
BuildRequires: maven-local
|
| |
- BuildRequires: mvn(com.google.guava:guava:19.0)
|
| |
+ BuildRequires: mvn(com.google.guava:guava)
|
| |
BuildRequires: mvn(commons-io:commons-io)
|
| |
+ BuildRequires: mvn(junit:junit)
|
| |
BuildRequires: mvn(org.apache.maven:maven-artifact)
|
| |
BuildRequires: mvn(org.apache.maven:maven-core)
|
| |
BuildRequires: mvn(org.apache.maven:maven-model)
|
| |
@@ -26,10 +25,11 @@
|
| |
BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata)
|
| |
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
| |
BuildRequires: mvn(org.jdom:jdom2)
|
| |
+ BuildRequires: mvn(org.mockito:mockito-all)
|
| |
BuildRequires: mvn(org.ow2.asm:asm)
|
| |
BuildRequires: mvn(org.ow2.asm:asm-commons)
|
| |
BuildRequires: mvn(org.vafer:jdependency)
|
| |
-
|
| |
+ BuildRequires: mvn(xmlunit:xmlunit)
|
| |
|
| |
%description
|
| |
This plugin provides the capability to package the artifact in an
|
| |
@@ -45,13 +45,18 @@
|
| |
|
| |
%prep
|
| |
%setup -q
|
| |
- %patch0 -p1
|
| |
+
|
| |
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'
|
| |
+
|
| |
+ sed -i 's/import org\.apache\.maven\.shared\.transfer\.artifact\.\(.*\)/import org.apache.maven.shared.artifact.\1/' src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java
|
| |
+ sed -i 's/import org\.apache\.maven\.shared\.transfer\.artifact\.\(.*\)/import org.apache.maven.shared.artifact.\1/' src/test/java/org/apache/maven/plugins/shade/mojo/ShadeMojoTest.java
|
| |
+
|
| |
%build
|
| |
- # A class from aopalliance is not found. Simply adding BR does not solve it
|
| |
- %mvn_build -f
|
| |
+ %mvn_build
|
| |
|
| |
%install
|
| |
%mvn_install
|
| |
@@ -63,6 +68,9 @@
|
| |
%license LICENSE NOTICE
|
| |
|
| |
%changelog
|
| |
+ * Sun Aug 18 2019 Fabio Valentini <decathorpe@gmail.com> - 3.2.1-1
|
| |
+ - Update to version 3.2.1.
|
| |
+
|
| |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-4
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
| |
|
| |
This change is already live in modular branches: