Bug 1116863 - [rpm] hibernate extra source jars
Summary: [rpm] hibernate extra source jars
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss Enterprise Web Server 2
Classification: JBoss
Component: unspecified
Version: 2.1.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: CR01
: 3.0.0
Assignee: trev
QA Contact: Michal Karm Babacek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-07 13:40 UTC by Michal Haško
Modified: 2019-06-13 08:05 UTC (History)
5 users (show)

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.
Clone Of:
Environment:
Last Closed: 2019-06-13 08:05:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


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