From 471646bd01d22c265d06513ad3c2a597c60c2989 Mon Sep 17 00:00:00 2001 From: Markku Korkeala Date: Thu, 23 Jul 2020 14:31:29 +0300 Subject: [PATCH] Fix JDK11 build by adding dependency for javax.xml.bind. --- jboss-jaxrs-2.0-api.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/jboss-jaxrs-2.0-api.spec b/jboss-jaxrs-2.0-api.spec index 4030df7..c05d07b 100644 --- a/jboss-jaxrs-2.0-api.spec +++ b/jboss-jaxrs-2.0-api.spec @@ -4,7 +4,7 @@ Name: jboss-jaxrs-2.0-api Version: 1.0.0 -Release: 11%{?dist} +Release: 12%{?dist} Summary: JAX-RS 2.0: The Java API for RESTful Web Services # ASL 2.0 src/main/java/javax/ws/rs/core/GenericEntity.java License: (CDDL or GPLv2 with exceptions) and ASL 2.0 @@ -14,6 +14,7 @@ Source0: https://github.com/jboss/jboss-jaxrs-api_spec/archive/%{oname}-%{ BuildRequires: maven-local BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.jboss:jboss-parent:pom:) +BuildRequires: mvn(javax.xml.bind:jaxb-api) BuildArch: noarch @@ -32,6 +33,9 @@ This package contains javadoc for %{name}. # Unneeded plugin %pom_remove_plugin :maven-source-plugin +# Fix JDK11 build, add missing javax.xml.bind +%pom_add_dep javax.xml.bind:jaxb-api + %mvn_file :%{oname} %{name} # remove after upgrading narayana @@ -51,6 +55,9 @@ This package contains javadoc for %{name}. %license LICENSE %changelog +* Thu Jul 23 2020 Markku Korkeala - 1.0.0-12 +- Fix JDK11 build by adding dependency for javax.xml.bind. + * Fri Jul 10 2020 Jiri Vanek - 1.0.0-11 - Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11