[ipp] Update cups4j and dependencies (#12443)

Updates cups4j to 0.7.8 and syncs the cups4j dependencies.

Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
Wouter Born 2022-03-13 11:05:58 +01:00 committed by GitHub
parent 480cddbf2c
commit 03e626018d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 5 deletions

View 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>
@ -36,22 +36,28 @@
<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>

View 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));
}