Bug 711861 - Packaged jar missing OSGi missing data
Summary: Packaged jar missing OSGi missing data
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: args4j
Version: rawhide
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
Assignee: Jaromír Cápík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-08 18:57 UTC by Abhishek Bhatnagar
Modified: 2016-02-01 01:55 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-16 17:05:20 UTC
Type: ---


Attachments (Terms of Use)

Description Abhishek Bhatnagar 2011-06-08 18:57:15 UTC
Description of problem:
The manifest of the rpm located at http://kojipkgs.fedoraproject.org/packages/args4j/2.0.16/3.fc16/noarch/args4j-2.0.16-3.fc16.noarch.rpm does not contain any OSGi metadata.

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

How reproducible:

Steps to Reproduce:
1. Download http://kojipkgs.fedoraproject.org/packages/args4j/2.0.16/3.fc16/noarch/args4j-2.0.16-3.fc16.noarch.rpm
2. Install rpm
3. locate rpm: rpm -ql args4j | grep jar
4. unpackage jar: jar xf /usr/share/java/args4j.jar
5. look into manifest: cat META-INF/MANIFEST.MF

Actual results:

Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: Apache Maven
Built-By: mockbuild
Build-Jdk: 1.6.0_22


Expected results:
OSGi metadata

Additional info:

Comment 1 Alexander Kurtakov 2011-06-09 12:47:22 UTC
There are 2 options for resolving the problem:
* easy one - Get the manifest from http://www.eclipse.org/downloads/download.php?r=1&file=/tools/orbit/downloads/drops/R20110523182458/repository/plugins/org.kohsuke.args4j_2.0.12.v200910131500.jar and inject it into the jar
* correct one - modify the pom.xmls to change packaging type to bundle so osgi manifests are properly generated, verify them with the eclipse manifest and push the patch upstream

Comment 2 Jaromír Cápík 2011-06-13 17:42:32 UTC
Hello Abhishek.

I've just created a new release (2.0.16-4).
http://kojipkgs.fedoraproject.org/packages/args4j/2.0.16/4.fc16/noarch/args4j-2.0.16-4.fc16.noarch.rpm

Please, test it and let me know.

Thanks in advance.

Regards,
Jaromir.

Comment 3 Abhishek Bhatnagar 2011-06-14 18:15:04 UTC
(In reply to comment #2)
> Hello Abhishek.
> 
> I've just created a new release (2.0.16-4).
> http://kojipkgs.fedoraproject.org/packages/args4j/2.0.16/4.fc16/noarch/args4j-2.0.16-4.fc16.noarch.rpm
> 
> Please, test it and let me know.
> 
> Thanks in advance.
> 
> Regards,
> Jaromir.

thanks Jaromir.
will test out later on today and get back to you.

Comment 4 Abhishek Bhatnagar 2011-06-16 17:05:20 UTC
Works great!

thanks!

(In reply to comment #2)
> Hello Abhishek.
> 
> I've just created a new release (2.0.16-4).
> http://kojipkgs.fedoraproject.org/packages/args4j/2.0.16/4.fc16/noarch/args4j-2.0.16-4.fc16.noarch.rpm
> 
> Please, test it and let me know.
> 
> Thanks in advance.
> 
> Regards,
> Jaromir.


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