Establish locations for files in multi-module builds
3941458f89448bc6e08aac6128e4e154b4979628..6cc26546a2b165c4c016bd36271a4d2824e1277d
9 days ago CentOS Sources
import rh-jmc-directory-maven-plugin-0.3.1-2.el7
6cc265 diff | tree
3 files added
1 files deleted
75 ■■■■■ changed files
.gitignore 1 ●●●● patch | view | raw | blame | history
.rh-jmc-directory-maven-plugin.metadata 1 ●●●● patch | view | raw | blame | history
README.md 4 ●●●● patch | view | raw | blame | history
SPECS/directory-maven-plugin.spec 69 ●●●●● patch | view | raw | blame | history
.gitignore
New file
@@ -0,0 +1 @@
SOURCES/directory-maven-plugin-0.3.1.tar.gz
.rh-jmc-directory-maven-plugin.metadata
New file
@@ -0,0 +1 @@
13cab922dba9730b27fe89460ad7afbd4a4e699b SOURCES/directory-maven-plugin-0.3.1.tar.gz
README.md
File was deleted
SPECS/directory-maven-plugin.spec
New file
@@ -0,0 +1,69 @@
# https://src.fedoraproject.org/rpms/directory-maven-plugin/raw/jmc/f/directory-maven-plugin.spec
%{?scl:%scl_package directory-maven-plugin}
%{!?scl:%global pkg_name %{name}}
Name:       %{scl_prefix}directory-maven-plugin
Version:    0.3.1
Release:    2%{?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:  %{?scl_prefix_maven}maven-local
BuildRequires:  %{?scl_prefix_maven}mvn(org.apache.maven:maven-core)
BuildRequires:  %{?scl_prefix_maven}mvn(org.apache.maven:maven-model)
BuildRequires:  %{?scl_prefix_maven}mvn(org.apache.maven:maven-parent:pom:)
BuildRequires:  %{?scl_prefix_maven}mvn(org.apache.maven:maven-plugin-api)
BuildRequires:  %{?scl_prefix_maven}mvn(org.apache.maven.plugins:maven-plugin-plugin)
BuildRequires:  %{?scl_prefix_maven}mvn(org.sonatype.oss:oss-parent:pom:)
BuildRequires:  %{?scl_prefix_maven}mvn(junit:junit)
%{?scl:Requires: %scl_runtime}
%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.
%package javadoc
Summary:  Javadoc for %{name}
%description javadoc
%{summary}.
%prep
%autosetup -n directory-maven-plugin-directory-maven-plugin-0.3.1
%build
%{?scl:scl enable %{scl_maven} %{scl} - << "EOFSCL"}
%mvn_build
%{?scl:EOFSCL}
%install
%{?scl:scl enable %{scl_maven} %{scl} - << "EOFSCL"}
%mvn_install
%{?scl:EOFSCL}
%files -f .mfiles
%doc README.md
%license LICENSE
%files javadoc -f .mfiles-javadoc
%doc README.md
%changelog
* Mon Nov 19 2018 Jie Kang <jkang@redhat.com> - 0.3.1-2
- SCL-ize package
* Mon Oct 15 2018 Salman Siddiqui <sasiddiq@redhat.com> - 0.3.1-1
- Initial packaging