|
|
|
|
@ -3,77 +3,108 @@ |
|
|
|
|
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"> |
|
|
|
|
<parent> |
|
|
|
|
<groupId>net.mingsoft</groupId> |
|
|
|
|
<artifactId>ms-pom</artifactId> |
|
|
|
|
<version>2.0.4</version> |
|
|
|
|
<groupId>org.springframework.boot</groupId> |
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId> |
|
|
|
|
<version>2.2.2.RELEASE</version> |
|
|
|
|
</parent> |
|
|
|
|
<modelVersion>4.0.0</modelVersion> |
|
|
|
|
<groupId>net.mingsoft</groupId> |
|
|
|
|
<artifactId>ms-mcms</artifactId> |
|
|
|
|
<version>5.2.0.RELEASE</version> |
|
|
|
|
<name>ms-mcms</name> |
|
|
|
|
<!-- 打包jar包 --> |
|
|
|
|
<packaging>jar</packaging> |
|
|
|
|
<!-- 打包war包 --> |
|
|
|
|
<!-- <packaging>war</packaging> --> |
|
|
|
|
<!-- <packaging>war</packaging>--> |
|
|
|
|
<properties> |
|
|
|
|
<java.version>1.8</java.version> |
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
|
|
|
</properties> |
|
|
|
|
<repositories> |
|
|
|
|
<repository> |
|
|
|
|
<id>central-repos</id> |
|
|
|
|
<name>Central Repository 2</name> |
|
|
|
|
<url>https://repo.maven.apache.org/maven2/</url> |
|
|
|
|
</repository> |
|
|
|
|
<!--阿里云仓库--> |
|
|
|
|
<!-- |
|
|
|
|
<repository> |
|
|
|
|
<id>alimaven</id> |
|
|
|
|
<name>aliyun maven</name> |
|
|
|
|
<url>https://maven.aliyun.com/nexus/content/groups/public/</url> |
|
|
|
|
<releases> |
|
|
|
|
<enabled>true</enabled> |
|
|
|
|
</releases> |
|
|
|
|
<snapshots> |
|
|
|
|
<enabled>true</enabled> |
|
|
|
|
</snapshots> |
|
|
|
|
</repository> |
|
|
|
|
--> |
|
|
|
|
</repositories> |
|
|
|
|
<repositories> |
|
|
|
|
<repository> |
|
|
|
|
<id>central-repos</id> |
|
|
|
|
<name>Central Repository 2</name> |
|
|
|
|
<url>https://repo.maven.apache.org/maven2/</url> |
|
|
|
|
</repository> |
|
|
|
|
<!--阿里云仓库--> |
|
|
|
|
<!-- |
|
|
|
|
<repository> |
|
|
|
|
<id>alimaven</id> |
|
|
|
|
<name>aliyun maven</name> |
|
|
|
|
<url>https://maven.aliyun.com/nexus/content/groups/public/</url> |
|
|
|
|
<releases> |
|
|
|
|
<enabled>true</enabled> |
|
|
|
|
</releases> |
|
|
|
|
<snapshots> |
|
|
|
|
<enabled>true</enabled> |
|
|
|
|
</snapshots> |
|
|
|
|
</repository> |
|
|
|
|
--> |
|
|
|
|
</repositories> |
|
|
|
|
<dependencies> |
|
|
|
|
<dependency> |
|
|
|
|
<groupId>net.mingsoft</groupId> |
|
|
|
|
<artifactId>ms-base</artifactId> |
|
|
|
|
<version>1.0.25</version> |
|
|
|
|
|
|
|
|
|
</dependency> |
|
|
|
|
<dependency> |
|
|
|
|
<groupId>net.mingsoft</groupId> |
|
|
|
|
<artifactId>ms-basic</artifactId> |
|
|
|
|
<version>1.0.36</version> |
|
|
|
|
|
|
|
|
|
</dependency> |
|
|
|
|
<dependency> |
|
|
|
|
<groupId>net.mingsoft</groupId> |
|
|
|
|
<artifactId>ms-mdiy</artifactId> |
|
|
|
|
<version>1.0.28</version> |
|
|
|
|
|
|
|
|
|
</dependency> |
|
|
|
|
<dependency> |
|
|
|
|
<groupId>net.mingsoft</groupId> |
|
|
|
|
<artifactId>ms-mpeople</artifactId> |
|
|
|
|
<version>1.0.33</version> |
|
|
|
|
|
|
|
|
|
</dependency> |
|
|
|
|
<dependency> |
|
|
|
|
<groupId>net.mingsoft</groupId> |
|
|
|
|
<artifactId>store-client</artifactId> |
|
|
|
|
<version>5.2</version> |
|
|
|
|
</dependency> |
|
|
|
|
<dependency> |
|
|
|
|
<groupId>dm</groupId> |
|
|
|
|
<artifactId>dm</artifactId> |
|
|
|
|
<version>8</version> |
|
|
|
|
<scope>system</scope> |
|
|
|
|
<systemPath>${project.basedir}/lib/DmJdbcDriver18.jar</systemPath> |
|
|
|
|
</dependency> |
|
|
|
|
|
|
|
|
|
</dependencies> |
|
|
|
|
|
|
|
|
|
<build> |
|
|
|
|
<finalName>ms-mcms</finalName> |
|
|
|
|
<resources> |
|
|
|
|
<resource> |
|
|
|
|
<directory>src/main/webapp</directory> |
|
|
|
|
<excludes> |
|
|
|
|
<!-- 打包生产并手动将static、html、upload、template复制到生产 --> |
|
|
|
|
<exclude>static/</exclude> |
|
|
|
|
<exclude>html/</exclude> |
|
|
|
|
<exclude>upload/</exclude> |
|
|
|
|
<exclude>template/</exclude> |
|
|
|
|
<!-- 如果生产需要实时修改WEB-INF/下的页面可,启用这行并手动将项目中的WEB-INF目录复制到运行环境 --> |
|
|
|
|
<!-- <exclude>WEB-INF/</exclude>--> |
|
|
|
|
</excludes> |
|
|
|
|
</resource> |
|
|
|
|
<resource> |
|
|
|
|
<directory>src/main/resources</directory> |
|
|
|
|
</resource> |
|
|
|
|
<resource> |
|
|
|
|
<directory>src/main/java</directory> |
|
|
|
|
<excludes> |
|
|
|
|
<exclude>**/*.java</exclude> |
|
|
|
|
</excludes> |
|
|
|
|
</resource> |
|
|
|
|
</resources> |
|
|
|
|
<plugins> |
|
|
|
|
<plugin> |
|
|
|
|
<groupId>org.springframework.boot</groupId> |
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId> |
|
|
|
|
<configuration> |
|
|
|
|
<executable>true</executable> |
|
|
|
|
</configuration> |
|
|
|
|
</plugin> |
|
|
|
|
<plugin> |
|
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId> |
|
|
|
|
@ -97,22 +128,7 @@ |
|
|
|
|
</dependency> |
|
|
|
|
</dependencies> |
|
|
|
|
</plugin> |
|
|
|
|
|
|
|
|
|
</plugins> |
|
|
|
|
<resources> |
|
|
|
|
<resource> |
|
|
|
|
<directory>src/main/webapp</directory> |
|
|
|
|
</resource> |
|
|
|
|
<resource> |
|
|
|
|
<directory>src/main/resources</directory> |
|
|
|
|
</resource> |
|
|
|
|
<resource> |
|
|
|
|
<directory>src/main/java</directory> |
|
|
|
|
<excludes> |
|
|
|
|
<exclude>**/*.java</exclude> |
|
|
|
|
</excludes> |
|
|
|
|
</resource> |
|
|
|
|
</resources> |
|
|
|
|
<defaultGoal>compile</defaultGoal> |
|
|
|
|
</build> |
|
|
|
|
</project> |