Name: directory-maven-plugin Version: 0.3.1 Release: 1%{?dist} Summary: Establish locations for files in multi-module builds License: ASL-2.0 URL: https://github.com/jdcasey/directory-maven-plugin Source0: https://github.com/jdcasey/directory-maven-plugin/archive/directory-maven-plugin-0.3.1.tar.gz BuildArch: noarch BuildRequires: javapackages-tools BuildRequires: maven-local BuildRequires: maven-parent BuildRequires: maven-plugin-plugin BuildRequires: maven-javadoc-plugin BuildRequires: sonatype-oss-parent Requires: java-openjdk # Provides: directory-maven-plugin = %{version} %description The Directory Plugin for Maven is used to discover various project-related paths, such as the execution root directory, the directory for a specific project in the current build session, or the highest project base directory (closest to the filesystem root directory) available in the projects loaded from disk (not resolved from a remote repository). The plugin will then reflect this value to the console, and also inject it into each project's properties using the value of the property plugin parameter. %global debug_package %{nil} %prep %autosetup -n directory-maven-plugin-directory-maven-plugin-0.3.1 %build %mvn_build %install %mvn_install %files %{_javadir}/%{name} %{_javadocdir}/%{name} %{_datadir}/maven-poms/%{name} %{_datadir}/maven-metadata/%{name}.xml %changelog * Mon Oct 15 2018 Jie Kang - 0.3.1-1 - Initial packaging