mirror of
				https://github.com/zyphlar/LanternPowerMonitor.git
				synced 2024-03-08 14:07:47 +00:00 
			
		
		
		
	 c8319d6369
			
		
	
	
		c8319d6369
		
	
	
	
	
		
			
			This is based on pi4j 2.0 which is in a beta status. I have fixed a few bugs in a local version of pi4j 2.0 to get it to work but I haven't submitted those changes to pi4j yet. This change requires a migration to Java 11 and will *NOT* be backwards compatible. Upgrading to this hub software will require that java 11 and pigpio be installed on the hub. This can be done from an ssh session with the following commands: apt-get update apt-get install openjdk-11-jre-headless apt-get install pigpio Alternatively, you can download a new sd image, reflash your sd card, and re-adopt your hub.
		
			
				
	
	
		
			71 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			71 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="UTF-8"?>
 | |
| <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/xsd/maven-4.0.0.xsd">
 | |
| 	<modelVersion>4.0.0</modelVersion>
 | |
| 	<artifactId>lantern-util-servlet</artifactId>
 | |
| 	<name>lantern-util-servlet</name>
 | |
| 	<version>1.0.0</version>
 | |
| 	<packaging>jar</packaging>
 | |
| 
 | |
| 	<parent>
 | |
| 		<groupId>com.lanternsoftware.util</groupId>
 | |
| 		<artifactId>util</artifactId>
 | |
| 		<version>1.0.0</version>
 | |
| 	</parent>
 | |
| 
 | |
| 	<dependencies>
 | |
| 		<dependency>
 | |
|             <groupId>${project.groupId}</groupId>
 | |
|             <artifactId>lantern-util-dao</artifactId>
 | |
|             <version>${project.version}</version>
 | |
| 		</dependency>
 | |
| 		<dependency>
 | |
| 			<groupId>org.freemarker</groupId>
 | |
| 			<artifactId>freemarker</artifactId>
 | |
| 			<version>2.3.23</version>
 | |
| 		</dependency>
 | |
| 		<dependency>
 | |
| 			<groupId>javax</groupId>
 | |
| 			<artifactId>javaee-api</artifactId>
 | |
| 			<version>7.0</version>
 | |
| 			<scope>provided</scope>
 | |
| 		</dependency>
 | |
| 	</dependencies>
 | |
| 	<build>
 | |
| 		<plugins>
 | |
| 			<plugin>
 | |
| 				<groupId>org.apache.maven.plugins</groupId>
 | |
| 				<artifactId>maven-compiler-plugin</artifactId>
 | |
| 				<version>3.2</version>
 | |
| 				<executions>
 | |
| 					<execution>
 | |
| 						<goals>
 | |
| 							<goal>testCompile</goal>
 | |
| 						</goals>
 | |
| 						<phase>compile</phase>
 | |
| 					</execution>
 | |
| 				</executions>
 | |
| 				<configuration>
 | |
| 					<optimize>true</optimize>
 | |
| 					<showDeprecation>true</showDeprecation>
 | |
| 					<encoding>UTF-8</encoding>
 | |
| 					<source>${maven.compiler.source}</source>
 | |
| 					<target>${maven.compiler.target}</target>
 | |
| 				</configuration>
 | |
| 			</plugin>
 | |
| 			<plugin>
 | |
| 				<groupId>org.apache.maven.plugins</groupId>
 | |
| 				<artifactId>maven-source-plugin</artifactId>
 | |
| 				<version>3.2.1</version>
 | |
| 				<executions>
 | |
| 					<execution>
 | |
| 						<phase>package</phase>
 | |
| 						<goals>
 | |
| 							<goal>jar</goal>
 | |
| 						</goals>
 | |
| 					</execution>
 | |
| 				</executions>
 | |
| 			</plugin>
 | |
| 		</plugins>
 | |
| 	</build>
 | |
| </project>
 |