msopen/pom.xml

124 lines
3.7 KiB
XML
Raw Normal View History

2019-02-16 15:32:00 +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"
2019-01-04 17:37:43 +08:00
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>
2019-02-16 15:32:00 +08:00
2019-01-04 17:37:43 +08:00
<groupId>net.mingsoft</groupId>
2019-02-16 15:32:00 +08:00
<artifactId>mcms</artifactId>
2019-01-26 18:14:49 +08:00
<version>4.7.0-SNAPSHOT</version>
2019-02-16 15:32:00 +08:00
<name>ms-mcms</name>
2019-02-16 15:14:08 +08:00
<packaging>war</packaging>
<properties>
<java.version>1.8</java.version>
</properties>
2019-02-16 15:32:00 +08:00
<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>
2019-01-04 17:37:43 +08:00
<dependencies>
2019-02-16 15:32:00 +08:00
<dependency>
<groupId>net.mingsoft</groupId>
<artifactId>ms-base</artifactId>
<version>1.0.8.boot</version>
</dependency>
2019-01-04 17:37:43 +08:00
<dependency>
<groupId>net.mingsoft</groupId>
<artifactId>ms-basic</artifactId>
2019-02-16 15:32:00 +08:00
<version>1.0.8.1-SNAPSHOT</version>
2019-01-04 17:37:43 +08:00
<classifier>classes</classifier>
</dependency>
2019-01-15 16:03:11 +08:00
<dependency>
<groupId>net.mingsoft</groupId>
<artifactId>ms-mdiy</artifactId>
2019-02-16 15:32:00 +08:00
<version>1.0.7-SNAPSHOT</version>
2019-01-15 16:03:11 +08:00
<classifier>classes</classifier>
</dependency>
<dependency>
<groupId>net.mingsoft</groupId>
<artifactId>ms-mpeople</artifactId>
2019-02-16 15:32:00 +08:00
<version>1.0.7-SNAPSHOT</version>
2019-01-15 16:03:11 +08:00
<classifier>classes</classifier>
</dependency>
2019-01-04 17:37:43 +08:00
</dependencies>
<build>
2019-02-16 15:32:00 +08:00
<finalName>ms-mcms</finalName>
2019-01-04 17:37:43 +08:00
<plugins>
2019-02-16 15:32:00 +08:00
<!-- docker部署 <plugin> <groupId>com.spotify</groupId> <artifactId>docker-maven-plugin</artifactId>
<version>1.2.0</version> <configuration> <dockerHost>http://localhost</dockerHost>
<imageName>ms-mcms</imageName> <baseImage>java</baseImage> <entryPoint>["java",
"-jar", "/${project.build.finalName}.jar"]</entryPoint> <resources> <resource>
<targetPath>/</targetPath> <directory>${project.build.directory}</directory>
<include>${project.build.finalName}.jar</include> </resource> </resources>
</configuration> </plugin> -->
2019-01-04 17:37:43 +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>
2019-02-16 15:14:08 +08:00
</configuration>
</plugin>
<plugin>
2019-02-16 15:32:00 +08:00
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
2019-01-04 17:37:43 +08:00
<executions>
<execution>
<goals>
2019-02-16 15:32:00 +08:00
<goal>repackage</goal>
2019-01-04 17:37:43 +08:00
</goals>
</execution>
</executions>
2019-02-16 15:14:08 +08:00
<configuration>
2019-02-16 15:32:00 +08:00
<fork>true</fork>
2019-02-16 15:14:08 +08:00
</configuration>
2019-01-04 17:37:43 +08:00
</plugin>
<plugin>
2019-02-16 15:32:00 +08:00
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
2019-02-16 15:14:08 +08:00
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
2019-02-16 15:32:00 +08:00
<artifactId>maven-war-plugin</artifactId>
2019-02-16 15:14:08 +08:00
<configuration>
2019-02-16 15:32:00 +08:00
<failOnMissingWebXml>false</failOnMissingWebXml>
<!-- 打包时候需需要启用注意避免快照依赖的冗余jar包 -->
<!-- outputFileNameMapping>@{artifactId}@- @{baseVersion}@. @{extension}@</outputFileNameMapping -->
2019-01-04 17:37:43 +08:00
</configuration>
2019-01-19 12:11:41 +08:00
</plugin>
2019-01-04 17:37:43 +08:00
</plugins>
2019-02-16 15:32:00 +08:00
<resources>
<resource>
<directory>src/main/webapp</directory>
</resource>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>src/main/java</directory>
</resource>
</resources>
2019-01-04 17:37:43 +08:00
<defaultGoal>compile</defaultGoal>
</build>
</project>