port to commons-lang3
This commit is contained in:
parent
e72bc36648
commit
1c6c2f88f9
@ -1,6 +1,6 @@
|
|||||||
Name: maven-dependency-plugin
|
Name: maven-dependency-plugin
|
||||||
Version: 3.1.2
|
Version: 3.1.2
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Plugin to manipulate, copy and unpack local and remote artifacts
|
Summary: Plugin to manipulate, copy and unpack local and remote artifacts
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
|
|
||||||
@ -13,7 +13,7 @@ BuildRequires: maven-local
|
|||||||
BuildRequires: mvn(classworlds:classworlds)
|
BuildRequires: mvn(classworlds:classworlds)
|
||||||
BuildRequires: mvn(commons-collections:commons-collections)
|
BuildRequires: mvn(commons-collections:commons-collections)
|
||||||
BuildRequires: mvn(commons-io:commons-io)
|
BuildRequires: mvn(commons-io:commons-io)
|
||||||
BuildRequires: mvn(commons-lang:commons-lang)
|
BuildRequires: mvn(org.apache.commons:commons-lang3)
|
||||||
BuildRequires: mvn(org.apache.maven.doxia:doxia-core)
|
BuildRequires: mvn(org.apache.maven.doxia:doxia-core)
|
||||||
BuildRequires: mvn(org.apache.maven.doxia:doxia-sink-api)
|
BuildRequires: mvn(org.apache.maven.doxia:doxia-sink-api)
|
||||||
BuildRequires: mvn(org.apache.maven.doxia:doxia-site-renderer)
|
BuildRequires: mvn(org.apache.maven.doxia:doxia-site-renderer)
|
||||||
@ -57,6 +57,18 @@ Summary: API documentation for %{name}
|
|||||||
# We don't want to support legacy Maven versions (older than 3.1)
|
# We don't want to support legacy Maven versions (older than 3.1)
|
||||||
%pom_remove_dep org.sonatype.aether:
|
%pom_remove_dep org.sonatype.aether:
|
||||||
|
|
||||||
|
# trivial port to commons-lang3
|
||||||
|
%pom_change_dep :commons-lang org.apache.commons:commons-lang3:3.8.1
|
||||||
|
|
||||||
|
sed -i "s/org.apache.commons.lang./org.apache.commons.lang3./g" \
|
||||||
|
src/main/java/org/apache/maven/plugins/dependency/analyze/AbstractAnalyzeMojo.java
|
||||||
|
sed -i "s/org.apache.commons.lang./org.apache.commons.lang3./g" \
|
||||||
|
src/main/java/org/apache/maven/plugins/dependency/resolvers/ResolveDependencySourcesMojo.java
|
||||||
|
sed -i "s/org.apache.commons.lang./org.apache.commons.lang3./g" \
|
||||||
|
src/main/java/org/apache/maven/plugins/dependency/DisplayAncestorsMojo.java
|
||||||
|
sed -i "s/org.apache.commons.lang./org.apache.commons.lang3./g" \
|
||||||
|
src/test/java/org/apache/maven/plugins/dependency/fromConfiguration/TestUnpackMojo.java
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Tests require legacy Maven
|
# Tests require legacy Maven
|
||||||
%mvn_build -f
|
%mvn_build -f
|
||||||
@ -71,6 +83,9 @@ Summary: API documentation for %{name}
|
|||||||
%doc LICENSE NOTICE
|
%doc LICENSE NOTICE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 30 2020 Fabio Valentini <decathorpe@gmail.com> - 3.1.2-4
|
||||||
|
- Port to commons-lang3.
|
||||||
|
|
||||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-3
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user