+ SwingCameraWindow + SwingCCTVManager --- fixes in WebcamCaptureLoop.java : Include thread safety, and some more stuff which is needed for Swing components. Planning on deprecating SWT in general
133 lines
4.8 KiB
XML
133 lines
4.8 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>
|
|
|
|
<groupId>io.swtc</groupId>
|
|
<artifactId>swtc</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.5.1</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<transformers>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
<mainClass>io.swtc.Main</mainClass>
|
|
</transformer>
|
|
</transformers>
|
|
<filters>
|
|
<filter>
|
|
<artifact>*:*</artifact>
|
|
<excludes>
|
|
<exclude>META-INF/*.SF</exclude>
|
|
<exclude>META-INF/*.DSA</exclude>
|
|
<exclude>META-INF/*.RSA</exclude>
|
|
</excludes>
|
|
</filter>
|
|
</filters>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<properties>
|
|
<maven.compiler.source>17</maven.compiler.source>
|
|
<maven.compiler.target>17</maven.compiler.target>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<javacpp.platform>windows-x86_64</javacpp.platform>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.eclipse.platform</groupId>
|
|
<artifactId>org.eclipse.swt.win32.win32.x86_64</artifactId>
|
|
<version>3.132.0</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.github.sarxos</groupId>
|
|
<artifactId>webcam-capture</artifactId>
|
|
<version>0.3.12</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.github.sarxos</groupId>
|
|
<artifactId>webcam-capture-driver-ipcam</artifactId>
|
|
<version>0.3.12</version>
|
|
</dependency>
|
|
|
|
<!-- for gl we use lwjgl -->
|
|
|
|
<dependency>
|
|
<groupId>org.lwjgl</groupId>
|
|
<artifactId>lwjgl</artifactId>
|
|
<version>3.3.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.lwjgl</groupId>
|
|
<artifactId>lwjgl-opengl</artifactId>
|
|
<version>3.3.3</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.lwjgl</groupId>
|
|
<artifactId>lwjgl</artifactId>
|
|
<version>3.3.3</version>
|
|
<classifier>natives-windows</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.lwjgl</groupId>
|
|
<artifactId>lwjgl-opengl</artifactId>
|
|
<version>3.3.3</version>
|
|
<classifier>natives-windows</classifier>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
<version>6.1.0-M1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
|
|
<!-- For serializing network cameras we need json, well we dont need it but its certainly a quality
|
|
of life feature -->
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>2.20.1</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.jcodec/jcodec -->
|
|
<!--
|
|
Saving into Files
|
|
-->
|
|
<dependency>
|
|
<groupId>org.jcodec</groupId>
|
|
<artifactId>jcodec</artifactId>
|
|
<version>0.2.5</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.jcodec/jcodec-javase -->
|
|
<dependency>
|
|
<groupId>org.jcodec</groupId>
|
|
<artifactId>jcodec-javase</artifactId>
|
|
<version>0.2.5</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</project> |