parent
c8bc6b700b
commit
0606f20984
1 changed files with 135 additions and 139 deletions
@ -1,140 +1,136 @@ |
|||||||
<?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" |
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"> |
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>mcms</artifactId> |
<artifactId>mcms</artifactId> |
||||||
<version>4.7.0-SNAPSHOT</version> |
<version>4.7.0-SNAPSHOT</version> |
||||||
<name>ms-mcms</name> |
<name>ms-mcms</name> |
||||||
<packaging>war</packaging> |
<properties> |
||||||
<properties> |
<java.version>1.8</java.version> |
||||||
<java.version>1.8</java.version> |
</properties> |
||||||
</properties> |
<repositories> |
||||||
<repositories> |
<repository> |
||||||
<repository> |
<id>sonatype-nexus-snapshots</id> |
||||||
<id>sonatype-nexus-snapshots</id> |
<name>Sonatype Nexus Snapshots</name> |
||||||
<name>Sonatype Nexus Snapshots</name> |
<url>http://repo1.maven.org/maven2/</url> |
||||||
<url>http://repo1.maven.org/maven2/</url> |
<releases> |
||||||
<releases> |
<enabled>true</enabled> |
||||||
<enabled>true</enabled> |
</releases> |
||||||
</releases> |
<snapshots> |
||||||
<snapshots> |
<enabled>true</enabled> |
||||||
<enabled>true</enabled> |
</snapshots> |
||||||
</snapshots> |
</repository> |
||||||
</repository> |
<repository> |
||||||
<repository> |
<id>sonatype</id> |
||||||
<id>sonatype</id> |
<name>Sonatype Snapshots</name> |
||||||
<name>Sonatype Snapshots</name> |
<url>https://oss.sonatype.org/content/groups/public/</url> |
||||||
<url>https://oss.sonatype.org/content/groups/public/</url> |
<releases> |
||||||
<releases> |
<enabled>true</enabled> |
||||||
<enabled>true</enabled> |
</releases> |
||||||
</releases> |
<snapshots> |
||||||
<snapshots> |
<enabled>true</enabled> |
||||||
<enabled>true</enabled> |
</snapshots> |
||||||
</snapshots> |
</repository> |
||||||
</repository> |
</repositories> |
||||||
</repositories> |
<dependencies> |
||||||
<dependencies> |
<dependency> |
||||||
<dependency> |
<groupId>net.mingsoft</groupId> |
||||||
<groupId>net.mingsoft</groupId> |
<artifactId>ms-base</artifactId> |
||||||
<artifactId>ms-base</artifactId> |
<version>1.0.8.boot</version> |
||||||
<version>1.0.8.boot</version> |
</dependency> |
||||||
</dependency> |
<dependency> |
||||||
<dependency> |
<groupId>net.mingsoft</groupId> |
||||||
<groupId>net.mingsoft</groupId> |
<artifactId>ms-basic</artifactId> |
||||||
<artifactId>ms-basic</artifactId> |
<version>1.0.8</version> |
||||||
<version>1.0.8.1-SNAPSHOT</version> |
</dependency> |
||||||
<classifier>classes</classifier> |
<dependency> |
||||||
</dependency> |
<groupId>net.mingsoft</groupId> |
||||||
<dependency> |
<artifactId>ms-mdiy</artifactId> |
||||||
<groupId>net.mingsoft</groupId> |
<version>1.0.7</version> |
||||||
<artifactId>ms-mdiy</artifactId> |
</dependency> |
||||||
<version>1.0.7-SNAPSHOT</version> |
<dependency> |
||||||
<classifier>classes</classifier> |
<groupId>net.mingsoft</groupId> |
||||||
</dependency> |
<artifactId>ms-mpeople</artifactId> |
||||||
<dependency> |
<version>1.0.7</version> |
||||||
<groupId>net.mingsoft</groupId> |
</dependency> |
||||||
<artifactId>ms-mpeople</artifactId> |
<dependency> |
||||||
<version>1.0.7-SNAPSHOT</version> |
<groupId>net.mingsoft</groupId> |
||||||
<classifier>classes</classifier> |
<artifactId>ms-upgrader</artifactId> |
||||||
</dependency> |
<version>1.0.5-SNAPSHOT</version> |
||||||
<dependency> |
</dependency> |
||||||
<groupId>net.mingsoft</groupId> |
<dependency> |
||||||
<artifactId>ms-upgrader</artifactId> |
<groupId>javax.servlet</groupId> |
||||||
<version>1.0.5-SNAPSHOT</version> |
<artifactId>javax.servlet-api</artifactId> |
||||||
</dependency> |
<version>3.1.0</version> |
||||||
<dependency> |
<scope>test</scope> |
||||||
<groupId>javax.servlet</groupId> |
</dependency> |
||||||
<artifactId>javax.servlet-api</artifactId> |
<dependency> |
||||||
<version>3.1.0</version> |
<groupId>org.apache.tomcat.embed</groupId> |
||||||
<scope>test</scope> |
<artifactId>tomcat-embed-jasper</artifactId> |
||||||
</dependency> |
<version>9.0.16</version> |
||||||
<dependency> |
</dependency> |
||||||
<groupId>org.apache.tomcat.embed</groupId> |
</dependencies> |
||||||
<artifactId>tomcat-embed-jasper</artifactId> |
<build> |
||||||
<version>9.0.16</version> |
<finalName>ms-mcms</finalName> |
||||||
</dependency> |
<plugins> |
||||||
</dependencies> |
<!-- docker部署 <plugin> <groupId>com.spotify</groupId> <artifactId>docker-maven-plugin</artifactId> |
||||||
<build> |
<version>1.2.0</version> <configuration> <dockerHost>http://localhost</dockerHost> |
||||||
<finalName>ms-mcms</finalName> |
<imageName>ms-mcms</imageName> <baseImage>java</baseImage> <entryPoint>["java", |
||||||
<plugins> |
"-jar", "/${project.build.finalName}.jar"]</entryPoint> <resources> <resource> |
||||||
<!-- docker部署 <plugin> <groupId>com.spotify</groupId> <artifactId>docker-maven-plugin</artifactId> |
<targetPath>/</targetPath> <directory>${project.build.directory}</directory> |
||||||
<version>1.2.0</version> <configuration> <dockerHost>http://localhost</dockerHost> |
<include>${project.build.finalName}.jar</include> </resource> </resources> |
||||||
<imageName>ms-mcms</imageName> <baseImage>java</baseImage> <entryPoint>["java", |
</configuration> </plugin> --> |
||||||
"-jar", "/${project.build.finalName}.jar"]</entryPoint> <resources> <resource> |
<plugin> |
||||||
<targetPath>/</targetPath> <directory>${project.build.directory}</directory> |
<groupId>org.apache.maven.plugins</groupId> |
||||||
<include>${project.build.finalName}.jar</include> </resource> </resources> |
<artifactId>maven-compiler-plugin</artifactId> |
||||||
</configuration> </plugin> --> |
<version>3.1</version> |
||||||
<plugin> |
<configuration> |
||||||
<groupId>org.apache.maven.plugins</groupId> |
<source>${java.version}</source> |
||||||
<artifactId>maven-compiler-plugin</artifactId> |
<target>${java.version}</target> |
||||||
<version>3.1</version> |
</configuration> |
||||||
<configuration> |
</plugin> |
||||||
<source>${java.version}</source> |
<plugin> |
||||||
<target>${java.version}</target> |
<groupId>org.springframework.boot</groupId> |
||||||
</configuration> |
<artifactId>spring-boot-maven-plugin</artifactId> |
||||||
</plugin> |
<executions> |
||||||
<plugin> |
<execution> |
||||||
<groupId>org.springframework.boot</groupId> |
<goals> |
||||||
<artifactId>spring-boot-maven-plugin</artifactId> |
<goal>repackage</goal> |
||||||
<executions> |
</goals> |
||||||
<execution> |
</execution> |
||||||
<goals> |
</executions> |
||||||
<goal>repackage</goal> |
<configuration> |
||||||
</goals> |
<fork>true</fork> |
||||||
</execution> |
</configuration> |
||||||
</executions> |
</plugin> |
||||||
<configuration> |
<plugin> |
||||||
<fork>true</fork> |
<groupId>org.springframework.boot</groupId> |
||||||
</configuration> |
<artifactId>spring-boot-maven-plugin</artifactId> |
||||||
</plugin> |
</plugin> |
||||||
<plugin> |
<plugin> |
||||||
<groupId>org.springframework.boot</groupId> |
<groupId>org.apache.maven.plugins</groupId> |
||||||
<artifactId>spring-boot-maven-plugin</artifactId> |
<artifactId>maven-war-plugin</artifactId> |
||||||
</plugin> |
<configuration> |
||||||
<plugin> |
<failOnMissingWebXml>false</failOnMissingWebXml> |
||||||
<groupId>org.apache.maven.plugins</groupId> |
<!-- 打包时候需需要启用,注意避免快照依赖的冗余jar包 --> |
||||||
<artifactId>maven-war-plugin</artifactId> |
<!-- outputFileNameMapping>@{artifactId}@- @{baseVersion}@. @{extension}@</outputFileNameMapping --> |
||||||
<configuration> |
</configuration> |
||||||
<failOnMissingWebXml>false</failOnMissingWebXml> |
</plugin> |
||||||
<!-- 打包时候需需要启用,注意避免快照依赖的冗余jar包 --> |
</plugins> |
||||||
<!-- outputFileNameMapping>@{artifactId}@- @{baseVersion}@. @{extension}@</outputFileNameMapping --> |
<resources> |
||||||
</configuration> |
<resource> |
||||||
</plugin> |
<directory>src/main/webapp</directory> |
||||||
</plugins> |
</resource> |
||||||
<resources> |
<resource> |
||||||
<resource> |
<directory>src/main/resources</directory> |
||||||
<directory>src/main/webapp</directory> |
</resource> |
||||||
</resource> |
<resource> |
||||||
<resource> |
<directory>src/main/java</directory> |
||||||
<directory>src/main/resources</directory> |
</resource> |
||||||
</resource> |
</resources> |
||||||
<resource> |
<defaultGoal>compile</defaultGoal> |
||||||
<directory>src/main/java</directory> |
</build> |
||||||
</resource> |
|
||||||
</resources> |
|
||||||
<defaultGoal>compile</defaultGoal> |
|
||||||
</build> |
|
||||||
</project> |
</project> |
||||||
Loading…
Reference in new issue