[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:
parent
480cddbf2c
commit
03e626018d
|
@ -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>
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue