Blame SPECS/jaxb-istack-commons.spec

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