You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
144 lines
4.9 KiB
144 lines
4.9 KiB
<?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"> |
|
<parent> |
|
<artifactId>intranet</artifactId> |
|
<groupId>org.example</groupId> |
|
<version>1.0-SNAPSHOT</version> |
|
</parent> |
|
<modelVersion>4.0.0</modelVersion> |
|
|
|
<artifactId>agent</artifactId> |
|
|
|
<properties> |
|
<maven.compiler.source>8</maven.compiler.source> |
|
<maven.compiler.target>8</maven.compiler.target> |
|
</properties> |
|
|
|
<dependencies> |
|
<dependency> |
|
<groupId>io.socket</groupId> |
|
<artifactId>socket.io-client</artifactId> |
|
<version>1.0.2</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.projectlombok</groupId> |
|
<artifactId>lombok</artifactId> |
|
<version>1.18.22</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>com.esotericsoftware</groupId> |
|
<artifactId>kryo</artifactId> |
|
<version>5.3.0</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.postgresql</groupId> |
|
<artifactId>postgresql</artifactId> |
|
<version>42.4.0</version> |
|
</dependency> |
|
|
|
|
|
<dependency> |
|
<groupId>org.apache.logging.log4j</groupId> |
|
<artifactId>log4j-api</artifactId> |
|
<version>2.17.2</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.apache.logging.log4j</groupId> |
|
<artifactId>log4j-core</artifactId> |
|
<version>2.17.2</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>mysql</groupId> |
|
<artifactId>mysql-connector-java</artifactId> |
|
<version>8.0.29</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.apache.logging.log4j</groupId> |
|
<artifactId>log4j-slf4j-impl</artifactId> |
|
<version>2.17.2</version> |
|
<scope>test</scope> |
|
</dependency> |
|
|
|
<!-- https://mvnrepository.com/artifact/org.hsqldb/hsqldb --> |
|
<dependency> |
|
<groupId>org.hsqldb</groupId> |
|
<artifactId>hsqldb</artifactId> |
|
<version>2.5.2</version> |
|
</dependency> |
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine --> |
|
<dependency> |
|
<groupId>org.junit.jupiter</groupId> |
|
<artifactId>junit-jupiter-engine</artifactId> |
|
<version>5.9.0</version> |
|
<scope>test</scope> |
|
</dependency> |
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.junit.platform/junit-platform-suite-engine --> |
|
<dependency> |
|
<groupId>org.junit.platform</groupId> |
|
<artifactId>junit-platform-suite-engine</artifactId> |
|
<version>1.9.0</version> |
|
<scope>test</scope> |
|
</dependency> |
|
</dependencies> |
|
|
|
<build> |
|
<plugins> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-dependency-plugin</artifactId> |
|
<executions> |
|
<execution> |
|
<id>copy-dependencies</id> |
|
<phase>package</phase> |
|
<goals> |
|
<goal>copy-dependencies</goal> |
|
</goals> |
|
<configuration> |
|
<outputDirectory>${project.build.directory}/lib</outputDirectory> |
|
<overWriteReleases>false</overWriteReleases> |
|
<overWriteSnapshots>false</overWriteSnapshots> |
|
<overWriteIfNewer>true</overWriteIfNewer> |
|
</configuration> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
<plugin> |
|
<artifactId>maven-assembly-plugin</artifactId> |
|
<configuration> |
|
<archive> |
|
<manifest> |
|
<mainClass>com.fanruan.ChaosTest</mainClass> |
|
</manifest> |
|
<manifestEntries> |
|
<Class-Path>.</Class-Path> |
|
</manifestEntries> |
|
</archive> |
|
<descriptorRefs> |
|
<descriptorRef>jar-with-dependencies</descriptorRef> |
|
</descriptorRefs> |
|
</configuration> |
|
<executions> |
|
<execution> |
|
<id>make-assembly</id> |
|
<phase>package</phase> |
|
<goals> |
|
<goal>single</goal> |
|
</goals> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
</project> |