Bug 923270

Summary: Tracking bug for packages installing JAR files into wrong directories
Product: [Fedora] Fedora Reporter: Mikolaj Izdebski <mizdebsk>
Component: distributionAssignee: Bill Nottingham <notting>
Status: CLOSED NOTABUG QA Contact: Bill Nottingham <notting>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dennis, rvokal
Target Milestone: ---Keywords: Tracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-19 15:55:46 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:
Bug Depends On: 923273, 923274, 923275, 923276, 923277, 923278, 923279, 923280, 923281, 923282, 923283, 923284, 923286, 923287, 923288, 923289, 923291, 923292, 923293, 923294, 923295, 923296, 923297, 923298, 923299, 923300, 923301, 923302, 923303, 923304, 923305, 923306, 923307, 923308, 923309, 923310, 923311, 923312, 923313, 923314, 923315, 923316, 923317, 923318, 923319, 923320, 923321, 923322, 923323, 923324, 923325, 923326, 923327, 923328, 923329, 923330, 923331    
Bug Blocks:    

Description Mikolaj Izdebski 2013-03-19 15:25:40 UTC
Description of problem:
This is a bug for tracking packages that violate Java packaging guidelines[1]
by installing JAR files into non-standard directories.

According to Java packaging guidelines[1] all architecture-independent
JAR files MUST go into %{_javadir} or a Java-version specific
directory %{_javadir}-* as appropriate and JAR files using JNI or
containing JNI shared objects themselves MUST be placed in %{_jnidir}.

If JAR were put into some non-standard directory for technical reasons
then these JARs should be moved to proper locations (as described in the
guidelines[1]) and symbolic links can be placed in the previous location.

Additional info:
[1] http://fedoraproject.org/wiki/Packaging:Java
[2] http://fedoraproject.org/wiki/Packaging:Guidelines

Comment 1 Mikolaj Izdebski 2013-03-19 15:55:46 UTC
I was aware that separate Eclipse guideline existed, but I was not aware that it was part of the official packaging guideline.

Eclipse guideline says packages "should" install JARs into Eclipse-specific directories, but Java packaging guidelines says that these JARs must be installed into other directories. This is a conflict.

Now I believe that this conflict should be solved using "lex specialis derogat legi generali" rule, which puts Eclipse guideline before Java guideline.