依赖更新
This commit is contained in:
parent
9e5438a928
commit
da9f66831c
259
pom.xml
259
pom.xml
|
@ -4,138 +4,49 @@
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>net.mingsoft</groupId>
|
<groupId>net.mingsoft</groupId>
|
||||||
<artifactId>ms-mcms</artifactId>
|
<artifactId>mcms</artifactId>
|
||||||
<version>5.0.0</version>
|
<version>5.0.0</version>
|
||||||
<name>${project.groupId}:${project.artifactId}</name>
|
<name>ms-mcms</name>
|
||||||
<description>ms-mcms tools Library</description>
|
|
||||||
<url>https://github.com/ming-soft/ms-mcms</url>
|
|
||||||
<licenses>
|
|
||||||
<license>
|
|
||||||
<name>The MIT License (MIT)</name>
|
|
||||||
<url>http://mit-license.org</url>
|
|
||||||
</license>
|
|
||||||
</licenses>
|
|
||||||
<developers>
|
|
||||||
<developer>
|
|
||||||
<name>mingsoft develop group</name>
|
|
||||||
<email>service@mingsoft.net</email>
|
|
||||||
<organization>mingsoft</organization>
|
|
||||||
<organizationUrl>http://www.mingsoft.net</organizationUrl>
|
|
||||||
</developer>
|
|
||||||
</developers>
|
|
||||||
|
|
||||||
<scm>
|
|
||||||
<connection>scm:git://github.com/ming-soft/ms-mcms.git</connection>
|
|
||||||
<developerConnection>scm:git@github.com:ming-soft/ms-mcms.git</developerConnection>
|
|
||||||
<url>https://github.com/ming-soft/ms-mcms</url>
|
|
||||||
</scm>
|
|
||||||
<distributionManagement>
|
|
||||||
<snapshotRepository>
|
|
||||||
<id>sonatype-nexus-snapshots</id>
|
|
||||||
<name>Sonatype Nexus snapshot repository</name>
|
|
||||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
||||||
</snapshotRepository>
|
|
||||||
<repository>
|
|
||||||
<id>sonatype-nexus-staging</id>
|
|
||||||
<name>Sonatype Nexus release repository</name>
|
|
||||||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
|
||||||
</repository>
|
|
||||||
</distributionManagement>
|
|
||||||
<properties>
|
<properties>
|
||||||
<java.version>1.8</java.version>
|
<java.version>1.8</java.version>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
||||||
</properties>
|
</properties>
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>sonatype-nexus-snapshots</id>
|
||||||
|
<name>Sonatype Nexus Snapshots</name>
|
||||||
|
<url>http://repo1.maven.org/maven2/</url>
|
||||||
|
<releases>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</releases>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</snapshots>
|
||||||
|
</repository>
|
||||||
|
<repository>
|
||||||
|
<id>sonatype</id>
|
||||||
|
<name>Sonatype Snapshots</name>
|
||||||
|
<url>https://oss.sonatype.org/content/groups/public/</url>
|
||||||
|
<releases>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</releases>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</snapshots>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<!-- 如果使用的是mysql8.0需要使用8.0的驱动 -->
|
|
||||||
<!-- <dependency> -->
|
|
||||||
<!-- <groupId>mysql</groupId> -->
|
|
||||||
<!-- <artifactId>mysql-connector-java</artifactId> -->
|
|
||||||
<!-- <version>8.0.11</version> -->
|
|
||||||
<!-- </dependency> -->
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.mingsoft</groupId>
|
<groupId>net.mingsoft</groupId>
|
||||||
<artifactId>ms-mpeople</artifactId>
|
<artifactId>ms-mpeople</artifactId>
|
||||||
<version>1.0.15</version>
|
<version>1.0.17</version>
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>net.mingsoft</groupId>
|
|
||||||
<artifactId>ms-upgrader</artifactId>
|
|
||||||
<version>1.0.15</version>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<!-- 此部分是铭飞平台MStroe的客户端(MStore不在铭飞开源产品范围),如果不需要使用MStore可以删除掉 -->
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<build>
|
<build>
|
||||||
<resources>
|
<finalName>ms-mcms</finalName>
|
||||||
<resource>
|
|
||||||
<directory>src/main/java</directory>
|
|
||||||
</resource>
|
|
||||||
<resource>
|
|
||||||
<directory>src/main/webapp</directory>
|
|
||||||
<excludes>
|
|
||||||
<exclude>html/</exclude>
|
|
||||||
<exclude>static/</exclude>
|
|
||||||
<exclude>upload/</exclude>
|
|
||||||
<exclude>templets/</exclude>
|
|
||||||
</excludes>
|
|
||||||
</resource>
|
|
||||||
<resource>
|
|
||||||
<directory>src/main/resources</directory>
|
|
||||||
</resource>
|
|
||||||
</resources>
|
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
|
||||||
<version>2.6</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<phase>package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>jar</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
<configuration>
|
|
||||||
<excludes>
|
|
||||||
<!--注意这玩意从编译结果目录开始算目录结构 -->
|
|
||||||
<exclude>**/static/plugins/</exclude>
|
|
||||||
<exclude>**/static/skin/</exclude>
|
|
||||||
<exclude>**/Dockerfile</exclude>
|
|
||||||
<exclude>**/ehcache.xml</exclude>
|
|
||||||
<exclude>**/upgrade/</exclude>
|
|
||||||
<exclude>**/*.java</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>**/application*.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.springframework.boot</groupId>
|
|
||||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
|
@ -143,112 +54,34 @@
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>${java.version}</source>
|
<source>${java.version}</source>
|
||||||
<target>${java.version}</target>
|
<target>${java.version}</target>
|
||||||
<encoding>${project.build.sourceEncoding}</encoding>
|
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>maven-eclipse-plugin</artifactId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
<version>2.8</version>
|
|
||||||
<configuration>
|
|
||||||
<additionalConfig>
|
|
||||||
<file>
|
|
||||||
<name>.settings/org.eclipse.core.resources.prefs</name>
|
|
||||||
<content>
|
|
||||||
<![CDATA[
|
|
||||||
eclipse.preferences.version=1
|
|
||||||
encoding/<project>=${project.build.sourceEncoding}
|
|
||||||
]]>
|
|
||||||
</content>
|
|
||||||
</file>
|
|
||||||
</additionalConfig>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
|
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
|
||||||
<configuration>
|
|
||||||
<argLine>-Xmx256m</argLine>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<groupId>com.atlassian.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-clover2-plugin</artifactId>
|
|
||||||
<version>2.6.3</version>
|
|
||||||
<configuration>
|
|
||||||
<licenseLocation>${clover.license.file}</licenseLocation>
|
|
||||||
<encoding>${project.build.sourceEncoding}</encoding>
|
|
||||||
<generateXml>true</generateXml>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
|
||||||
<artifactId>findbugs-maven-plugin</artifactId>
|
|
||||||
<version>1.2</version>
|
|
||||||
<configuration>
|
|
||||||
<findbugsXmlOutput>true</findbugsXmlOutput>
|
|
||||||
<findbugsXmlWithMessages>true</findbugsXmlWithMessages>
|
|
||||||
<xmlOutput>true</xmlOutput>
|
|
||||||
</configuration>
|
|
||||||
</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>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>attach-javadocs</id>
|
|
||||||
<goals>
|
<goals>
|
||||||
<goal>jar</goal>
|
<goal>repackage</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-war-plugin</artifactId>
|
|
||||||
<version>2.6</version>
|
|
||||||
<configuration>
|
<configuration>
|
||||||
<webResources>
|
<fork>true</fork>
|
||||||
<resource>
|
|
||||||
<directory>src/main/webapp/WEB-INF</directory>
|
|
||||||
<targetPath>WEB-INF</targetPath>
|
|
||||||
<filtering>true</filtering>
|
|
||||||
<includes>
|
|
||||||
<include>**/*.xml</include>
|
|
||||||
</includes>
|
|
||||||
<excludes>
|
|
||||||
<exclude>web.xml</exclude>
|
|
||||||
</excludes>
|
|
||||||
</resource>
|
|
||||||
</webResources>
|
|
||||||
<attachClasses>true</attachClasses>
|
|
||||||
<warSourceExcludes>*/web.xml,static</warSourceExcludes>
|
|
||||||
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
||||||
<packagingExcludes>
|
|
||||||
ms.install,html/,static/,temp,upgrader,WEB-INF/web.xml,WEB-INF/lib/,templets/,upload/,WEB-INF/classes/*.xml,WEB-INF/classes/*.properties,*.sh,WEB-INF/classes/net/mingsoft/config/,WEB-INF/classes/net/mingsoft/*.class
|
|
||||||
</packagingExcludes>
|
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-release-plugin</artifactId>
|
|
||||||
<configuration>
|
|
||||||
<arguments>-Dgpg.passphrase=${gpg.passphrase}</arguments>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
|
|
||||||
</plugins>
|
</plugins>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/webapp</directory>
|
||||||
|
</resource>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/resources</directory>
|
||||||
|
</resource>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/java</directory>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
<defaultGoal>compile</defaultGoal>
|
<defaultGoal>compile</defaultGoal>
|
||||||
|
|
||||||
<finalName>ms-mcms</finalName>
|
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
Loading…
Reference in New Issue