1 Star 0 Fork 14

xiute/zshop-智e商城

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 2.81 KB
一键复制 编辑 原始数据 按行查看 历史
ChienSun 提交于 2022-11-08 10:33 . 商城系统
<project xmlns="http://maven.apache.org/POM/4.0.0" 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>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.0.RELEASE</version>
</parent>
<groupId>com.enation.app.javashop</groupId>
<artifactId>javashop-b2b2c</artifactId>
<version>7.1.4</version>
<modules>
<module>framework</module>
<module>javashop-core</module>
<module>config-server</module>
<module>buyer-api</module>
<module>manager-api</module>
<module>seller-api</module>
<module>base-api</module>
<module>consumer</module>
</modules>
<packaging>pom</packaging>
<name>javashop-b2b2c</name>
<description>javashop 主工程</description>
<properties>
<docker-registry>registry.cn-beijing.aliyuncs.com/enation/</docker-registry>
<docker-server-id>docker-aliyun</docker-server-id>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Greenwich.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.spotify</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>1.1.1</version>
<configuration>
<imageName>${docker-registry}${project.artifactId}:7.1.4</imageName>
<baseImage>registry.cn-beijing.aliyuncs.com/javashop-k8s-images/java-alpine:8-cn-unlimited</baseImage>
<entryPoint>["java","-jar", "/opt/${project.build.finalName}.jar" ,"-Dfile.encoding=UTF-8"]</entryPoint>
<resources>
<resource>
<targetPath>/opt/</targetPath>
<directory>${project.build.directory}</directory>
<include>${project.build.finalName}.jar</include>
</resource>
</resources>
<forceTags>true</forceTags>
<serverId>${docker-server-id}</serverId>
</configuration>
</plugin>
</plugins>
</build>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/xiute/zshop.git
git@gitee.com:xiute/zshop.git
xiute
zshop
zshop-智e商城
master

搜索帮助