%bcond_with bootstrap Name: plexus-interpolation Version: 1.27 Release: %autorelease Summary: Plexus Interpolation API # Most of the code is ASL 2.0, a few source files are ASL 1.1 and some tests are MIT License: Apache-2.0 AND Apache-1.1 AND MIT URL: https://github.com/codehaus-plexus/plexus-interpolation BuildArch: noarch ExclusiveArch: %{java_arches} noarch Source0: https://github.com/codehaus-plexus/plexus-interpolation/archive/plexus-interpolation-%{version}.tar.gz Patch: 0001-Use-PATH-env-variable-instead-of-JAVA_HOME.patch %if %{with bootstrap} BuildRequires: javapackages-bootstrap %else BuildRequires: maven-local BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.codehaus.plexus:plexus:pom:) BuildRequires: mvn(org.junit.jupiter:junit-jupiter) %endif %description Plexus interpolator is the outgrowth of multiple iterations of development focused on providing a more modular, flexible interpolation framework for the expression language style commonly seen in Maven, Plexus, and other related projects. %{?javadoc_package} %prep %autosetup -p1 -C %pom_add_dep junit:junit:4.13.1:test %pom_remove_plugin :maven-release-plugin %pom_remove_plugin :maven-scm-publish-plugin %build %mvn_file : plexus/interpolation %mvn_build %install %mvn_install %files -f .mfiles %changelog %autochangelog