Red Hat Bugzilla – Bug 1357624
Rebuilding of resteasy-base srpm fails when java-1.8.0-openjdk is used
Last modified: 2016-11-03 17:23:32 EDT
Created attachment 1181178 [details] Rebuilding of resteasy-base srpm with java-1.8.0-openjdk Description of problem: Rebuilding of resteasy-base srpm fails when java-1.8.0-openjdk is used. Version-Release number of selected component (if applicable): resteasy-base-3.0.6-2.el7 How reproducible: Always Steps to Reproduce: 1. Java package used: java-1.8.0-openjdk-1.8.0.91-1.b14.el7_2.x86_64 2. Run errata TPS srpm tests to create resteasy-base source rpm. Actual results: Rebuild log messages attached. Expected results: resteasy-base srpm should build successfully with java-1.8.0-openjdk. Additional info: With java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el7_2 resteasy-base srpm rebuilds successfully.
Decided to turn off doclint for java 8 javadoc. See attached patch. Commit to fix: Writing objects: 100% (4/4), 819 bytes | 0 bytes/s, done. Total 4 (delta 2), reused 0 (delta 0) remote: *** Checking commit 183e389d4ab1f0f44a134651b34360555f853f92 remote: *** Resolves: remote: *** Approved: remote: *** rhbz#1357624 (rhel-7.3.0+, pm_ack+) remote: *** Commit 183e389d4ab1f0f44a134651b34360555f853f92 allowed To ssh://alee@pkgs.devel.redhat.com/rpms/resteasy-base 48b54ad..183e389 rhel-7.3 -> rhel-7.3
diff -up Resteasy-3.0.6.Final/pom.xml.1357624 Resteasy-3.0.6.Final/pom.xml --- Resteasy-3.0.6.Final/pom.xml.1357624 2016-07-28 12:11:35.780819192 +0200 +++ Resteasy-3.0.6.Final/pom.xml 2016-07-28 12:13:14.163986190 +0200 @@ -8,6 +8,18 @@ <version>3.0.6</version> <packaging>pom</packaging> + <profiles> + <profile> + <id>disable-java8-doclint</id> + <activation> + <jdk>[1.8,)</jdk> + </activation> + <properties> + <additionalparam>-Xdoclint:none</additionalparam> + </properties> + </profile> + </profiles> + <url>http://rest-easy.org</url> <modules>
Marking the bug Verified.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2016-2604.html