diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..865432e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/extra-enforcer-rules-1.5.1.tar.gz diff --git a/extra-enforcer-rules.spec b/extra-enforcer-rules.spec new file mode 100644 index 0000000..e158718 --- /dev/null +++ b/extra-enforcer-rules.spec @@ -0,0 +1,54 @@ +Name: extra-enforcer-rules +Version: 1.5.1 +Release: 1%{?dist} +Summary: Extra rules for maven-enforcer-plugin +License: ASL 2.0 +URL: https://github.com/mojohaus/extra-enforcer-rules +BuildArch: noarch + +Source0: https://github.com/mojohaus/extra-enforcer-rules/archive/refs/tags/extra-enforcer-rules-%{version}.tar.gz + +BuildRequires: maven-local +BuildRequires: mvn(commons-codec:commons-codec) +BuildRequires: mvn(junit:junit) +BuildRequires: mvn(org.apache.maven.enforcer:enforcer-api) +BuildRequires: mvn(org.apache.maven.shared:maven-common-artifact-filters) +BuildRequires: mvn(org.apache.maven.shared:maven-dependency-tree) +BuildRequires: mvn(org.apache.maven:maven-compat) +BuildRequires: mvn(org.apache.maven:maven-core) +BuildRequires: mvn(org.codehaus.mojo:mojo-parent:pom:) +BuildRequires: mvn(org.mockito:mockito-core) + +%description +Apache's Maven Enforcer Plugin is used to apply and enforce rules on Maven +projects. The Enforcer plugin ships with a set of standard rules. This project +provides extra rules which are not part of the standard rule set. + +%package javadoc +Summary: Javadoc for %{name} + +%description javadoc +Javadoc for %{name}. + +%prep +%setup -q -n extra-enforcer-rules-extra-enforcer-rules-%{version} + +# Integration tests fetch upstream poms +%pom_remove_plugin :maven-invoker-plugin + +%build +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%license LICENSE.txt +%doc README.md + +%files javadoc -f .mfiles-javadoc +%license LICENSE.txt + +%changelog +* Mon May 02 2022 Marian Koncek - 1.5.1-1 +- Initial release diff --git a/sources b/sources new file mode 100644 index 0000000..d9eb1f4 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (extra-enforcer-rules-1.5.1.tar.gz) = 27efebe6b345e3300ee7ec7c13d9af9ed2542eb64628051e4d8000f28d15d672caab95419860369a2129d56b9b77756236473fe9e9da145597a246ca115a7653