msopen/pom.xml

179 lines
5.0 KiB
XML
Raw Normal View History

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-10-12 08:32:03 +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-10-19 10:57:54 +08:00
<parent>
<groupId>net.mingsoft</groupId>
<artifactId>ms-pom</artifactId>
<version>2.0.0-SNAPSHOT</version>
</parent>
2020-10-12 08:32:03 +08:00
<modelVersion>4.0.0</modelVersion>
<groupId>net.mingsoft</groupId>
<artifactId>ms-mcms</artifactId>
2020-10-22 15:05:22 +08:00
<version>5.2-SNAPSHOT</version>
2020-10-12 08:32:03 +08:00
<name>ms-mcms</name>
<!-- 打包jar包 -->
<packaging>jar</packaging>
<!-- 打包war包 -->
<!-- <packaging>war</packaging> -->
<properties>
<java.version>1.8</java.version>
</properties>
2020-09-23 15:47:44 +08:00
2020-09-14 10:29:22 +08:00
2020-10-30 14:58:11 +08:00
2020-11-02 09:48:38 +08:00
<dependencies>
2020-10-29 14:39:59 +08:00
2020-11-02 09:48:38 +08:00
<dependency>
<groupId>dm</groupId>
<artifactId>dm.jdbc.driver</artifactId>
<version>8.0.0</version>
</dependency>
2020-10-12 08:32:03 +08:00
<dependency>
<groupId>net.mingsoft</groupId>
<artifactId>ms-mpeople</artifactId>
</dependency>
2020-10-12 08:32:03 +08:00
<!-- 此部分是铭飞平台MStroe的客户端MStore不在铭飞开源产品范围如果不需要使用MStore可以删除掉 -->
<dependency>
<groupId>net.mingsoft</groupId>
<artifactId>store-client</artifactId>
<version>5.1</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<version>2.2.2.RELEASE</version>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<build>
<finalName>ms-mcms</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
2020-10-30 14:58:11 +08:00
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.2</version>
2020-10-12 08:32:03 +08:00
<configuration>
2020-10-30 14:58:11 +08:00
<excludes>
<exclude>**/static/plugins/</exclude>
<exclude>**/static/skin/</exclude>
<exclude>**/*.yml</exclude>
<exclude>**/Dockerfile</exclude>
<exclude>**/ehcache.xml</exclude>
<exclude>**/upgrade/</exclude>
<exclude>**/MSApplication.*</exclude>
<exclude>**/MSServletInitializer.*</exclude>
</excludes>
2020-10-12 08:32:03 +08:00
</configuration>
</plugin>
<plugin>
2020-10-30 14:58:11 +08:00
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<configuration>
<excludes>
<exclude>**/static/plugins/</exclude>
<exclude>**/static/skin/</exclude>
<exclude>**/*.yml</exclude>
<exclude>**/Dockerfile</exclude>
<exclude>**/ehcache.xml</exclude>
<exclude>**/upgrade/</exclude>
<exclude>**/config/</exclude>
<exclude>**/MSApplication.java</exclude>
<exclude>**/MSServletInitializer.java</exclude>
</excludes>
</configuration>
2020-10-12 08:32:03 +08:00
<executions>
<execution>
2020-10-30 14:58:11 +08:00
<id>attach-sources</id>
2020-10-12 08:32:03 +08:00
<goals>
2020-10-30 14:58:11 +08:00
<goal>jar-no-fork</goal>
2020-10-12 08:32:03 +08:00
</goals>
</execution>
</executions>
2020-10-30 14:58:11 +08:00
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
2020-10-12 08:32:03 +08:00
<configuration>
2020-10-30 14:58:11 +08:00
<charset>UTF-8</charset>
<encoding>UTF-8</encoding>
<docencoding>UTF-8</docencoding>
<javadocExecutable>${java.home}/../bin/javadoc</javadocExecutable>
<additionalparam>-Xdoclint:none</additionalparam>
2020-10-12 08:32:03 +08:00
</configuration>
2020-10-30 14:58:11 +08:00
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<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>
<encoding>${project.build.sourceEncoding}</encoding>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
<compilerArguments>
<verbose />
<bootclasspath>${java.home}/lib/rt.jar${path.separator}${java.home}/lib/jce.jar</bootclasspath>
</compilerArguments>
</configuration>
<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-compiler-eclipse</artifactId>
<version>2.1</version>
</dependency>
</dependencies>
2020-10-12 08:32:03 +08:00
</plugin>
2020-10-30 14:58:11 +08:00
2020-10-12 08:32:03 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
2020-10-30 14:58:11 +08:00
<artifactId>maven-release-plugin</artifactId>
2020-10-12 08:32:03 +08:00
<configuration>
2020-10-30 14:58:11 +08:00
<arguments>-Dgpg.passphrase=${gpg.passphrase}</arguments>
2020-10-12 08:32:03 +08:00
</configuration>
</plugin>
2020-10-30 14:58:11 +08:00
2020-10-12 08:32:03 +08:00
</plugins>
<resources>
<resource>
<directory>src/main/webapp</directory>
<excludes>
<!--打包生产 -->
2020-10-22 15:05:22 +08:00
<exclude>static/</exclude>
<exclude>html/</exclude>
<exclude>upload/</exclude>
2020-10-30 14:58:11 +08:00
<exclude>template/</exclude>
2020-10-12 08:32:03 +08:00
</excludes>
</resource>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>src/main/java</directory>
2020-10-22 15:05:22 +08:00
<excludes>
<exclude>**/*.java</exclude>
</excludes>
2020-10-12 08:32:03 +08:00
</resource>
</resources>
<defaultGoal>compile</defaultGoal>
</build>
2020-08-29 11:58:50 +08:00
</project>