Bug 1490922

Summary: Please make sure collectd-java (and any java related subpackage) comes with generated maven metadata
Product: [Fedora] Fedora EPEL Reporter: Andrea Veri <andrea.veri>
Component: collectdAssignee: Jonathan Wright <jonathan>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: andrea.veri, gregswift, kevin, mhlavink, ruben
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-07-09 02:12:18 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 Andrea Veri 2017-09-12 13:33:06 UTC
Description of problem:

Currently collectd-java ships with a bundled collectd-api.jar but comes with no maven metadata that would allow the classes provided by the aforementioned jar file to be made available at build time to packages needing it.

How reproducible:

Always.

Steps to Reproduce:
rpm -qp --provides collectd-java-5.7.1-2.el7.x86_64.rpm 


Actual results:
collectd-java = 5.7.1-2.el7
collectd-java(x86-64) = 5.7.1-2.el7


Expected results:
collectd-java = 5.7.1-2.el7
collectd-java(x86-64) = 5.7.1-2.el7
mvn(org.collectd:collectd-api)

Comment 1 Ruben Kerkhof 2017-10-02 18:26:46 UTC
I know next to nothing about Java, let alone Maven, so bear with me, but wouldn't collectd need to provide a pom.xml file too?

At least https://fedoraproject.org/wiki/Packaging:Java seems to suggest that.

Comment 2 Andrea Veri 2017-10-03 09:17:45 UTC
That's correct, ideally we'd want to see upstream shipping their own pom.xml file but there are ways to auto-generate it via the Maven install plugin, as an example [1].

[1] http://maven.apache.org/plugins/maven-install-plugin/examples/generic-pom-generation.html

Comment 3 Ruben Kerkhof 2017-10-03 09:20:57 UTC
Ok. I don't have much time to look into this, but if you can come up with a patch either here or upstream I'll make sure it gets applied.

Comment 4 Ruben Kerkhof 2018-04-04 14:23:41 UTC
Andrea, did you have a change to look into this?

Comment 5 Fedora Admin user for bugzilla script actions 2024-05-17 00:14:03 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 6 Fedora Admin user for bugzilla script actions 2024-05-17 12:33:05 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 7 Troy Dawson 2024-07-09 02:12:18 UTC
EPEL 7 entered end-of-life (EOL) status on 2024-06-30.\n\nEPEL 7 is no longer maintained, which means that it\nwill not receive any further security or bug fix updates.\n As a result we are closing this bug.