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