96 lines
3.4 KiB
XML
96 lines
3.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/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>jnet</groupId>
|
|
<artifactId>jNetServer</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<build>
|
|
<finalName>jNetServer</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>3.3.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-resources</id>
|
|
<phase>process-resources</phase>
|
|
<goals>
|
|
<goal>copy-resources</goal>
|
|
</goals>
|
|
<configuration>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>false</filtering>
|
|
</resource>
|
|
</resources>
|
|
<outputDirectory>${project.build.directory}</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.5.0</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<shadedArtifactAttached>false</shadedArtifactAttached>
|
|
<shadedClassifierName>null</shadedClassifierName>
|
|
<transformers>
|
|
<transformer />
|
|
<transformer>
|
|
<mainClass>jnet.server.Server</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>
|
|
<filter>
|
|
<artifact>jnet:jNetServer</artifact>
|
|
<excludes>
|
|
<exclude>db/**</exclude>
|
|
<exclude>assets/**</exclude>
|
|
<exclude>**/*.properties</exclude>
|
|
<exclude>**/*.dtd</exclude>
|
|
<exclude>**/*.md</exclude>
|
|
<exclude>**/*.service</exclude>
|
|
<exclude>**/LICENSE</exclude>
|
|
<exclude>**/README</exclude>
|
|
<exclude>**/navod</exclude>
|
|
<exclude>**/INFO_BIN</exclude>
|
|
<exclude>**/INFO_SRC</exclude>
|
|
<exclude>**/CONTRIBUTING.md</exclude>
|
|
</excludes>
|
|
</filter>
|
|
</filters>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.11.0</version>
|
|
<configuration>
|
|
<release>${maven.compiler.release}</release>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<properties>
|
|
<maven.compiler.release>21</maven.compiler.release>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<exec.mainClass>jnet.server.Server</exec.mainClass>
|
|
</properties>
|
|
</project>
|