128 lines
4.6 KiB
XML
128 lines
4.6 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>com.volcengine</groupId>
|
||
|
|
<artifactId>realtimedialog</artifactId>
|
||
|
|
<version>1.0.0</version>
|
||
|
|
<packaging>jar</packaging>
|
||
|
|
|
||
|
|
<name>RealtimeDialog Java Client</name>
|
||
|
|
<description>Java client for Volcengine RealtimeDialog service</description>
|
||
|
|
|
||
|
|
<properties>
|
||
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
||
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
||
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
|
<jackson.version>2.15.2</jackson.version>
|
||
|
|
<java-websocket.version>1.5.3</java-websocket.version>
|
||
|
|
</properties>
|
||
|
|
|
||
|
|
<dependencies>
|
||
|
|
<!-- WebSocket client -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.java-websocket</groupId>
|
||
|
|
<artifactId>Java-WebSocket</artifactId>
|
||
|
|
<version>${java-websocket.version}</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- JSON processing -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
||
|
|
<artifactId>jackson-databind</artifactId>
|
||
|
|
<version>${jackson.version}</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
||
|
|
<artifactId>jackson-core</artifactId>
|
||
|
|
<version>${jackson.version}</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- Logging -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.slf4j</groupId>
|
||
|
|
<artifactId>slf4j-simple</artifactId>
|
||
|
|
<version>1.7.36</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- Apache Commons CLI for command line parsing -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>commons-cli</groupId>
|
||
|
|
<artifactId>commons-cli</artifactId>
|
||
|
|
<version>1.5.0</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- Audio processing -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.googlecode.soundlibs</groupId>
|
||
|
|
<artifactId>mp3spi</artifactId>
|
||
|
|
<version>1.9.5.4</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- UUID generation -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.fasterxml.uuid</groupId>
|
||
|
|
<artifactId>java-uuid-generator</artifactId>
|
||
|
|
<version>4.2.0</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- Base64 encoding -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>commons-codec</groupId>
|
||
|
|
<artifactId>commons-codec</artifactId>
|
||
|
|
<version>1.15</version>
|
||
|
|
</dependency>
|
||
|
|
</dependencies>
|
||
|
|
|
||
|
|
<build>
|
||
|
|
<plugins>
|
||
|
|
<!-- Compiler plugin -->
|
||
|
|
<plugin>
|
||
|
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
|
|
<version>3.11.0</version>
|
||
|
|
<configuration>
|
||
|
|
<source>1.8</source>
|
||
|
|
<target>1.8</target>
|
||
|
|
<encoding>UTF-8</encoding>
|
||
|
|
</configuration>
|
||
|
|
</plugin>
|
||
|
|
|
||
|
|
<!-- Shade plugin for creating fat jar -->
|
||
|
|
<plugin>
|
||
|
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
|
<artifactId>maven-shade-plugin</artifactId>
|
||
|
|
<version>3.4.1</version>
|
||
|
|
<executions>
|
||
|
|
<execution>
|
||
|
|
<phase>package</phase>
|
||
|
|
<goals>
|
||
|
|
<goal>shade</goal>
|
||
|
|
</goals>
|
||
|
|
<configuration>
|
||
|
|
<transformers>
|
||
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
||
|
|
<mainClass>com.volcengine.realtimedialog.Main</mainClass>
|
||
|
|
</transformer>
|
||
|
|
</transformers>
|
||
|
|
</configuration>
|
||
|
|
</execution>
|
||
|
|
</executions>
|
||
|
|
</plugin>
|
||
|
|
|
||
|
|
<!-- Exec plugin for running the application -->
|
||
|
|
<plugin>
|
||
|
|
<groupId>org.codehaus.mojo</groupId>
|
||
|
|
<artifactId>exec-maven-plugin</artifactId>
|
||
|
|
<version>3.1.0</version>
|
||
|
|
<configuration>
|
||
|
|
<mainClass>com.volcengine.realtimedialog.Main</mainClass>
|
||
|
|
</configuration>
|
||
|
|
</plugin>
|
||
|
|
</plugins>
|
||
|
|
</build>
|
||
|
|
</project>
|