Fridrich Strba 2019-11-22 07:56:26 +00:00 committed by Git OBS Bridge
parent 7730e4facb
commit 2d4adbcb91

View File

@ -1,7 +1,7 @@
#
# spec file for package mojo-executor
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -25,16 +25,17 @@ Group: Development/Libraries/Java
URL: http://timmoore.github.io/mojo-executor/
Source0: https://github.com/TimMoore/%{name}/archive/%{name}-parent-%{version}.tar.gz
Source1: http://www.apache.org/licenses/LICENSE-2.0
BuildRequires: maven-local fdupes
BuildRequires: fdupes
BuildRequires: maven-local
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
BuildRequires: mvn(org.apache.maven:maven-core)
BuildRequires: mvn(org.apache.maven:maven-model)
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
BuildRequires: mvn(org.slf4j:slf4j-api)
BuildRequires: mvn(org.slf4j:slf4j-simple)
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
BuildArch: noarch
BuildArch: noarch
%description
The Mojo Executor provides a way to to execute other Mojos (plugins) within a Maven plugin,
@ -56,7 +57,7 @@ perl -pi -e 's#org\.sonatype\.aether\.repository#org.eclipse.aether.repository#g
mojo-executor/src/main/java/org/twdata/maven/mojoexecutor/MavenCompatibilityHelper.java
%build
%mvn_build -f
%mvn_build -f -- -Dmaven.compiler.release=6
%install
%mvn_install