Java/Kotlin sources move from com.ts3client to eu.lixko.ts3j.client, and the Android application id becomes eu.lixko.ts3j.client. The product name shows as "TeamSpook TS3j" in window titles, the tray, the launcher entries, notifications and PipeWire streams. The desktop profile directory, WM_CLASS and ts3j.* system properties keep their names so existing settings and launchers carry on working. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
158 lines
7.4 KiB
XML
158 lines
7.4 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>
|
|
|
|
<parent>
|
|
<groupId>eu.lixko.ts3j.client</groupId>
|
|
<artifactId>ts3-client-parent</artifactId>
|
|
<version>0.1.0</version>
|
|
</parent>
|
|
|
|
<artifactId>ts3-client-swing</artifactId>
|
|
<name>TeamSpook TS3j Swing Frontend</name>
|
|
<description>Swing desktop UI</description>
|
|
|
|
<properties>
|
|
<exec.mainClass>eu.lixko.ts3j.client.Main</exec.mainClass>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>eu.lixko.ts3j.client</groupId>
|
|
<artifactId>ts3-client-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>eu.lixko.ts3j.client</groupId>
|
|
<artifactId>ts3-client-desktop</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.manevolent</groupId>
|
|
<artifactId>ts3j</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.weisj</groupId>
|
|
<artifactId>jsvg</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.formdev</groupId>
|
|
<artifactId>flatlaf</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
<version>5.13.4</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>ts3-client</finalName>
|
|
<plugins>
|
|
<!--
|
|
The shade plugin replaces ts3-client.jar with the shaded jar. Without
|
|
forceCreation, a build where this module's classes did not change keeps
|
|
that shaded jar as the input to the next shade, and the stale copies of
|
|
the dependencies inside it (ts3j in particular) win over the fresh ones.
|
|
-->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<configuration>
|
|
<forceCreation>true</forceCreation>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.6.2</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<!--
|
|
Tree-shake the dependencies: only a fraction of Bouncy Castle
|
|
(the lightweight EC/AES-EAX API) is actually reachable.
|
|
-->
|
|
<minimizeJar>true</minimizeJar>
|
|
<filters>
|
|
<!-- Our own modules are entry points; keep them whole. -->
|
|
<filter>
|
|
<artifact>eu.lixko.ts3j.client:*</artifact>
|
|
<includes>
|
|
<include>**</include>
|
|
</includes>
|
|
</filter>
|
|
<filter>
|
|
<artifact>com.github.manevolent:ts3j</artifact>
|
|
<includes>
|
|
<include>**</include>
|
|
</includes>
|
|
</filter>
|
|
<!-- JSVG resolves its node types by service loader/reflection,
|
|
which minimizeJar cannot follow. -->
|
|
<filter>
|
|
<artifact>com.github.weisj:jsvg</artifact>
|
|
<includes>
|
|
<include>**</include>
|
|
</includes>
|
|
</filter>
|
|
<!-- FlatLaf instantiates its UI delegates by name and reads its
|
|
themes from .properties resources; neither is reachable
|
|
statically, so minimizeJar must not touch it. -->
|
|
<filter>
|
|
<artifact>com.formdev:flatlaf</artifact>
|
|
<includes>
|
|
<include>**</include>
|
|
</includes>
|
|
</filter>
|
|
<filter>
|
|
<artifact>*:*</artifact>
|
|
<excludes>
|
|
<!--
|
|
The shaded jar is not a multi-release jar, so the
|
|
versioned copies (all Bouncy Castle's) are never loaded,
|
|
and minimizeJar does not tree-shake them either.
|
|
-->
|
|
<exclude>META-INF/versions/**</exclude>
|
|
<exclude>META-INF/*.SF</exclude>
|
|
<exclude>META-INF/*.DSA</exclude>
|
|
<exclude>META-INF/*.RSA</exclude>
|
|
<exclude>module-info.class</exclude>
|
|
</excludes>
|
|
</filter>
|
|
</filters>
|
|
<transformers>
|
|
<transformer
|
|
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
<mainClass>eu.lixko.ts3j.client.Main</mainClass>
|
|
<manifestEntries>
|
|
<Enable-Native-Access>ALL-UNNAMED</Enable-Native-Access>
|
|
<Add-Opens>java.desktop/sun.awt.X11</Add-Opens>
|
|
</manifestEntries>
|
|
</transformer>
|
|
<!-- Merge overlapping META-INF/services entries (e.g. java.security.Provider)
|
|
instead of letting one dependency's file overwrite another's. -->
|
|
<transformer
|
|
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
|
|
</transformers>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
<version>3.1.0</version>
|
|
<configuration>
|
|
<mainClass>eu.lixko.ts3j.client.Main</mainClass>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|