Files
xj-platform/jeecg-system/jeecg-system-start/pom.xml
T

117 lines
4.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>jeecg-system</artifactId>
<groupId>org.jeecgframework.boot</groupId>
<version>2.0.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>jeecg-system-start</artifactId>
<description>System项目微服务启动</description>
<dependencies>
<!-- 引入jeecg-boot-starter-cloud依赖 -->
<dependency>
<groupId>org.jeecgframework.boot</groupId>
<artifactId>jeecg-boot-starter-cloud</artifactId>
</dependency>
<!-- jeecg-system-biz依赖 -->
<dependency>
<groupId>org.jeecgframework.boot</groupId>
<artifactId>jeecg-system-biz</artifactId>
</dependency>
</dependencies>
<build>
<!-- 打包名称 -->
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<!--<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>3.4.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>build</goal>
</goals>
</execution>
</executions>
<configuration>
<from>
<image>docker.icdat.top/library/eclipse-temurin:8-jdk</image>
</from>
<to>
<image>dev.yixiong-tech.com:18081/renkang/xj-system</image>
<tags>
<tag>latest</tag>
<tag>${git.commit.id.abbrev}</tag>
</tags>
<auth>
<username>admin</username>
<password>Aa135790!123</password>
</auth>
</to>
<allowInsecureRegistries>true</allowInsecureRegistries>
<container>
<mainClass>org.jeecg.JeecgSystemCloudApplication</mainClass>
<ports>
<port>7001</port>
</ports>
</container>
</configuration>
</plugin>-->
</plugins>
</build>
</profile>
<profile>
<id>divide-package</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<start-class>org.jeecg.JeecgSystemCloudApplication</start-class>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>