Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/directory-maven-plugin.git#15f56438503b0dc7c42d0fce20574e5c1ef84a77
This commit is contained in:
DistroBaker 2021-01-08 14:59:36 +00:00
parent f8362e792f
commit 2e8790ac12
4 changed files with 66 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/directory-maven-plugin-0.3.1.tar.gz

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# directory-maven-plugin
The directory-maven-plugin package

View File

@ -0,0 +1,61 @@
Name: 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-%{version}.tar.gz
BuildArch: noarch
BuildRequires: maven-local
BuildRequires: mvn(org.apache.maven:maven-core)
BuildRequires: mvn(org.apache.maven:maven-model)
BuildRequires: mvn(org.apache.maven:maven-parent:pom:)
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
BuildRequires: mvn(junit:junit)
%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
%pom_remove_parent
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc README.md
%license LICENSE
%files javadoc -f .mfiles-javadoc
%doc README.md
%license LICENSE
%changelog
* Mon Sep 21 2020 Jie kang <jkang@redhat.com> - 0.3.1-2
- Remove deprecated dependency: sonatype-oss-parent
- Use version macro. Add license to javadoc files
* Mon Oct 15 2018 Salman Siddiqui <sasiddiq@redhat.com> - 0.3.1-1
- Initial packaging

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (directory-maven-plugin-0.3.1.tar.gz) = 2617967ec6202adcdbfef407dcc869d2873110d46c01e9256d2364b2d5aadbd1668b44eb38ae6357da92a71588bb108ac23f522f046dd92547002145318938e5