Browse Source

Fix jgit packaging

- new jsch and gpg.bc fragments need to be included in their features
  as fragments and require only the jgit bundle (not the jgit feature)
- feature org.eclipse.jgit should no longer include bouncycastle
- add missing url for gpg.bc feature in category.xml
- don't mark features as patch features

Change-Id: I4a46e3fed319221a704b754347a6798b4b199fe4
master
Matthias Sohn 5 years ago
parent
commit
e9f4cb1cba
  1. 21
      org.eclipse.jgit.packaging/org.eclipse.jgit.feature/feature.xml
  2. 3
      org.eclipse.jgit.packaging/org.eclipse.jgit.gpg.bc.feature/feature.xml
  3. 22
      org.eclipse.jgit.packaging/org.eclipse.jgit.repository/category.xml
  4. 3
      org.eclipse.jgit.packaging/org.eclipse.jgit.ssh.jsch.feature/feature.xml

21
org.eclipse.jgit.packaging/org.eclipse.jgit.feature/feature.xml

@ -57,25 +57,4 @@
version="0.0.0" version="0.0.0"
unpack="false"/> unpack="false"/>
<plugin
id="org.bouncycastle.bcpg"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.bouncycastle.bcpkix"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.bouncycastle.bcprov"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
</feature> </feature>

3
org.eclipse.jgit.packaging/org.eclipse.jgit.gpg.bc.feature/feature.xml

@ -23,7 +23,7 @@
</url> </url>
<requires> <requires>
<import feature="org.eclipse.jgit" version="5.8.0" match="equivalent"/> <import plugin="org.eclipse.jgit" version="5.8.0" match="equivalent"/>
</requires> </requires>
<plugin <plugin
@ -31,6 +31,7 @@
download-size="0" download-size="0"
install-size="0" install-size="0"
version="0.0.0" version="0.0.0"
fragment="true"
unpack="false"/> unpack="false"/>
<plugin <plugin

22
org.eclipse.jgit.packaging/org.eclipse.jgit.repository/category.xml

@ -3,28 +3,31 @@
<description url="JGit"> <description url="JGit">
This is a pure Java implementation of the Git version control system. The native Git version is also required in this version. This is a pure Java implementation of the Git version control system. The native Git version is also required in this version.
</description> </description>
<feature url="features/org.eclipse.jgit_0.0.0.qualifier.jar" id="org.eclipse.jgit" version="0.0.0" patch="true"> <feature url="features/org.eclipse.jgit_0.0.0.qualifier.jar" id="org.eclipse.jgit" version="0.0.0">
<category name="JGit"/> <category name="JGit"/>
</feature> </feature>
<feature url="features/org.eclipse.jgit.pgm_0.0.0.qualifier.jar" id="org.eclipse.jgit.pgm" version="0.0.0" patch="true"> <feature url="features/org.eclipse.jgit.pgm_0.0.0.qualifier.jar" id="org.eclipse.jgit.pgm" version="0.0.0">
<category name="JGit"/> <category name="JGit"/>
</feature> </feature>
<feature url="features/org.eclipse.jgit.ssh.apache_0.0.0.qualifier.jar" id="org.eclipse.jgit.ssh.apache" version="0.0.0" patch="true"> <feature url="features/org.eclipse.jgit.ssh.apache_0.0.0.qualifier.jar" id="org.eclipse.jgit.ssh.apache" version="0.0.0">
<category name="JGit"/> <category name="JGit"/>
</feature> </feature>
<feature url="features/org.eclipse.jgit.source_0.0.0.qualifier.jar" id="org.eclipse.jgit.source" version="0.0.0" patch="true"> <feature url="features/org.eclipse.jgit.source_0.0.0.qualifier.jar" id="org.eclipse.jgit.source" version="0.0.0">
<category name="JGit"/> <category name="JGit"/>
</feature> </feature>
<feature url="features/org.eclipse.jgit.junit_0.0.0.qualifier.jar" id="org.eclipse.jgit.junit" version="0.0.0" patch="true"> <feature url="features/org.eclipse.jgit.junit_0.0.0.qualifier.jar" id="org.eclipse.jgit.junit" version="0.0.0">
<category name="JGit"/> <category name="JGit"/>
</feature> </feature>
<feature url="features/org.eclipse.jgit.http.apache_0.0.0.qualifier.jar" id="org.eclipse.jgit.http.apache" version="0.0.0" patch="true"> <feature url="features/org.eclipse.jgit.http.apache_0.0.0.qualifier.jar" id="org.eclipse.jgit.http.apache" version="0.0.0">
<category name="JGit"/> <category name="JGit"/>
</feature> </feature>
<feature url="features/org.eclipse.jgit.lfs_0.0.0.qualifier.jar" id="org.eclipse.jgit.lfs" version="0.0.0" patch="true"> <feature url="features/org.eclipse.jgit.lfs_0.0.0.qualifier.jar" id="org.eclipse.jgit.lfs" version="0.0.0">
<category name="JGit"/> <category name="JGit"/>
</feature> </feature>
<feature url="features/org.eclipse.jgit.ssh.jsch_0.0.0.qualifier.jar" id="org.eclipse.jgit.ssh.jsch" version="0.0.0" patch="true"> <feature url="features/org.eclipse.jgit.ssh.jsch_0.0.0.qualifier.jar" id="org.eclipse.jgit.ssh.jsch" version="0.0.0">
<category name="JGit"/>
</feature>
<feature url="features/org.eclipse.jgit.gpg.bc_0.0.0.qualifier.jar" id="org.eclipse.jgit.gpg.bc" version="0.0.0">
<category name="JGit"/> <category name="JGit"/>
</feature> </feature>
<bundle id="org.eclipse.jgit.ant" version="0.0.0"> <bundle id="org.eclipse.jgit.ant" version="0.0.0">
@ -33,9 +36,6 @@
<bundle id="org.eclipse.jgit.archive" version="0.0.0"> <bundle id="org.eclipse.jgit.archive" version="0.0.0">
<category name="JGit-additional-bundles"/> <category name="JGit-additional-bundles"/>
</bundle> </bundle>
<feature id="org.eclipse.jgit.gpg.bc" version="0.0.0">
<category name="JGit"/>
</feature>
<bundle id="org.eclipse.jgit.ui" version="0.0.0"> <bundle id="org.eclipse.jgit.ui" version="0.0.0">
<category name="JGit-additional-bundles"/> <category name="JGit-additional-bundles"/>
</bundle> </bundle>

3
org.eclipse.jgit.packaging/org.eclipse.jgit.ssh.jsch.feature/feature.xml

@ -23,7 +23,7 @@
</url> </url>
<requires> <requires>
<import feature="org.eclipse.jgit" version="5.8.0" match="equivalent"/> <import plugin="org.eclipse.jgit" version="5.8.0" match="equivalent"/>
</requires> </requires>
<plugin <plugin
@ -31,6 +31,7 @@
download-size="0" download-size="0"
install-size="0" install-size="0"
version="0.0.0" version="0.0.0"
fragment="true"
unpack="false"/> unpack="false"/>
<plugin <plugin

Loading…
Cancel
Save