Skip to content

Commit

Permalink
Remove org.bouncycastle bundles from LIC BC feature #1156
Browse files Browse the repository at this point in the history
Remove from org.bouncycastle bundles from feature
Switch from required bundle to package import
Add bcutil to template product manifests

Signed-off-by: Alexander Fedorov <[email protected]>
  • Loading branch information
ruspl-afed committed Nov 22, 2022
1 parent fc38809 commit 05de666
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
<plugin id="org.bouncycastle.bcpg"/>
<plugin id="org.bouncycastle.bcpkix"/>
<plugin id="org.bouncycastle.bcprov"/>
<plugin id="org.bouncycastle.bcutil"/>
<plugin id="org.eclipse.core.commands"/>
<plugin id="org.eclipse.core.contenttype"/>
<plugin id="org.eclipse.core.databinding"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
<plugin id="org.bouncycastle.bcpg"/>
<plugin id="org.bouncycastle.bcpkix"/>
<plugin id="org.bouncycastle.bcprov"/>
<plugin id="org.bouncycastle.bcutil"/>
<plugin id="org.eclipse.core.commands"/>
<plugin id="org.eclipse.core.contenttype"/>
<plugin id="org.eclipse.core.databinding"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
<plugin id="org.bouncycastle.bcpg"/>
<plugin id="org.bouncycastle.bcpkix"/>
<plugin id="org.bouncycastle.bcprov"/>
<plugin id="org.bouncycastle.bcutil"/>
<plugin id="org.eclipse.core.commands"/>
<plugin id="org.eclipse.core.contenttype"/>
<plugin id="org.eclipse.core.databinding"/>
Expand Down
14 changes: 10 additions & 4 deletions bundles/org.eclipse.passage.lic.bc/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@ Bundle-Vendor: %Bundle-Vendor
Bundle-Copyright: %Bundle-Copyright
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Bundle-ActivationPolicy: lazy
Require-Bundle: org.bouncycastle.bcpg;bundle-version="0.0.0",
org.bouncycastle.bcpkix;bundle-version="0.0.0",
org.bouncycastle.bcprov;bundle-version="0.0.0",
org.eclipse.passage.lic.api;bundle-version="2.6.0",
Require-Bundle: org.eclipse.passage.lic.api;bundle-version="2.6.0",
org.eclipse.passage.lic.base;bundle-version="2.6.0"
Export-Package: org.eclipse.passage.lic.bc
Import-Package: org.bouncycastle.bcpg;version="1.72.0",
org.bouncycastle.crypto.digests;version="1.72.0",
org.bouncycastle.jce;version="1.72.0",
org.bouncycastle.jce.provider;version="1.72.0",
org.bouncycastle.openpgp;version="1.72.0",
org.bouncycastle.openpgp.bc;version="1.72.0",
org.bouncycastle.openpgp.jcajce;version="1.72.0",
org.bouncycastle.openpgp.operator;version="1.72.0",
org.bouncycastle.openpgp.operator.jcajce;version="1.72.0"
28 changes: 0 additions & 28 deletions features/org.eclipse.passage.lic.bc.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,34 +36,6 @@
<import feature="org.eclipse.passage.lic.equinox.feature" version="0.0.0"/>
</requires>

<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"/>

<plugin
id="org.bouncycastle.bcutil"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.eclipse.passage.lic.bc"
download-size="0"
Expand Down
12 changes: 10 additions & 2 deletions releng/org.eclipse.passage.lic.repository/category.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,16 @@
id="org.eclipse.passage.lic.jetty.feature.source">
<category name="org.eclipse.passage.lic.category.source" />
</feature>
<bundle id="org.slf4j.api"/>
<bundle id="org.slf4j.api.source"/>
<bundle id="org.apache.logging.log4j"/>
<bundle id="org.apache.logging.log4j.source"/>
<bundle id="org.bouncycastle.bcpg" />
<bundle id="org.bouncycastle.bcpg.source" />
<bundle id="org.bouncycastle.bcpkix" />
<bundle id="org.bouncycastle.bcpkix.source" />
<bundle id="org.bouncycastle.bcprov" />
<bundle id="org.bouncycastle.bcprov.source" />
<bundle id="org.bouncycastle.bcutil" />
<bundle id="org.bouncycastle.bcutil.source" />
<bundle id="org.slf4j.api"/>
<bundle id="org.slf4j.api.source"/>
</site>

0 comments on commit 05de666

Please sign in to comment.