2013-06-10 14:50:08 +00:00
|
|
|
Name: replacer
|
2015-03-17 18:03:43 +00:00
|
|
|
Version: 1.6
|
2023-07-21 16:45:20 +00:00
|
|
|
Release: 26%{?dist}
|
2013-06-10 14:50:08 +00:00
|
|
|
Summary: Replacer Maven Mojo
|
|
|
|
License: MIT
|
2015-03-17 18:03:43 +00:00
|
|
|
URL: https://github.com/beiliubei/maven-replacer-plugin
|
|
|
|
# http://code.google.com/p/maven-replacer-plugin/
|
|
|
|
Source0: https://github.com/beiliubei/maven-replacer-plugin/archive/%{version}.tar.gz
|
|
|
|
|
2019-04-18 09:41:39 +00:00
|
|
|
BuildRequires: maven-local
|
|
|
|
BuildRequires: mvn(commons-io:commons-io)
|
|
|
|
BuildRequires: mvn(org.apache.ant:ant)
|
2020-07-29 12:49:51 +00:00
|
|
|
BuildRequires: mvn(org.apache.commons:commons-lang3)
|
2019-04-18 09:41:39 +00:00
|
|
|
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
|
|
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
|
|
|
|
BuildRequires: mvn(xerces:xercesImpl)
|
2013-06-10 14:50:08 +00:00
|
|
|
|
|
|
|
BuildArch: noarch
|
2022-07-08 14:40:14 +00:00
|
|
|
ExclusiveArch: %{java_arches} noarch
|
2013-06-10 14:50:08 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Maven plugin to replace tokens in a given file with a value.
|
|
|
|
|
|
|
|
This plugin is also used to automatically generating PackageVersion.java
|
|
|
|
in the FasterXML.com project.
|
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
Summary: Javadoc for %{name}
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
This package contains javadoc for %{name}.
|
|
|
|
|
|
|
|
%prep
|
2015-03-17 18:03:43 +00:00
|
|
|
%setup -q -n maven-replacer-plugin-%{version}
|
2013-06-10 14:50:08 +00:00
|
|
|
|
2019-11-22 10:07:47 +00:00
|
|
|
# remove unnecessary dependency on parent POM
|
|
|
|
%pom_remove_parent
|
|
|
|
|
2013-06-10 14:50:08 +00:00
|
|
|
%pom_remove_plugin :dashboard-maven-plugin
|
2015-03-17 18:03:43 +00:00
|
|
|
%pom_remove_plugin :maven-assembly-plugin
|
2014-07-03 13:12:54 +00:00
|
|
|
|
2020-06-26 10:50:30 +00:00
|
|
|
# remove hard-coded compiler settings
|
|
|
|
%pom_remove_plugin :maven-compiler-plugin
|
|
|
|
|
2020-07-29 12:49:51 +00:00
|
|
|
# trivial port to commons-lang3
|
|
|
|
%pom_change_dep :commons-lang org.apache.commons:commons-lang3:3.8.1
|
|
|
|
|
2023-12-27 20:58:25 +00:00
|
|
|
# "No mojo definitions were found for plugin" with maven-plugin-plugin 3.9
|
|
|
|
%pom_xpath_inject "pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-plugin-plugin']" \
|
|
|
|
'<configuration><skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound></configuration>'
|
|
|
|
|
2020-07-29 12:49:51 +00:00
|
|
|
for i in $(find -name "*.java"); do
|
|
|
|
sed -i "s/org.apache.commons.lang./org.apache.commons.lang3./g" $i;
|
|
|
|
done
|
|
|
|
|
2013-07-03 20:33:57 +00:00
|
|
|
%mvn_file :%{name} %{name}
|
|
|
|
%mvn_alias :%{name} com.google.code.maven-replacer-plugin:maven-replacer-plugin
|
2013-06-10 14:50:08 +00:00
|
|
|
|
2013-07-03 20:33:57 +00:00
|
|
|
%build
|
2020-06-26 10:50:30 +00:00
|
|
|
%mvn_build -f -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
|
2013-06-10 14:50:08 +00:00
|
|
|
|
2013-07-03 20:33:57 +00:00
|
|
|
%install
|
|
|
|
%mvn_install
|
2013-06-10 14:50:08 +00:00
|
|
|
|
2013-07-03 20:33:57 +00:00
|
|
|
%files -f .mfiles
|
2015-03-17 18:03:43 +00:00
|
|
|
%doc README.md
|
|
|
|
%license LICENSE
|
2013-06-10 14:50:08 +00:00
|
|
|
|
2013-07-03 20:33:57 +00:00
|
|
|
%files javadoc -f .mfiles-javadoc
|
2015-03-17 18:03:43 +00:00
|
|
|
%license LICENSE
|
2013-06-10 14:50:08 +00:00
|
|
|
|
|
|
|
%changelog
|
2023-07-21 16:45:20 +00:00
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-26
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-01-20 19:39:55 +00:00
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-25
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-23 00:42:52 +00:00
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-24
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-07-08 14:40:14 +00:00
|
|
|
* Fri Jul 08 2022 Jiri Vanek <jvanek@redhat.com> - 1.6-23
|
|
|
|
- Rebuilt for Drop i686 JDKs
|
|
|
|
|
2022-02-05 23:01:25 +00:00
|
|
|
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.6-22
|
|
|
|
- Rebuilt for java-17-openjdk as system jdk
|
|
|
|
|
2022-01-21 17:44:38 +00:00
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-21
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-23 11:21:43 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-20
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-05-12 12:15:36 +00:00
|
|
|
* Wed May 12 2021 Ondrej Dubaj <odubaj@redhat.com> - 1.6-19
|
|
|
|
- Remove maven-javadoc-plugin dependency
|
|
|
|
|
2021-01-27 15:14:59 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-18
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-29 12:49:51 +00:00
|
|
|
* Thu Jul 30 2020 Fabio Valentini <decathorpe@gmail.com> - 1.6-17
|
|
|
|
- Port to commons-lang3.
|
|
|
|
|
2020-07-29 05:42:35 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-11 03:48:00 +00:00
|
|
|
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 1.6-15
|
|
|
|
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
|
|
2020-06-26 12:50:13 +00:00
|
|
|
* Fri Jun 26 2020 Mat Booth <mat.booth@redhat.com> - 1.6-14
|
|
|
|
- Allow building against Java 11
|
|
|
|
|
2020-01-30 17:35:27 +00:00
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-11-22 10:07:47 +00:00
|
|
|
* Fri Nov 22 2019 Fabio Valentini <decathorpe@gmail.com> - 1.6-12
|
|
|
|
- Remove unnecessary dependency on parent POM.
|
|
|
|
|
2019-07-26 18:29:26 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-04-18 09:41:39 +00:00
|
|
|
* Thu Apr 18 2019 Mat Booth <mat.booth@redhat.com> - 1.6-10
|
|
|
|
- Disable tests to reduce dependency tree
|
|
|
|
|
2019-02-13 16:28:16 +00:00
|
|
|
* Wed Feb 13 2019 Mat Booth <mat.booth@redhat.com> - 1.6-9
|
|
|
|
- Fix build against mockito 2.x
|
|
|
|
|
2019-02-02 11:19:49 +00:00
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-14 03:32:48 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-09 13:02:00 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-07-27 13:06:02 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 11:41:14 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-02-04 22:07:44 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-18 22:18:13 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-03-17 18:03:43 +00:00
|
|
|
* Tue Mar 17 2015 gil cattaneo <puntogil@libero.it> 1.6-1
|
|
|
|
- update to 1.6
|
|
|
|
- fix Url tag and Source0 tag
|
|
|
|
|
2015-02-11 19:48:53 +00:00
|
|
|
* Wed Feb 11 2015 gil cattaneo <puntogil@libero.it> 1.5.3-2
|
|
|
|
- introduce license macro
|
|
|
|
|
2014-07-03 13:12:54 +00:00
|
|
|
* Thu Jul 03 2014 gil cattaneo <puntogil@libero.it> 1.5.3-1
|
|
|
|
- update to 1.5.3
|
|
|
|
|
2014-06-08 02:21:38 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-03-28 14:23:19 +00:00
|
|
|
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 1.5.2-4
|
|
|
|
- Use Requires: java-headless rebuild (#1067528)
|
|
|
|
|
2013-08-04 12:30:15 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-03 20:33:57 +00:00
|
|
|
* Wed Jul 03 2013 gil cattaneo <puntogil@libero.it> 1.5.2-2
|
|
|
|
- switch to XMvn
|
|
|
|
- minor changes to adapt to current guideline
|
|
|
|
|
2013-06-10 14:50:08 +00:00
|
|
|
* Sun May 26 2013 gil cattaneo <puntogil@libero.it> 1.5.2-1
|
2014-03-28 14:23:19 +00:00
|
|
|
- initial rpm
|