97 lines
3.7 KiB
XML
Executable File
97 lines
3.7 KiB
XML
Executable File
<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>com.windchat.im</groupId>
|
|
<artifactId>windchat</artifactId>
|
|
<version>0.0.1</version>
|
|
</parent>
|
|
<groupId>com.akaxin.site</groupId>
|
|
<artifactId>windchat-boot</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
</properties>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<version>2.0.2.RELEASE</version>
|
|
<configuration>
|
|
<!-- 指定该Main Class为全局的唯一入口 -->
|
|
<mainClass>com.akaxin.site.boot.main.Bootstrap</mainClass>
|
|
<layout>ZIP</layout>
|
|
<!-- 热部署生效必须加 -->
|
|
<fork>true</fork>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!-- <plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>2.4</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<addClasspath>true</addClasspath>
|
|
<classpathPrefix>lib/</classpathPrefix>
|
|
<mainClass>com.akaxin.site.boot.main.Bootstrap</mainClass>
|
|
</manifest>
|
|
</archive>
|
|
<descriptorRefs>
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
</descriptorRefs>
|
|
</configuration>
|
|
|
|
<executions>
|
|
<execution>
|
|
<id>assembly</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
<configuration>
|
|
<finalName>${project.artifactId}</finalName>
|
|
<descriptors>
|
|
<descriptor>src/assembly-zip.xml</descriptor>
|
|
</descriptors>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin> -->
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<!-- 启动Netty服务器依赖包 -->
|
|
<dependency>
|
|
<groupId>com.windchat.im</groupId>
|
|
<artifactId>windchat-connector</artifactId>
|
|
<version>0.0.1-RELEASE</version>
|
|
</dependency>
|
|
<!-- 启动后台管理依赖包 -->
|
|
<dependency>
|
|
<groupId>com.windchat.im</groupId>
|
|
<artifactId>windchat-admin</artifactId>
|
|
<version>0.0.1-RELEASE</version>
|
|
</dependency>
|
|
<!--命令行工具-->
|
|
<dependency>
|
|
<groupId>commons-cli</groupId>
|
|
<artifactId>commons-cli</artifactId>
|
|
<version>1.4</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
</project> |