Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1357624 - Rebuilding of resteasy-base srpm fails when java-1.8.0-openjdk is used
Rebuilding of resteasy-base srpm fails when java-1.8.0-openjdk is used
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: resteasy-base (Show other bugs)
7.3
Unspecified Unspecified
unspecified Severity unspecified
: rc
: 7.3
Assigned To: Ade Lee
Asha Akkiangady
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-07-18 12:37 EDT by Asha Akkiangady
Modified: 2016-11-03 17:23 EDT (History)
1 user (show)

See Also:
Fixed In Version: resteasy-base-3.0.6-3.el7
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-11-03 17:23:32 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Rebuilding of resteasy-base srpm with java-1.8.0-openjdk (41.01 KB, text/plain)
2016-07-18 12:37 EDT, Asha Akkiangady
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:2604 normal SHIPPED_LIVE Important: resteasy-base security and bug fix update 2016-11-03 08:13:14 EDT

  None (edit)
Description Asha Akkiangady 2016-07-18 12:37:10 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.
Comment 2 Ade Lee 2016-07-28 06:45:29 EDT
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
Comment 3 Ade Lee 2016-07-28 06:46:38 EDT
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>
Comment 6 Asha Akkiangady 2016-08-16 15:46:35 EDT
Marking the bug Verified.
Comment 8 errata-xmlrpc 2016-11-03 17:23:32 EDT
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

Note You need to log in before you can comment on or make changes to this bug.