2021-01-14 22:28:24 +00:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>lantern-currentmonitor</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
2022-04-29 19:59:56 +00:00
|
|
|
<version>1.1.0</version>
|
2021-01-14 22:28:24 +00:00
|
|
|
<name>lantern-currentmonitor</name>
|
|
|
|
|
2022-04-29 19:59:56 +00:00
|
|
|
<parent>
|
|
|
|
<groupId>com.lanternsoftware.currentmonitor</groupId>
|
|
|
|
<artifactId>currentmonitor</artifactId>
|
|
|
|
<version>1.1.0</version>
|
|
|
|
</parent>
|
2021-01-14 22:28:24 +00:00
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<version>1.7.29</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
<version>1.2.3</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2022-05-02 23:20:03 +00:00
|
|
|
<groupId>com.lanternsoftware.pigpio</groupId>
|
|
|
|
<artifactId>lantern-pigpio</artifactId>
|
|
|
|
<version>${pigpio.version}</version>
|
2021-01-14 22:28:24 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.hypfvieh</groupId>
|
|
|
|
<artifactId>bluez-dbus</artifactId>
|
|
|
|
<version>0.1.3</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.lanternsoftware.currentmonitor</groupId>
|
|
|
|
<artifactId>lantern-datamodel-currentmonitor</artifactId>
|
2022-04-29 19:59:56 +00:00
|
|
|
<version>${cm.version}</version>
|
2021-01-14 22:28:24 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.lanternsoftware.util</groupId>
|
|
|
|
<artifactId>lantern-util-http</artifactId>
|
2022-04-29 19:59:56 +00:00
|
|
|
<version>${util.version}</version>
|
2021-01-14 22:28:24 +00:00
|
|
|
</dependency>
|
2021-02-22 00:56:58 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.paho</groupId>
|
|
|
|
<artifactId>org.eclipse.paho.client.mqttv3</artifactId>
|
|
|
|
<version>1.2.5</version>
|
|
|
|
</dependency>
|
2021-01-14 22:28:24 +00:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2022-05-02 23:20:03 +00:00
|
|
|
<version>3.10.1</version>
|
2021-01-14 22:28:24 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>testCompile</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>compile</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<optimize>true</optimize>
|
|
|
|
<showDeprecation>true</showDeprecation>
|
|
|
|
<encoding>UTF-8</encoding>
|
2022-04-29 19:59:56 +00:00
|
|
|
<source>${maven.compiler.source}</source>
|
|
|
|
<target>${maven.compiler.target}</target>
|
2021-01-14 22:28:24 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
2022-05-02 23:20:03 +00:00
|
|
|
<version>3.3.0</version>
|
2021-01-14 22:28:24 +00:00
|
|
|
<configuration>
|
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
2021-02-23 18:21:43 +00:00
|
|
|
<filters>
|
|
|
|
<filter>
|
|
|
|
<artifact>*:*</artifact>
|
|
|
|
<excludes>
|
|
|
|
<exclude>META-INF/*.SF</exclude>
|
|
|
|
<exclude>META-INF/*.DSA</exclude>
|
|
|
|
<exclude>META-INF/*.RSA</exclude>
|
|
|
|
</excludes>
|
|
|
|
</filter>
|
|
|
|
</filters>
|
2021-01-14 22:28:24 +00:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<finalName>lantern-currentmonitor</finalName>
|
|
|
|
<transformers>
|
|
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
|
|
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
|
|
<manifestEntries>
|
|
|
|
<Main-Class>com.lanternsoftware.currentmonitor.MonitorApp</Main-Class>
|
|
|
|
<Specification-Title>Lantern Power Monitor</Specification-Title>
|
|
|
|
<Specification-Version>${project.version}</Specification-Version>
|
|
|
|
<Specification-Vendor>Lantern Software, Inc.</Specification-Vendor>
|
|
|
|
</manifestEntries>
|
|
|
|
</transformer>
|
|
|
|
</transformers>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|