]> git.basschouten.com Git - openhab-addons.git/commitdiff
[ipp] Update cups4j and dependencies (#12443)
authorWouter Born <github@maindrain.net>
Sun, 13 Mar 2022 10:05:58 +0000 (11:05 +0100)
committerGitHub <noreply@github.com>
Sun, 13 Mar 2022 10:05:58 +0000 (11:05 +0100)
Updates cups4j to 0.7.8 and syncs the cups4j dependencies.

Signed-off-by: Wouter Born <github@maindrain.net>
bundles/org.openhab.binding.ipp/pom.xml
bundles/org.openhab.binding.ipp/src/main/java/org/openhab/binding/ipp/internal/handler/IppPrinterHandler.java

index 79b78cb084c03a671be8b91849eefc149859c9c5..d1f7c7ddf8a30e9e6062b4401c2578374a2386a0 100644 (file)
@@ -22,7 +22,7 @@
     <dependency>
       <groupId>org.cups4j</groupId>
       <artifactId>cups4j</artifactId>
-      <version>0.7.6</version>
+      <version>0.7.8</version>
       <scope>compile</scope>
     </dependency>
     <dependency>
       <artifactId>xmlpull</artifactId>
       <version>1.1.3.1</version>
     </dependency>
+    <dependency>
+      <groupId>commons-lang</groupId>
+      <artifactId>commons-lang</artifactId>
+      <version>2.6</version>
+      <scope>compile</scope>
+    </dependency>
     <dependency>
       <groupId>commons-io</groupId>
       <artifactId>commons-io</artifactId>
-      <version>1.4</version>
+      <version>2.7</version>
       <scope>compile</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.httpcomponents</groupId>
       <artifactId>httpcore-osgi</artifactId>
-      <version>4.4.4</version>
+      <version>4.4.15</version>
       <scope>compile</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.httpcomponents</groupId>
       <artifactId>httpclient-osgi</artifactId>
-      <version>4.5.3</version>
+      <version>4.5.13</version>
       <scope>compile</scope>
     </dependency>
   </dependencies>
index 86e9c1e65a2df84b311650f1a8fe03c7b1838648..6e6c9b756dcebdbb71092766f36262210d9b3884 100644 (file)
@@ -82,7 +82,7 @@ public class IppPrinterHandler extends BaseThingHandler implements DiscoveryList
             } else if (obj instanceof String) {
                 url = new URL((String) obj);
             }
-            printer = new CupsPrinter(url, name, false);
+            printer = new CupsPrinter(null, url, name);
         } catch (MalformedURLException e) {
             logger.error("malformed url {}, printer thing creation failed", config.get(PRINTER_PARAMETER_URL));
         }