2019-12-04 18:10:12 +08:00
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2020-09-09 09:54:06 +08:00
|
|
|
|
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">
|
2020-09-09 11:36:31 +08:00
|
|
|
|
<parent>
|
2020-09-09 11:44:03 +08:00
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
|
<version>2.2.2.RELEASE</version>
|
2020-09-09 11:36:31 +08:00
|
|
|
|
</parent>
|
2020-09-09 09:54:06 +08:00
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
<groupId>net.mingsoft</groupId>
|
|
|
|
|
<artifactId>ms-mcms</artifactId>
|
2020-09-09 11:36:31 +08:00
|
|
|
|
<version>5.1-SNAPSHOT</version>
|
2020-09-09 09:54:06 +08:00
|
|
|
|
<name>ms-mcms</name>
|
|
|
|
|
<properties>
|
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
|
</properties>
|
2020-09-04 11:36:32 +08:00
|
|
|
|
|
2020-09-09 09:54:06 +08:00
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.mingsoft</groupId>
|
|
|
|
|
<artifactId>ms-mpeople</artifactId>
|
2020-09-09 11:44:03 +08:00
|
|
|
|
<version>1.0.25</version>
|
2020-09-09 09:54:06 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<!-- 此部分是铭飞平台MStroe的客户端(MStore不在铭飞开源产品范围),如果不需要使用MStore可以删除掉 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.mingsoft</groupId>
|
|
|
|
|
<artifactId>store-client</artifactId>
|
2020-09-09 11:44:03 +08:00
|
|
|
|
<version>3.0</version>
|
2020-09-09 09:54:06 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
<build>
|
|
|
|
|
<finalName>ms-mcms</finalName>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
<version>3.1</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<source>${java.version}</source>
|
|
|
|
|
<target>${java.version}</target>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
2020-09-09 14:31:47 +08:00
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>repackage</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
<configuration>
|
|
|
|
|
<layout>ZIP</layout>
|
|
|
|
|
<!-- 重写包含依赖,包含不存在的依赖,jar里没有pom里的依赖 -->
|
|
|
|
|
<includes>
|
|
|
|
|
<include>
|
|
|
|
|
<groupId>non-exists</groupId>
|
|
|
|
|
<artifactId>non-exists</artifactId>
|
|
|
|
|
</include>
|
|
|
|
|
</includes>
|
|
|
|
|
<fork>true</fork>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<!--拷贝第三方依赖文件到指定目录-->
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>copy-dependencies</id>
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<!--target/lib是依赖jar包的输出目录,根据自己喜好配置-->
|
|
|
|
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
|
|
|
<excludeTransitive>false</excludeTransitive>
|
|
|
|
|
<stripVersion>false</stripVersion>
|
|
|
|
|
<includeScope>runtime</includeScope>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
<!-- 自定义打zip包 -->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
|
<version>3.1.0</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<descriptors>
|
|
|
|
|
<descriptor>./assembly/assembly.xml</descriptor>
|
|
|
|
|
</descriptors>
|
|
|
|
|
</configuration>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>make-assembly</id>
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>single</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
2020-09-09 09:54:06 +08:00
|
|
|
|
</plugins>
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>src/main/webapp</directory>
|
|
|
|
|
<excludes>
|
|
|
|
|
<exclude>static/**</exclude>
|
|
|
|
|
<exclude>html/**</exclude>
|
|
|
|
|
<exclude>upload/**</exclude>
|
|
|
|
|
<exclude>templets/**</exclude>
|
2020-09-09 14:31:47 +08:00
|
|
|
|
<!-- 管理页面WEB-INF/manger单独配置在jar外面,修改部分ftl避免重新jar打包 -->
|
|
|
|
|
<!--<exclude>WEB-INF/</exclude>-->
|
2020-09-09 09:54:06 +08:00
|
|
|
|
</excludes>
|
|
|
|
|
</resource>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>src/main/java</directory>
|
|
|
|
|
<excludes>
|
|
|
|
|
<exclude>**/*.java</exclude>
|
|
|
|
|
</excludes>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
<defaultGoal>compile</defaultGoal>
|
|
|
|
|
</build>
|
2020-08-29 11:58:50 +08:00
|
|
|
|
</project>
|