Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1116863

Summary: [rpm] hibernate extra source jars
Product: [JBoss] JBoss Enterprise Web Server 2 Reporter: Michal Haško <mhasko>
Component: unspecifiedAssignee: trev <tkirby>
Status: CLOSED EOL QA Contact: Michal Karm Babacek <mbabacek>
Severity: high Docs Contact:
Priority: high    
Version: 2.1.0CC: jclere, jdoyle, mbabacek, pslavice, weli
Target Milestone: CR01   
Target Release: 3.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
In JBoss Web Server 3.0, some source files are included in the Hibernate RPM distribution that are not present in the Hibernate ZIP distribution. This is a known issue and there is currently no workaround for this problem.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-13 08:05:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michal Haško 2014-07-07 13:40:44 UTC
There are some extra source jars in the hibernate rpms that are not present in the 2.0.1-ER4 zip:

/usr/share/java/hibernate-commons-annotations-sources.jar from hibernate3-commons-annotations-4.0.1
/usr/share/java/hibernate4-eap6/hibernate-c3p0-sources.jar from hibernate4-c3p0-eap6-4.2.14
/usr/share/java/hibernate4-eap6/hibernate-core-sources.jar from hibernate4-core-eap6-4.2.14
/usr/share/java/hibernate4-eap6/hibernate-entitymanager-sources.jar from hibernate4-entitymanager-eap6-4.2.14
/usr/share/java/hibernate4-eap6/hibernate-envers-sources.jar from hibernate4-envers-eap6-4.2.14
/usr/share/java/hibernate-jpa-2.0-api-sources.jar from hibernate-jpa-2.0-api-1.0.

Comment 1 Weinan Li 2014-07-08 07:50:03 UTC
sources jar are not included into zip bundles. This is by convention, do we need to change it?

Comment 2 Weinan Li 2014-07-08 07:50:13 UTC
sources jar are not included into zip bundles. This is by convention, do we need to change it?

Comment 3 Michal Haško 2014-07-08 10:42:47 UTC
More:

/usr/share/java/jboss-transaction-api_1.1_spec-sources.jar from jboss-transaction-api_1.1_spec-1.0.1
/usr/share/java/javassist-eap6/javassist-sources.jar from javassist-eap6-3.18.1
/usr/share/java/hibernate4-eap6/hibernate-infinispan-sources.jar from hibernate4-infinispan-eap6-4.2.14
/usr/share/java/jboss-logging-sources.jar from jboss-logging-3.1.4

Comment 4 Michal Haško 2014-07-08 10:46:42 UTC
(In reply to Weinan Li from comment #1)
> sources jar are not included into zip bundles. This is by convention, do we
> need to change it?

If the source jars are not distributed in the zip bundles, why have them in rpms?
I'm just trying to make sure the rpm distribution matches the zip distribution as close as possible.

Comment 5 Weinan Li 2014-07-08 13:35:53 UTC
We usually distribute src-zips in ZIP and srpms for RPM. Same with storeconfig-tc6/tc7, we currently don't have a src-zip for hibernate4.

I propose we fix this in future versions of RPM. As asking David to create hibernate4-src-zip at this moment is risky.

Comment 6 Michal Haško 2014-07-08 13:49:29 UTC
Fair enough. Shall we defer this bug to JWS-3.0?

Comment 7 Weinan Li 2014-07-08 17:02:55 UTC
(In reply to Michal Haško from comment #6)
> Fair enough. Shall we defer this bug to JWS-3.0?

+1

Comment 9 Jean-frederic Clere 2014-07-09 12:05:18 UTC
Please document that as a known issue.

Comment 12 Libor Fuka 2015-04-23 06:57:43 UTC
We deliver Hibernate sources in hibernate zips inside and with separate packages for RPM.
We have mostly all sources from Description and comm#3 in 3.0.0-CR3.1 hibernate zip in the project directory. 

Some of sources are still missing in CR3.1 Hibernate zip: 
hibernate-commons-annotations
hibernate-jpa-2.0-api
jboss-transaction-api_1.1_spec
javassist-eap6-3.18.1
jboss-logging-3.1.4