Blame SPECS/jaxb-istack-commons.spec

6a831c
Name:           jaxb-istack-commons
6a831c
Version:        4.1.1
6a831c
Release:        1%{?dist}
6a831c
Summary:        iStack Common Utility Code
6a831c
License:        BSD
6a831c
URL:            https://github.com/eclipse-ee4j/jaxb-istack-commons
6a831c
BuildArch:      noarch
6a831c
6a831c
Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
6a831c
6a831c
BuildRequires:  maven-local
6a831c
BuildRequires:  mvn(jakarta.activation:jakarta.activation-api:2.1.0)
6a831c
BuildRequires:  mvn(junit:junit)
6a831c
BuildRequires:  mvn(org.apache.ant:ant)
6a831c
BuildRequires:  mvn(org.apache.ant:ant-junit)
6a831c
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
6a831c
BuildRequires:  mvn(org.apache.maven.plugins:maven-assembly-plugin)
6a831c
BuildRequires:  mvn(org.apache.maven.plugins:maven-dependency-plugin)
6a831c
6a831c
%description
6a831c
Code shared between JAXP, JAXB, SAAJ, and JAX-WS projects.
6a831c
6a831c
%package runtime
6a831c
Summary:        istack-commons runtime
6a831c
6a831c
%description runtime
6a831c
This package contains istack-commons runtime.
6a831c
6a831c
%package test
6a831c
Summary:        istack-commons test
6a831c
6a831c
%description test
6a831c
This package contains istack-commons test.
6a831c
6a831c
%package tools
6a831c
Summary:        istack-commons tools
6a831c
6a831c
%description tools
6a831c
This package contains istack-commons tools.
6a831c
6a831c
%prep
6a831c
%setup -q
6a831c
6a831c
pushd istack-commons
6a831c
6a831c
find -name 'module-info.java' -type f -delete
6a831c
6a831c
%pom_remove_parent
6a831c
6a831c
%pom_remove_plugin :buildnumber-maven-plugin
6a831c
%pom_remove_plugin :glassfish-copyright-maven-plugin
6a831c
%pom_remove_plugin :maven-enforcer-plugin
6a831c
%pom_remove_plugin :maven-javadoc-plugin . test tools
6a831c
%pom_remove_plugin :maven-source-plugin
6a831c
%pom_remove_plugin :spotbugs-maven-plugin
6a831c
6a831c
# Missing dependency on args4j
6a831c
%pom_disable_module soimp
6a831c
6a831c
%pom_disable_module buildtools
6a831c
%pom_disable_module import-properties-plugin
6a831c
%pom_disable_module maven-plugin
6a831c
6a831c
%mvn_package :istack-commons __noinstall
6a831c
popd
6a831c
6a831c
%build
6a831c
pushd istack-commons
6a831c
# Javadoc fails on module.info files: "error: too many module declarations found"
6a831c
%mvn_build -f -s -j
6a831c
popd
6a831c
6a831c
%install
6a831c
pushd istack-commons
6a831c
%mvn_install
6a831c
popd
6a831c
6a831c
%files runtime -f istack-commons/.mfiles-istack-commons-runtime
6a831c
%license LICENSE.md NOTICE.md
6a831c
%files test -f istack-commons/.mfiles-istack-commons-test
6a831c
%license LICENSE.md NOTICE.md
6a831c
%files tools -f istack-commons/.mfiles-istack-commons-tools
6a831c
%license LICENSE.md NOTICE.md
6a831c
6a831c
%changelog
6a831c
* Tue Jan 17 2023 Marian Koncek <mkoncek@redhat.com> - 4.1.1-1
6a831c
- Initial build