%bcond_with bootstrap Name: build-helper-maven-plugin Version: 3.6.0 Release: %autorelease Summary: Build Helper Maven Plugin License: MIT URL: https://www.mojohaus.org/build-helper-maven-plugin/ BuildArch: noarch ExclusiveArch: %{java_arches} noarch Source0: https://repo1.maven.org/maven2/org/codehaus/mojo/build-helper-maven-plugin/%{version}/build-helper-maven-plugin-%{version}-source-release.zip %if %{with bootstrap} BuildRequires: javapackages-bootstrap %else BuildRequires: maven-local BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations) BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin) BuildRequires: mvn(org.apache.maven.shared:file-management) BuildRequires: mvn(org.apache.maven:maven-core) BuildRequires: mvn(org.apache.maven:maven-plugin-api) BuildRequires: mvn(org.codehaus.mojo:mojo-parent:pom:) BuildRequires: mvn(org.codehaus.plexus:plexus-utils) BuildRequires: mvn(org.junit.jupiter:junit-jupiter) BuildRequires: mvn(org.slf4j:slf4j-api) BuildRequires: mvn(org.slf4j:slf4j-simple) %endif %description This plugin contains various small independent goals to assist with Maven build lifecycle. %package javadoc Summary: API documentation for %{name} %description javadoc API documentation for %{name}. %prep %autosetup -p1 -C %pom_add_dep junit:junit::test rm src/main/java/org/codehaus/mojo/buildhelper/BeanshellPropertyMojo.java %pom_remove_dep :bsh %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 %autochangelog