This page contains Fedora guidelines for packaging Eclipse plug-ins. Since Eclipse plug-ins are also Java packages, this page extends (and where necessary, overrides) the guidelines laid out in the Fedora Packaging Guidelines for Java. If you are not familiar with Java packaging in Fedora, please read the Java guidelines before continuing.
Packages MUST follow the standard Fedora package naming guidelines for add-on packages.
BuildRequires and Requires
Eclipse plug-ins in Fedora are always built with Maven/Tycho, so they MUST BuildRequire it:
And optionally, for plug-ins that make advanced use of Tycho:
Since Eclipse plug-in packages are also Java packages, the binary packages or their dependencies MUST have Requires (generated by RPM or manual) on:
java-headless >= 1:minimal_required_version
And additionally, Eclipse plug-in binary packages or their dependencies MUST have Requires (generated by RPM or manual) on:
Since Eclipse plug-ins provide their documentation through the Eclipse help system they SHOULD NOT have a javadoc sub-package. The normal javadoc generation can be disabled by passing an extra parameter to the Maven build command: