File takari-pom.spec of Package takari-pom

#
# spec file for package takari-pom
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           takari-pom
Version:        27
Release:        0
Summary:        Takari parent POM
License:        EPL-1.0
Group:          Development/Libraries/Java
URL:            https://github.com/takari/takari-pom/
Source0:        https://github.com/takari/%{name}/archive/takari-%{version}.tar.gz
BuildRequires:  maven-local
#BuildRequires:  mvn(io.takari.maven.plugins:takari-lifecycle-plugin)
BuildArch:      noarch

%description
Takari is a next generation development infrastructure framework.  This
package provides Takari POM file to by used by Apache Maven.

%prep
%setup -q -n %{name}-takari-%{version}
%{mvn_alias} : io.tesla:tesla

# takari expects no annotations processors on classpath by default, but we
# always have some in /usr/share/java
%pom_xpath_inject 'pom:pluginManagement/pom:plugins/pom:plugin[pom:artifactId="takari-lifecycle-plugin"]/pom:configuration' '<proc>none</proc>'

# Temporary?
%pom_remove_plugin  :takari-lifecycle-plugin

%build
%{mvn_build} -f

%install
%mvn_install

%files -f .mfiles
%license LICENSE.txt

%changelog
openSUSE Build Service is sponsored by