mirror of
https://github.com/bwssytems/ha-bridge.git
synced 2025-12-16 18:24:36 +00:00
Updated pom.xml to include log4j-over-slf4j for http client to work
properly and make sure the minimize jar function does not remove it. Also removed call to VeraInfo in the main program as it is not needed.
This commit is contained in:
17
pom.xml
17
pom.xml
@@ -33,6 +33,11 @@
|
||||
<artifactId>slf4j-simple</artifactId>
|
||||
<version>1.7.5</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>log4j-over-slf4j</artifactId>
|
||||
<version>1.7.5</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.code.gson</groupId>
|
||||
<artifactId>gson</artifactId>
|
||||
@@ -79,6 +84,18 @@
|
||||
<exclude>*.properties</exclude>
|
||||
</excludes>
|
||||
</filter>
|
||||
<filter>
|
||||
<artifact>org.slf4j:*</artifact>
|
||||
<includes>
|
||||
<include>**</include>
|
||||
</includes>
|
||||
</filter>
|
||||
<filter>
|
||||
<artifact>commons-logging:commons-logging</artifact>
|
||||
<includes>
|
||||
<include>**</include>
|
||||
</includes>
|
||||
</filter>
|
||||
</filters>
|
||||
<transformers>
|
||||
<transformer
|
||||
|
||||
@@ -37,7 +37,6 @@ public class HABridge {
|
||||
HueMulator theHueMulator;
|
||||
UpnpSettingsResource theSettingResponder;
|
||||
UpnpListener theUpnpListener;
|
||||
VeraInfo theVera;
|
||||
InetAddress address;
|
||||
String addressString;
|
||||
BridgeSettings bridgeSettings;
|
||||
@@ -65,8 +64,6 @@ public class HABridge {
|
||||
// sparkjava config directive to set html static file location for Jetty
|
||||
staticFileLocation("/public");
|
||||
log.info("Starting setup....");
|
||||
theVera = new VeraInfo(bridgeSettings.getVeraAddress());
|
||||
theVera.getSdata();
|
||||
// setup the class to handle the resource setup rest api
|
||||
theResources = new DeviceResource(bridgeSettings);
|
||||
// setup the class to handle the hue emulator rest api
|
||||
|
||||
Reference in New Issue
Block a user