|
|
|
|
@ -35,11 +35,7 @@ |
|
|
|
|
</repositories> |
|
|
|
|
|
|
|
|
|
<dependencies> |
|
|
|
|
<dependency> |
|
|
|
|
<groupId>dm</groupId> |
|
|
|
|
<artifactId>dm.jdbc.driver</artifactId> |
|
|
|
|
<version>7.0.1</version> |
|
|
|
|
</dependency> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dependency> |
|
|
|
|
<groupId>net.mingsoft</groupId> |
|
|
|
|
@ -70,37 +66,100 @@ |
|
|
|
|
<plugins> |
|
|
|
|
<plugin> |
|
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId> |
|
|
|
|
<artifactId>maven-jar-plugin</artifactId> |
|
|
|
|
<version>3.1.2</version> |
|
|
|
|
<configuration> |
|
|
|
|
<source>${java.version}</source> |
|
|
|
|
<target>${java.version}</target> |
|
|
|
|
<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> |
|
|
|
|
</configuration> |
|
|
|
|
</plugin> |
|
|
|
|
<plugin> |
|
|
|
|
<groupId>org.springframework.boot</groupId> |
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId> |
|
|
|
|
<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> |
|
|
|
|
<executions> |
|
|
|
|
<execution> |
|
|
|
|
<id>attach-sources</id> |
|
|
|
|
<goals> |
|
|
|
|
<goal>repackage</goal> |
|
|
|
|
<goal>jar-no-fork</goal> |
|
|
|
|
</goals> |
|
|
|
|
</execution> |
|
|
|
|
</executions> |
|
|
|
|
</plugin> |
|
|
|
|
<plugin> |
|
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId> |
|
|
|
|
<version>2.9.1</version> |
|
|
|
|
<configuration> |
|
|
|
|
<fork>true</fork> |
|
|
|
|
<charset>UTF-8</charset> |
|
|
|
|
<encoding>UTF-8</encoding> |
|
|
|
|
<docencoding>UTF-8</docencoding> |
|
|
|
|
<javadocExecutable>${java.home}/../bin/javadoc</javadocExecutable> |
|
|
|
|
<additionalparam>-Xdoclint:none</additionalparam> |
|
|
|
|
</configuration> |
|
|
|
|
<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> |
|
|
|
|
</plugin> |
|
|
|
|
|
|
|
|
|
<!-- 打包war包使用 --> |
|
|
|
|
|
|
|
|
|
<plugin> |
|
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
|
<artifactId>maven-war-plugin</artifactId> |
|
|
|
|
<artifactId>maven-release-plugin</artifactId> |
|
|
|
|
<configuration> |
|
|
|
|
<warSourceExcludes>src/main/resources/**</warSourceExcludes> |
|
|
|
|
<warName>mcms</warName> |
|
|
|
|
<arguments>-Dgpg.passphrase=${gpg.passphrase}</arguments> |
|
|
|
|
</configuration> |
|
|
|
|
</plugin> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</plugins> |
|
|
|
|
<resources> |
|
|
|
|
<resource> |
|
|
|
|
@ -110,7 +169,7 @@ |
|
|
|
|
<exclude>static/</exclude> |
|
|
|
|
<exclude>html/</exclude> |
|
|
|
|
<exclude>upload/</exclude> |
|
|
|
|
<exclude>templets/</exclude> |
|
|
|
|
<exclude>template/</exclude> |
|
|
|
|
</excludes> |
|
|
|
|
</resource> |
|
|
|
|
<resource> |
|
|
|
|
|