Bug 826859

Summary: Adds javax.ejb:ejb-api to JPP dependency map
Product: [Fedora] Fedora Reporter: Lin Gao <lgao>
Component: geronimo-ejbAssignee: Spike <SpikeFedora>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: mat.booth, SpikeFedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: geronimo-ejb-1.0-12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-15 13:09:14 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:
Attachments:
Description Flags
geronimo-ejb-bug-1.0.0-1.fc16.src.rpm
none
Patch file on geronimo-ejb spec on branch f17 none

Description Lin Gao 2012-05-31 07:10:07 UTC
Created attachment 587955 [details]
geronimo-ejb-bug-1.0.0-1.fc16.src.rpm

Description of problem:
 JPP dependnecy map of geronimo-ejb does not have javax.ejb:ejb-api, while it is expected to have.

Version-Release number of selected component (if applicable):
1.0

How reproducible:
 Build a java component using maven3 which has dependency:
<dependency>
  <groupId>javax.ejb</groupId>
  <artifactId>ejb-api</artifactId>
</dependency>

adds:
Requires:  geronimo-ejb
in the spec file.

run: mvn-rpmbuild install command in %build section in spec file, the build will fail with compliant that no javax.ejb:ejb-api available.

Steps to Reproduce:
1. Download the attached geronimo-ejb-bug-1.0.0-1.fc16.src.rpm
2. run: koji build --scratch f17 PATH_TO_SRC_RPM
  
Actual results:
Build failed with message:
"The repository system is offline but the artifact javax.ejb:ejb-api:jar:3.0 is not available in the local repository"

Expected results:
Build succeed.


Additional info:

Please update geronimo-ejb to make the build pass.

Comment 1 Lin Gao 2012-06-07 08:37:30 UTC
Created attachment 590127 [details]
Patch file on geronimo-ejb spec on branch f17

Please take a look at the attached patch file for the fix.

Comment 2 Fedora End Of Life 2013-04-03 17:39:52 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 3 Mat Booth 2013-08-15 13:09:14 UTC
geronimo-ejb-1.0-12 is now built for rawhide:

https://koji.fedoraproject.org/koji/buildinfo?buildID=456858