105 lines
4.3 KiB
XML
105 lines
4.3 KiB
XML
|
<!-- - Copyright 2018-2028 Akaxin Group - - Licensed under the Apache License,
|
||
|
Version 2.0 (the "License"); - you may not use this file except in compliance
|
||
|
with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0
|
||
|
- - Unless required by applicable law or agreed to in writing, software -
|
||
|
distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT
|
||
|
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the
|
||
|
License for the specific language governing permissions and - limitations
|
||
|
under the License. -->
|
||
|
<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.akaxin</groupId>
|
||
|
<artifactId>openzaly-parent</artifactId>
|
||
|
<version>0.0.1</version>
|
||
|
</parent>
|
||
|
<groupId>com.akaxin.site</groupId>
|
||
|
<artifactId>openzaly-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.akaxin.site</groupId>
|
||
|
<artifactId>openzaly-connector</artifactId>
|
||
|
<version>0.0.1-RELEASE</version>
|
||
|
</dependency>
|
||
|
<!-- 启动后台管理依赖包 -->
|
||
|
<dependency>
|
||
|
<groupId>com.akaxin.site</groupId>
|
||
|
<artifactId>openzaly-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>
|