pom x9 +1

up2

fix pom ok

# Conflicts:
#	order/order-application/pom.xml
#	product/product-application/pom.xml
#	promotion/promotion-application/pom.xml
#	search/search-application/pom.xml
pull/2/head
sam@tpad-win10 2020-01-04 17:58:27 +08:00 committed by sam@pincun-win10
parent 790c6905c9
commit 368a13339f
11 changed files with 202 additions and 19 deletions

View File

@ -11,6 +11,12 @@
<artifactId>demo-application</artifactId>
<properties>
<build.skip.assembly>false</build.skip.assembly>
<build.skip.install>true</build.skip.install>
<build.skip.deploy>true</build.skip.deploy>
</properties>
<dependencies>
<!-- Mall 相关 -->
<dependency>
@ -112,21 +118,29 @@
</dependencies>
<build>
<!--<build>
<plugins>
<!-- 提供给 mapstruct 使用 -->
&lt;!&ndash; 提供给 mapstruct 使用 &ndash;&gt;
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<!-- 打包 -->
&lt;!&ndash; 打包 &ndash;&gt;
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>-->
<build>
<plugins>
<plugin><artifactId>maven-surefire-plugin</artifactId></plugin>
<plugin><artifactId>maven-dependency-plugin</artifactId></plugin>
<plugin><artifactId>maven-assembly-plugin</artifactId></plugin>
</plugins>
</build>
</project>

View File

@ -11,6 +11,12 @@
<artifactId>ops</artifactId>
<properties>
<build.skip.assembly>false</build.skip.assembly>
<build.skip.install>true</build.skip.install>
<build.skip.deploy>true</build.skip.deploy>
</properties>
<dependencies>
<!-- Web 相关 -->
<dependency>
@ -32,10 +38,10 @@
</dependencies>
<build>
<!--<build>
<plugins>
<!-- 打包 -->
&lt;!&ndash; 打包 &ndash;&gt;
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
@ -45,6 +51,14 @@
</plugin>
</plugins>
</build>-->
<build>
<plugins>
<plugin><artifactId>maven-surefire-plugin</artifactId></plugin>
<plugin><artifactId>maven-dependency-plugin</artifactId></plugin>
<plugin><artifactId>maven-assembly-plugin</artifactId></plugin>
</plugins>
</build>
</project>

View File

@ -11,6 +11,13 @@
<artifactId>order-application</artifactId>
<properties>
<build.skip.assembly>false</build.skip.assembly>
<build.skip.install>true</build.skip.install>
<build.skip.deploy>true</build.skip.deploy>
</properties>
<dependencies>
<!-- Mall 相关 -->
<dependency>
@ -26,5 +33,12 @@
</dependencies>
<build>
<plugins>
<plugin><artifactId>maven-surefire-plugin</artifactId></plugin>
<plugin><artifactId>maven-dependency-plugin</artifactId></plugin>
<plugin><artifactId>maven-assembly-plugin</artifactId></plugin>
</plugins>
</build>
</project>

3
package.bat Normal file
View File

@ -0,0 +1,3 @@
call mvn package -Pjenkins
pause

View File

@ -11,6 +11,12 @@
<artifactId>pay-application</artifactId>
<properties>
<build.skip.assembly>false</build.skip.assembly>
<build.skip.install>true</build.skip.install>
<build.skip.deploy>true</build.skip.deploy>
</properties>
<dependencies>
<!-- Mall 相关 -->
<dependency>
@ -85,21 +91,29 @@
</dependencies>
<build>
<!--<build>
<plugins>
<!-- 提供给 mapstruct 使用 -->
&lt;!&ndash; 提供给 mapstruct 使用 &ndash;&gt;
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<!-- 打包 -->
&lt;!&ndash; 打包 &ndash;&gt;
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>-->
<build>
<plugins>
<plugin><artifactId>maven-surefire-plugin</artifactId></plugin>
<plugin><artifactId>maven-dependency-plugin</artifactId></plugin>
<plugin><artifactId>maven-assembly-plugin</artifactId></plugin>
</plugins>
</build>
</project>

71
pom.xml
View File

@ -3,11 +3,16 @@
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">
<modelVersion>4.0.0</modelVersion>
<parent>
<!--<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.4.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
<relativePath/> &lt;!&ndash; lookup parent from repository &ndash;&gt;
</parent>-->
<parent>
<groupId>com.demo1.pom</groupId>
<artifactId>pom-rpc</artifactId>
<version>1.1.0-SNAPSHOT</version>
</parent>
<groupId>cn.iocoder.mall</groupId>
@ -63,6 +68,25 @@
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${springboot.version}</version>
<!--<version>2.1.3.RELEASE</version>-->
<type>pom</type>
<scope>import</scope>
</dependency>
<!--<dependency> err: no-profile
<groupId>com.demo1.pom</groupId>
<artifactId>pom-rpc</artifactId>
<version>1.1.0-SNAPSHOT</version>
<type>pom</type>
<scope>import</scope>
</dependency>-->
<!-- Spring 核心 -->
<dependency>
<groupId>org.springframework.boot</groupId>
@ -197,12 +221,12 @@
</dependencies>
</dependencyManagement>
<!--<distributionManagement>-->
<!--<snapshotRepository>-->
<!--<id>apache-snapshots</id>-->
<!--<url>http://repository.apache.org/snapshots/</url>-->
<!--</snapshotRepository>-->
<!--</distributionManagement>-->
<!--<distributionManagement>
<snapshotRepository>
<id>apache-snapshots</id>
<url>http://repository.apache.org/snapshots/</url>
</snapshotRepository>
</distributionManagement>-->
<build>
<pluginManagement>
@ -231,15 +255,42 @@
</plugin>
<!-- 打包 -->
<plugin>
<!--<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<fork>true</fork>
</configuration>
</plugin>
</plugin>-->
<plugin><artifactId>maven-resources-plugin</artifactId></plugin>
<plugin><artifactId>maven-source-plugin</artifactId></plugin>
</plugins>
</pluginManagement>
</build>
<repositories>
<!--<repository>
<id>aliyun</id>
<url>maven.aliyun.com/nexus/content/groups/public</url>
</repository>-->
<repository>
<id>nexus-devcn</id>
<url>http://nexus.ali.devcn.fun:81/nexus/content/groups/public</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>aliyun</id>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</pluginRepository>
</pluginRepositories>
</project>

View File

@ -11,6 +11,12 @@
<artifactId>product-application</artifactId>
<properties>
<build.skip.assembly>false</build.skip.assembly>
<build.skip.install>true</build.skip.install>
<build.skip.deploy>true</build.skip.deploy>
</properties>
<dependencies>
<!-- Mall 相关 -->
<dependency>
@ -26,4 +32,12 @@
</dependencies>
<build>
<plugins>
<plugin><artifactId>maven-surefire-plugin</artifactId></plugin>
<plugin><artifactId>maven-dependency-plugin</artifactId></plugin>
<plugin><artifactId>maven-assembly-plugin</artifactId></plugin>
</plugins>
</build>
</project>

View File

@ -11,6 +11,12 @@
<artifactId>promotion-application</artifactId>
<properties>
<build.skip.assembly>false</build.skip.assembly>
<build.skip.install>true</build.skip.install>
<build.skip.deploy>true</build.skip.deploy>
</properties>
<dependencies>
<dependency>
<groupId>cn.iocoder.mall</groupId>
@ -23,4 +29,14 @@
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin><artifactId>maven-surefire-plugin</artifactId></plugin>
<plugin><artifactId>maven-dependency-plugin</artifactId></plugin>
<plugin><artifactId>maven-assembly-plugin</artifactId></plugin>
</plugins>
</build>
</project>

View File

@ -10,6 +10,11 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>search-application</artifactId>
<properties>
<build.skip.assembly>false</build.skip.assembly>
<build.skip.install>true</build.skip.install>
<build.skip.deploy>true</build.skip.deploy>
</properties>
<dependencies>
<!-- Mall 相关 -->
@ -26,4 +31,12 @@
</dependencies>
<build>
<plugins>
<plugin><artifactId>maven-surefire-plugin</artifactId></plugin>
<plugin><artifactId>maven-dependency-plugin</artifactId></plugin>
<plugin><artifactId>maven-assembly-plugin</artifactId></plugin>
</plugins>
</build>
</project>

View File

@ -11,6 +11,12 @@
<artifactId>system-application</artifactId>
<properties>
<build.skip.assembly>false</build.skip.assembly>
<build.skip.install>true</build.skip.install>
<build.skip.deploy>true</build.skip.deploy>
</properties>
<dependencies>
<!-- Mall 相关 -->
<dependency>
@ -26,4 +32,14 @@
</dependencies>
<build>
<plugins>
<plugin><artifactId>maven-surefire-plugin</artifactId></plugin>
<plugin><artifactId>maven-dependency-plugin</artifactId></plugin>
<plugin><artifactId>maven-assembly-plugin</artifactId></plugin>
</plugins>
</build>
</project>

View File

@ -11,6 +11,11 @@
<artifactId>user-application</artifactId>
<properties>
<build.skip.assembly>false</build.skip.assembly>
<build.skip.install>true</build.skip.install>
<build.skip.deploy>true</build.skip.deploy>
</properties>
<dependencies>
<!-- Mall 相关 -->
@ -27,4 +32,13 @@
</dependencies>
<build>
<plugins>
<plugin><artifactId>maven-surefire-plugin</artifactId></plugin>
<plugin><artifactId>maven-dependency-plugin</artifactId></plugin>
<plugin><artifactId>maven-assembly-plugin</artifactId></plugin>
</plugins>
</build>
</project>