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"
|
|
|
|
|
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-06-19 18:19:05 +08:00
|
|
|
|
<parent>
|
|
|
|
|
<groupId>net.mingsoft</groupId>
|
|
|
|
|
<artifactId>ms-pom</artifactId>
|
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
|
</parent>
|
2020-06-17 18:17:41 +08:00
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2019-12-04 18:08:53 +08:00
|
|
|
|
<groupId>net.mingsoft</groupId>
|
2020-01-10 22:14:08 +08:00
|
|
|
|
<artifactId>ms-mcms</artifactId>
|
2020-05-09 16:59:39 +08:00
|
|
|
|
<version>5.0.1-SNAPSHOT</version>
|
2020-01-10 22:14:08 +08:00
|
|
|
|
<name>${project.groupId}:${project.artifactId}</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>
|
2019-12-04 18:10:12 +08:00
|
|
|
|
<id>sonatype-nexus-snapshots</id>
|
2020-01-10 22:14:08 +08:00
|
|
|
|
<name>Sonatype Nexus snapshot repository</name>
|
|
|
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
|
|
|
</snapshotRepository>
|
2019-12-04 18:10:12 +08:00
|
|
|
|
<repository>
|
2020-01-10 22:14:08 +08:00
|
|
|
|
<id>sonatype-nexus-staging</id>
|
|
|
|
|
<name>Sonatype Nexus release repository</name>
|
|
|
|
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
2019-12-04 18:10:12 +08:00
|
|
|
|
</repository>
|
2020-01-10 22:14:08 +08:00
|
|
|
|
</distributionManagement>
|
|
|
|
|
<properties>
|
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
</properties>
|
2020-05-08 17:48:08 +08:00
|
|
|
|
<repositories>
|
|
|
|
|
<repository>
|
2020-06-23 17:06:02 +08:00
|
|
|
|
<id>sonatype-nexus-snapshots</id>
|
|
|
|
|
<name>Sonatype Nexus Snapshots</name>
|
|
|
|
|
<url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
|
2020-05-08 17:48:08 +08:00
|
|
|
|
<releases>
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
</releases>
|
2020-06-23 17:06:02 +08:00
|
|
|
|
<snapshots>
|
|
|
|
|
<enabled>false</enabled>
|
|
|
|
|
</snapshots>
|
|
|
|
|
</repository>
|
|
|
|
|
<repository>
|
|
|
|
|
<id>sonatype</id>
|
|
|
|
|
<name>Sonatype Snapshots</name>
|
|
|
|
|
<url>https://oss.sonatype.org/content/groups/public/</url>
|
|
|
|
|
<releases>
|
|
|
|
|
<enabled>false</enabled>
|
|
|
|
|
</releases>
|
2020-05-08 17:48:08 +08:00
|
|
|
|
<snapshots>
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
</snapshots>
|
|
|
|
|
</repository>
|
|
|
|
|
</repositories>
|
2019-12-04 18:08:53 +08:00
|
|
|
|
<dependencies>
|
2020-04-28 15:59:56 +08:00
|
|
|
|
<!-- 如果使用的是mysql8.0需要使用8.0的驱动 -->
|
2020-01-04 15:04:13 +08:00
|
|
|
|
<!-- <dependency>-->
|
|
|
|
|
<!-- <groupId>mysql</groupId>-->
|
|
|
|
|
<!-- <artifactId>mysql-connector-java</artifactId>-->
|
|
|
|
|
<!-- <version>8.0.11</version>-->
|
|
|
|
|
<!-- </dependency>-->
|
2019-12-04 18:08:53 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.mingsoft</groupId>
|
|
|
|
|
<artifactId>ms-mpeople</artifactId>
|
2020-01-07 14:12:11 +08:00
|
|
|
|
</dependency>
|
2020-06-19 18:19:05 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.mingsoft</groupId>
|
|
|
|
|
<artifactId>ms-basic</artifactId>
|
2020-06-20 09:02:18 +08:00
|
|
|
|
<version>1.0.29-SNAPSHOT</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.mingsoft</groupId>
|
|
|
|
|
<artifactId>ms-mdiy</artifactId>
|
|
|
|
|
<version>1.0.20-SNAPSHOT</version>
|
2020-06-19 18:19:05 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.mingsoft</groupId>
|
|
|
|
|
<artifactId>ms-upgrader</artifactId>
|
|
|
|
|
<version>1.0.17</version>
|
|
|
|
|
</dependency>
|
2020-05-14 09:10:59 +08:00
|
|
|
|
|
2020-06-17 18:37:29 +08:00
|
|
|
|
|
2019-12-04 18:08:53 +08:00
|
|
|
|
</dependencies>
|
|
|
|
|
<build>
|
2020-01-10 22:14:08 +08:00
|
|
|
|
<resources>
|
|
|
|
|
<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>
|
2019-12-04 18:08:53 +08:00
|
|
|
|
<plugins>
|
2020-01-10 22:14:08 +08:00
|
|
|
|
<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>**/application*.yml</exclude>
|
|
|
|
|
<exclude>**/Dockerfile</exclude>
|
|
|
|
|
<exclude>**/ehcache.xml</exclude>
|
|
|
|
|
<exclude>**/upgrade/</exclude>
|
|
|
|
|
<exclude>**/*.java</exclude>
|
2020-05-14 09:10:59 +08:00
|
|
|
|
<exclude>**/MSApplication.*</exclude>
|
|
|
|
|
<exclude>**/MSServletInitializer.*</exclude>
|
2020-01-10 22:14:08 +08:00
|
|
|
|
</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>
|
2019-12-04 18:08:53 +08:00
|
|
|
|
<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>
|
2020-01-10 22:14:08 +08:00
|
|
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
|
|
|
<showDeprecation>true</showDeprecation>
|
|
|
|
|
<showWarnings>true</showWarnings>
|
2020-06-19 18:19:05 +08:00
|
|
|
|
|
2019-12-04 18:08:53 +08:00
|
|
|
|
</configuration>
|
2020-01-10 22:14:08 +08:00
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
|
<artifactId>plexus-compiler-eclipse</artifactId>
|
|
|
|
|
<version>2.1</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
2019-12-04 18:08:53 +08:00
|
|
|
|
</plugin>
|
2020-06-17 18:17:41 +08:00
|
|
|
|
|
2020-06-19 18:19:05 +08:00
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
</plugin>
|
2020-01-10 22:14:08 +08:00
|
|
|
|
<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>
|
2019-12-04 18:08:53 +08:00
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
2020-01-10 22:14:08 +08:00
|
|
|
|
<id>attach-javadocs</id>
|
2019-12-04 18:08:53 +08:00
|
|
|
|
<goals>
|
2020-01-10 22:14:08 +08:00
|
|
|
|
<goal>jar</goal>
|
2019-12-04 18:08:53 +08:00
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
2020-01-10 22:14:08 +08:00
|
|
|
|
</plugin>
|
2020-06-17 18:17:41 +08:00
|
|
|
|
|
2020-01-10 22:14:08 +08:00
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
2019-12-04 18:08:53 +08:00
|
|
|
|
<configuration>
|
2020-01-10 22:14:08 +08:00
|
|
|
|
<arguments>-Dgpg.passphrase=${gpg.passphrase}</arguments>
|
2019-12-04 18:08:53 +08:00
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
2020-01-10 22:14:08 +08:00
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
|
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
|
|
|
<version>1.6.7</version>
|
|
|
|
|
<extensions>true</extensions>
|
|
|
|
|
<configuration>
|
|
|
|
|
<serverId>sonatype-nexus-staging</serverId>
|
|
|
|
|
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
|
|
|
|
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
|
|
|
<version>1.5</version>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>sign-artifacts</id>
|
|
|
|
|
<phase>verify</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>sign</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
2019-12-04 18:08:53 +08:00
|
|
|
|
</plugins>
|
|
|
|
|
<defaultGoal>compile</defaultGoal>
|
2020-01-10 22:14:08 +08:00
|
|
|
|
|
|
|
|
|
<finalName>ms-mcms</finalName>
|
2019-12-04 18:08:53 +08:00
|
|
|
|
</build>
|
2020-06-17 18:17:41 +08:00
|
|
|
|
</project>
|