加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 4.62 KB
一键复制 编辑 原始数据 按行查看 历史
tnt 提交于 2023-06-20 10:05 . 初始化
<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.6.3</version>
</parent>
<groupId>cn.shoptnt</groupId>
<artifactId>shoptnt-b2b2c</artifactId>
<version>7.2.3</version>
<modules>
<module>framework</module>
<module>shoptnt-core</module>
<module>config-server</module>
<module>buyer-api</module>
<module>sba-server</module>
<module>manager-api</module>
<module>seller-api</module>
<module>base-api</module>
<module>consumer</module>
<module>deploy</module>
</modules>
<packaging>pom</packaging>
<name>shoptnt-b2b2c</name>
<description>shoptnt 主工程</description>
<properties>
<docker-registry>registry.cn-hangzhou.aliyuncs.com/b2b2c/</docker-registry>
<docker-server-id>docker-aliyun-妙贤</docker-server-id>
<shardingsphere.version>4.1.0</shardingsphere.version>
<shoptnt-version>7.2.3</shoptnt-version>
<okhttp3.version>4.9.1</okhttp3.version>
<log4j2.version>2.17.1</log4j2.version>
<spring-cloud.version>2021.0.0</spring-cloud.version>
<dom4j.version>1.6.1</dom4j.version>
<jest-client.version>6.3.1</jest-client.version>
<spring-boot-admin.version>2.5.5</spring-boot-admin.version>
<fastjson.version>1.2.80</fastjson.version>
<jackson.version>2.10.1</jackson.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>${okhttp3.version}</version>
</dependency>
<!--全局排除spring-boot-starter-logging内的所有依赖-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-logging</artifactId>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</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.2.2</version>
<configuration>
<imageName>${docker-registry}${project.artifactId}:7.2.3_upgrade</imageName>
<baseImage>
registry.cn-beijing.aliyuncs.com/shoptnt-k8s-images/java-alpine:8u201b09_server-jre_nashorn
</baseImage>
<runs>
<run>["chmod","775", "/opt/wait-for-it.sh"]</run>
</runs>
<entryPoint>
["/opt/wait-for-it.sh", "config-service:8888", "--", "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>
<resource>
<targetPath>/opt/</targetPath>
<directory>${project.build.directory}/classes</directory>
<include>wait-for-it.sh</include>
</resource>
</resources>
<forceTags>true</forceTags>
<serverId>${docker-server-id}</serverId>
</configuration>
</plugin>
</plugins>
</build>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化