Skip to content

Commit e0d7f3b

Browse files
Drop transitive dependency on bcprov
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
1 parent 812cbe8 commit e0d7f3b

2 files changed

Lines changed: 10 additions & 14 deletions

File tree

bundles/org.openhab.binding.knx/NOTICE

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,8 @@ calimero
1818
* License: GPL v2 License with CLASSPATH EXCEPTION
1919
* Project: http://calimero-project.github.io
2020
* Source: https://github.com/calimero-project
21+
22+
TSS.MSR / TSS.java
23+
* License: The MIT License (MIT)
24+
* Project: https://github.com/microsoft/TSS.MSR
25+
* Source: https://github.com/microsoft/TSS.MSR/tree/main/TSS.Java

bundles/org.openhab.binding.knx/pom.xml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<name>openHAB Add-ons :: Bundles :: KNX Binding</name>
1616

1717
<properties>
18-
<bnd.importpackage>javax.microedition.io.*;resolution:="optional",javax.usb.*;resolution:="optional",org.usb4java.*;resolution:="optional"</bnd.importpackage>
18+
<bnd.importpackage>javax.microedition.io.*;resolution:="optional",javax.usb.*;resolution:="optional",org.usb4java.*;resolution:="optional",org.bouncycastle.*;resolution:="optional"</bnd.importpackage>
1919
</properties>
2020

2121
<dependencies>
@@ -55,12 +55,6 @@
5555
<version>1.0.0</version>
5656
<scope>provided</scope>
5757
</dependency>
58-
<dependency>
59-
<groupId>org.bouncycastle</groupId>
60-
<!-- last version of 1.5 branch is bcprov-jdk15on 1.70 -->
61-
<artifactId>bcprov-jdk18on</artifactId>
62-
<version>1.77</version>
63-
</dependency>
6458
</dependencies>
6559

6660
<build>
@@ -114,15 +108,13 @@
114108
</goals>
115109
<configuration>
116110
<target>
117-
<echo file="${project.build.outputDirectory}/deps.txt"
118-
message="compile classpath: ${compile_classpath}"/>
119111
<echo>"Fixing TSS.Java for OSGI"</echo>
120112
<delete>
121-
<fileset dir="${project.build.directory}/classes" includes="TSSMain.class"/>
113+
<fileset dir="${project.build.directory}/classes" includes="*"/>
114+
</delete>
115+
<delete includeemptydirs="true" failonerror="false">
116+
<fileset dir="${project.build.directory}/classes/samples"/>
122117
</delete>
123-
<jar destfile="${project.build.directory}/TSS.Java-fixed-1.0.0.jar">
124-
<fileset dir="${project.build.directory}/classes/tss"/>
125-
</jar>
126118
</target>
127119
</configuration>
128120
</execution>
@@ -143,7 +135,6 @@ Require-Capability:
143135
cardinality:=multiple
144136
SPI-Provider: tuwien.auto.calimero.serial.spi.SerialCom
145137
SPI-Consumer: java.util.ServiceLoader#load(java.lang.Class[tuwien.auto.calimero.serial.spi.SerialCom])
146-
-includeresource: "target/TSS.Java-fixed-1.0.0.jar";lib:=true
147138
]]>
148139
</bnd>
149140
</configuration>

0 commit comments

Comments
 (0)