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> <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> <dependencies>
<!-- Mall 相关 --> <!-- Mall 相关 -->
<dependency> <dependency>
@ -112,21 +118,29 @@
</dependencies> </dependencies>
<build> <!--<build>
<plugins> <plugins>
<!-- 提供给 mapstruct 使用 --> &lt;!&ndash; 提供给 mapstruct 使用 &ndash;&gt;
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
</plugin> </plugin>
<!-- 打包 --> &lt;!&ndash; 打包 &ndash;&gt;
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
</plugin> </plugin>
</plugins> </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> </build>
</project> </project>

View File

@ -11,6 +11,12 @@
<artifactId>ops</artifactId> <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> <dependencies>
<!-- Web 相关 --> <!-- Web 相关 -->
<dependency> <dependency>
@ -32,10 +38,10 @@
</dependencies> </dependencies>
<build> <!--<build>
<plugins> <plugins>
<!-- 打包 --> &lt;!&ndash; 打包 &ndash;&gt;
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
@ -45,6 +51,14 @@
</plugin> </plugin>
</plugins> </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> </build>
</project> </project>

View File

@ -11,6 +11,13 @@
<artifactId>order-application</artifactId> <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> <dependencies>
<!-- Mall 相关 --> <!-- Mall 相关 -->
<dependency> <dependency>
@ -26,5 +33,12 @@
</dependencies> </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> </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> <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> <dependencies>
<!-- Mall 相关 --> <!-- Mall 相关 -->
<dependency> <dependency>
@ -85,21 +91,29 @@
</dependencies> </dependencies>
<build> <!--<build>
<plugins> <plugins>
<!-- 提供给 mapstruct 使用 --> &lt;!&ndash; 提供给 mapstruct 使用 &ndash;&gt;
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
</plugin> </plugin>
<!-- 打包 --> &lt;!&ndash; 打包 &ndash;&gt;
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
</plugin> </plugin>
</plugins> </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> </build>
</project> </project>

71
pom.xml
View File

@ -3,11 +3,16 @@
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>
<parent> <!--<parent>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId> <artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.4.RELEASE</version> <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> </parent>
<groupId>cn.iocoder.mall</groupId> <groupId>cn.iocoder.mall</groupId>
@ -63,6 +68,25 @@
<dependencyManagement> <dependencyManagement>
<dependencies> <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 核心 --> <!-- Spring 核心 -->
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
@ -197,12 +221,12 @@
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>
<!--<distributionManagement>--> <!--<distributionManagement>
<!--<snapshotRepository>--> <snapshotRepository>
<!--<id>apache-snapshots</id>--> <id>apache-snapshots</id>
<!--<url>http://repository.apache.org/snapshots/</url>--> <url>http://repository.apache.org/snapshots/</url>
<!--</snapshotRepository>--> </snapshotRepository>
<!--</distributionManagement>--> </distributionManagement>-->
<build> <build>
<pluginManagement> <pluginManagement>
@ -231,15 +255,42 @@
</plugin> </plugin>
<!-- 打包 --> <!-- 打包 -->
<plugin> <!--<plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<configuration> <configuration>
<fork>true</fork> <fork>true</fork>
</configuration> </configuration>
</plugin> </plugin>-->
<plugin><artifactId>maven-resources-plugin</artifactId></plugin>
<plugin><artifactId>maven-source-plugin</artifactId></plugin>
</plugins> </plugins>
</pluginManagement> </pluginManagement>
</build> </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> </project>

View File

@ -11,6 +11,12 @@
<artifactId>product-application</artifactId> <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> <dependencies>
<!-- Mall 相关 --> <!-- Mall 相关 -->
<dependency> <dependency>
@ -26,4 +32,12 @@
</dependencies> </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> </project>

View File

@ -11,6 +11,12 @@
<artifactId>promotion-application</artifactId> <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> <dependencies>
<dependency> <dependency>
<groupId>cn.iocoder.mall</groupId> <groupId>cn.iocoder.mall</groupId>
@ -23,4 +29,14 @@
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
</dependency> </dependency>
</dependencies> </dependencies>
</project>
<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> <modelVersion>4.0.0</modelVersion>
<artifactId>search-application</artifactId> <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> <dependencies>
<!-- Mall 相关 --> <!-- Mall 相关 -->
@ -26,4 +31,12 @@
</dependencies> </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> </project>

View File

@ -11,6 +11,12 @@
<artifactId>system-application</artifactId> <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> <dependencies>
<!-- Mall 相关 --> <!-- Mall 相关 -->
<dependency> <dependency>
@ -26,4 +32,14 @@
</dependencies> </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> </project>

View File

@ -11,6 +11,11 @@
<artifactId>user-application</artifactId> <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> <dependencies>
<!-- Mall 相关 --> <!-- Mall 相关 -->
@ -27,4 +32,13 @@
</dependencies> </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> </project>