WindChat/windchat-boot/pom.xml

97 lines
3.7 KiB
XML
Raw Permalink Normal View History

2019-07-29 23:42:16 +08:00
<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>
2019-07-31 00:31:31 +08:00
<groupId>com.windchat.im</groupId>
<artifactId>windchat</artifactId>
2019-07-29 23:42:16 +08:00
<version>0.0.1</version>
</parent>
2019-11-27 23:33:33 +08:00
<groupId>com.windchat.im</groupId>
2019-07-31 00:31:31 +08:00
<artifactId>windchat-boot</artifactId>
2019-07-29 23:42:16 +08:00
<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为全局的唯一入口 -->
2019-11-27 23:33:33 +08:00
<mainClass>com.windchat.im.boot.main.Bootstrap</mainClass>
2019-07-29 23:42:16 +08:00
<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>
2019-11-27 23:33:33 +08:00
<mainClass>Bootstrap</mainClass>
2019-07-29 23:42:16 +08:00
</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>
2019-08-01 23:02:29 +08:00
<groupId>com.windchat.im</groupId>
<artifactId>windchat-connector</artifactId>
2019-07-29 23:42:16 +08:00
<version>0.0.1-RELEASE</version>
</dependency>
<!-- 启动后台管理依赖包 -->
<dependency>
2019-08-01 23:02:29 +08:00
<groupId>com.windchat.im</groupId>
<artifactId>windchat-admin</artifactId>
2019-07-29 23:42:16 +08:00
<version>0.0.1-RELEASE</version>
</dependency>
<!--命令行工具-->
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>1.4</version>
</dependency>
</dependencies>
</project>