|
@@ -1,213 +1,80 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
- 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.0-SNAPSHOT</version>
|
|
|
|
|
- </parent>
|
|
|
|
|
- <modelVersion>4.0.0</modelVersion>
|
|
|
|
|
- <groupId>net.mingsoft</groupId>
|
|
|
|
|
- <artifactId>ms-mcms</artifactId>
|
|
|
|
|
- <version>5.2.1-SNAPSHOT</version>
|
|
|
|
|
- <name>ms-mcms</name>
|
|
|
|
|
- <!-- 打包jar包 -->
|
|
|
|
|
- <packaging>jar</packaging>
|
|
|
|
|
- <!-- 打包war包 -->
|
|
|
|
|
- <!-- <packaging>war</packaging> -->
|
|
|
|
|
- <properties>
|
|
|
|
|
- <java.version>1.8</java.version>
|
|
|
|
|
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
|
|
+ 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.0.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> -->
|
|
|
|
|
+ <properties>
|
|
|
|
|
+ <java.version>1.8</java.version>
|
|
|
|
|
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
</properties>
|
|
</properties>
|
|
|
- <repositories>
|
|
|
|
|
- <repository>
|
|
|
|
|
- <id>deploy</id>
|
|
|
|
|
- <name>ms</name>
|
|
|
|
|
- <url>http://192.168.0.8:5000/repository/maven-public/</url>
|
|
|
|
|
- <releases>
|
|
|
|
|
- <enabled>true</enabled>
|
|
|
|
|
- </releases>
|
|
|
|
|
- <snapshots>
|
|
|
|
|
- <enabled>true</enabled>
|
|
|
|
|
- </snapshots>
|
|
|
|
|
- </repository>
|
|
|
|
|
- </repositories>
|
|
|
|
|
- <dependencies>
|
|
|
|
|
-<!-- <dependency>-->
|
|
|
|
|
-<!-- <groupId>net.mingsoft</groupId>-->
|
|
|
|
|
-<!-- <artifactId>ms-mwebsite</artifactId>-->
|
|
|
|
|
-<!-- </dependency>-->
|
|
|
|
|
- <dependency>
|
|
|
|
|
- <groupId>net.mingsoft</groupId>
|
|
|
|
|
- <artifactId>ms-mpeople</artifactId>
|
|
|
|
|
- </dependency>
|
|
|
|
|
- <dependency>
|
|
|
|
|
- <groupId>com.oracle</groupId>
|
|
|
|
|
- <artifactId>ojdbc6</artifactId>
|
|
|
|
|
- <version>11.2.0.1.0</version>
|
|
|
|
|
- <scope>system</scope>
|
|
|
|
|
- <systemPath>${project.basedir}/lib/ojdbc6.jar</systemPath>
|
|
|
|
|
- </dependency>
|
|
|
|
|
|
|
|
|
|
|
|
+ <dependencies>
|
|
|
|
|
|
|
|
- <dependency>
|
|
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
|
|
- <artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
|
- <scope>test</scope>
|
|
|
|
|
- <exclusions>
|
|
|
|
|
- <exclusion>
|
|
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
|
|
- <artifactId>spring-boot-starter-logging</artifactId>
|
|
|
|
|
- </exclusion>
|
|
|
|
|
- </exclusions>
|
|
|
|
|
- </dependency>
|
|
|
|
|
- <dependency>
|
|
|
|
|
- <groupId>org.mockito</groupId>
|
|
|
|
|
- <artifactId>mockito-all</artifactId>
|
|
|
|
|
- <version>1.10.19</version>
|
|
|
|
|
- <scope>test</scope>
|
|
|
|
|
- </dependency>
|
|
|
|
|
- <dependency>
|
|
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
|
|
- <artifactId>spring-boot-starter-cache</artifactId>
|
|
|
|
|
- </dependency>
|
|
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>net.mingsoft</groupId>
|
|
|
|
|
+ <artifactId>ms-mpeople</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
|
|
|
- </dependencies>
|
|
|
|
|
|
|
+ </dependencies>
|
|
|
|
|
|
|
|
- <build>
|
|
|
|
|
- <finalName>ms-mcms</finalName>
|
|
|
|
|
- <plugins>
|
|
|
|
|
- <plugin>
|
|
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
- <artifactId>maven-jar-plugin</artifactId>
|
|
|
|
|
- <version>3.1.2</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>**/MSApplication.*</exclude>
|
|
|
|
|
- <exclude>**/MSServletInitializer.*</exclude>
|
|
|
|
|
- </excludes>
|
|
|
|
|
- </configuration>
|
|
|
|
|
- </plugin>
|
|
|
|
|
- <plugin>
|
|
|
|
|
- <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>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>
|
|
|
|
|
- <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>
|
|
|
|
|
|
|
+ <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>
|
|
|
|
|
- <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>
|
|
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
- <artifactId>maven-release-plugin</artifactId>
|
|
|
|
|
- <configuration>
|
|
|
|
|
- <arguments>-Dgpg.passphrase=${gpg.passphrase}</arguments>
|
|
|
|
|
- </configuration>
|
|
|
|
|
- </plugin>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- <!-- 打包war包使用 -->
|
|
|
|
|
<plugin>
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-war-plugin</artifactId>
|
|
|
|
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
+ <version>3.1</version>
|
|
|
<configuration>
|
|
<configuration>
|
|
|
- <warSourceExcludes>src/main/resources/**</warSourceExcludes>
|
|
|
|
|
- <warName>mcms</warName>
|
|
|
|
|
|
|
+ <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>
|
|
</configuration>
|
|
|
|
|
+ <dependencies>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.codehaus.plexus</groupId>
|
|
|
|
|
+ <artifactId>plexus-compiler-eclipse</artifactId>
|
|
|
|
|
+ <version>2.1</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ </dependencies>
|
|
|
</plugin>
|
|
</plugin>
|
|
|
|
|
|
|
|
</plugins>
|
|
</plugins>
|
|
|
<resources>
|
|
<resources>
|
|
|
<resource>
|
|
<resource>
|
|
|
-
|
|
|
|
|
<directory>src/main/webapp</directory>
|
|
<directory>src/main/webapp</directory>
|
|
|
- <excludes>
|
|
|
|
|
- <!--打包生产 -->
|
|
|
|
|
- <exclude>static/</exclude>
|
|
|
|
|
- <exclude>html/</exclude>
|
|
|
|
|
- <exclude>upload/</exclude>
|
|
|
|
|
- <exclude>template/</exclude>
|
|
|
|
|
- </excludes>
|
|
|
|
|
- </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>
|
|
|
|
|
|
|
+ </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>
|
|
</project>
|