Implement bootstrap mode

This commit is contained in:
Mikolaj Izdebski 2022-05-05 06:55:08 +02:00 committed by mizdebsk
parent e66c089daa
commit a1490be2cb

View File

@ -1,6 +1,8 @@
%bcond_with bootstrap
Name: extra-enforcer-rules Name: extra-enforcer-rules
Version: 1.5.1 Version: 1.5.1
Release: 1%{?dist} Release: 2%{?dist}
Summary: Extra rules for maven-enforcer-plugin Summary: Extra rules for maven-enforcer-plugin
License: ASL 2.0 License: ASL 2.0
URL: https://github.com/mojohaus/extra-enforcer-rules URL: https://github.com/mojohaus/extra-enforcer-rules
@ -9,6 +11,9 @@ BuildArch: noarch
Source0: https://github.com/mojohaus/extra-enforcer-rules/archive/refs/tags/extra-enforcer-rules-%{version}.tar.gz Source0: https://github.com/mojohaus/extra-enforcer-rules/archive/refs/tags/extra-enforcer-rules-%{version}.tar.gz
BuildRequires: maven-local BuildRequires: maven-local
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: mvn(commons-codec:commons-codec) BuildRequires: mvn(commons-codec:commons-codec)
BuildRequires: mvn(junit:junit) BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.maven.enforcer:enforcer-api) BuildRequires: mvn(org.apache.maven.enforcer:enforcer-api)
@ -18,6 +23,7 @@ BuildRequires: mvn(org.apache.maven:maven-compat)
BuildRequires: mvn(org.apache.maven:maven-core) BuildRequires: mvn(org.apache.maven:maven-core)
BuildRequires: mvn(org.codehaus.mojo:mojo-parent:pom:) BuildRequires: mvn(org.codehaus.mojo:mojo-parent:pom:)
BuildRequires: mvn(org.mockito:mockito-core) BuildRequires: mvn(org.mockito:mockito-core)
%endif
%description %description
Apache's Maven Enforcer Plugin is used to apply and enforce rules on Maven Apache's Maven Enforcer Plugin is used to apply and enforce rules on Maven
@ -50,5 +56,8 @@ Javadoc for %{name}.
%license LICENSE.txt %license LICENSE.txt
%changelog %changelog
* Thu May 05 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5.1-2
- Implement bootstrap mode
* Mon May 02 2022 Marian Koncek <mkoncek@redhat.com> - 1.5.1-1 * Mon May 02 2022 Marian Koncek <mkoncek@redhat.com> - 1.5.1-1
- Initial release - Initial release