#1 Fix JDK11 build by adding dependency for javax.xml.bind.
Merged 3 years ago by decathorpe. Opened 3 years ago by korkeala.
rpms/ korkeala/jboss-jaxrs-2.0-api master  into  master

file modified
+8 -1
@@ -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 @@ 

  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 @@ 

  # 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 @@ 

  %license LICENSE

  

  %changelog

+ * Thu Jul 23 2020 Markku Korkeala <markku.korkeala@iki.fi> - 1.0.0-12

+ - Fix JDK11 build by adding dependency for javax.xml.bind.

+ 

  * Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 1.0.0-11

  - Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11

  

Adding missing dependency in JDK11 for javax.xml.bind.

Looks good! I wonder why no CI build is happening. Does it compile locally with fedpkg mockbuild?

Looks good! I wonder why no CI build is happening. Does it compile locally with fedpkg mockbuild?

That is weird. It did build with mock (I was using Vaneks java11 mock config, but now that JDK11 change is merged I'll switch to using rawhide). Here is also a successful scratch build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=47688768

Yeah, no idea why it sometimes doesn't trigger the simple-koji-ci build.
Everything looking good, thanks for the PR!

Pull-Request has been merged by decathorpe

3 years ago
Metadata