1 Star 0 Fork 0

SurvivorK/Knight-Helmet

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pom.xml 6.68 KB
一键复制 编辑 原始数据 按行查看 历史
SurvivorK 提交于 2021-12-21 15:29 . 第一版本发布
<?xml version="1.0" encoding="UTF-8"?>
<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.3.7.RELEASE</version>
</parent>
<groupId>cn.supersoul.knight.helmet</groupId>
<artifactId>knight-helmet</artifactId>
<version>1.0.0.RELEASE</version>
<properties>
<spring.boot.version>2.3.7.RELEASE</spring.boot.version>
<knight.version>1.0.0</knight.version>
<!-- ======================Docker==================== -->
<!-- docker host -->
<docker.host>engine</docker.host>
<!-- docker tls -->
<docker.tls>engine tls</docker.tls>
<!-- docker registry prefix -->
<docker.prefix>127.0.0.1:80</docker.prefix>
<!-- docker registry namespace -->
<docker.namespace>library</docker.namespace>
<!-- docker registry username -->
<docker.username>admin</docker.username>
<!-- docker registry password -->
<docker.password>Harbor12345</docker.password>
<!-- plugin version -->
<docker.plugin.version>0.34.1</docker.plugin.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>cn.supersoul.knight</groupId>
<artifactId>knight-pom</artifactId>
<version>${knight.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- fastjson -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
</dependency>
<!-- 工具包 -->
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
</dependency>
<!-- lombok -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
<!-- 公共包 -->
<dependency>
<groupId>cn.supersoul.knight</groupId>
<artifactId>knight-boot-common</artifactId>
</dependency>
<!-- web -->
<dependency>
<groupId>cn.supersoul.knight</groupId>
<artifactId>knight-boot-starter-web</artifactId>
</dependency>
<!-- auth -->
<dependency>
<groupId>cn.supersoul.knight</groupId>
<artifactId>knight-boot-starter-auth</artifactId>
</dependency>
<!-- redis -->
<dependency>
<groupId>cn.supersoul.knight</groupId>
<artifactId>knight-boot-starter-redis</artifactId>
</dependency>
<!-- mp -->
<dependency>
<groupId>cn.supersoul.knight</groupId>
<artifactId>knight-boot-starter-mp</artifactId>
</dependency>
<!-- websocket -->
<dependency>
<groupId>cn.supersoul.knight</groupId>
<artifactId>knight-boot-starter-websocket</artifactId>
</dependency>
<!-- upload -->
<dependency>
<groupId>cn.supersoul.knight</groupId>
<artifactId>knight-boot-starter-upload</artifactId>
</dependency>
<!-- mysql -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<scope>runtime</scope>
</dependency>
<!-- hakricp -->
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP</artifactId>
</dependency>
<!-- cache -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-cache</artifactId>
</dependency>
<!-- test -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
</dependency>
<!-- knife4j -->
<dependency>
<groupId>com.github.xiaoymin</groupId>
<artifactId>knife4j-spring-boot-starter</artifactId>
</dependency>
</dependencies>
<repositories>
<repository>
<id>knight-nexus-s</id>
<url>http://47.93.252.149:8010/repository/maven-snapshot/</url>
</repository>
<repository>
<id>knight-nexus-r</id>
<url>http://47.93.252.149:8010/repository/maven-releases/</url>
</repository>
</repositories>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<!-- jar工程插件 -->
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<!-- 打包源码插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- docker插件 -->
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>${docker.plugin.version}</version>
<configuration>
<dockerHost>${docker.host}</dockerHost>
<!-- 如果不存在tls验证请注释掉此行配置 -->
<certPath>${docker.tls}</certPath>
<authConfig>
<push>
<username>${docker.username}</username>
<password>${docker.password}</password>
</push>
</authConfig>
<images>
<image>
<name>${docker.prefix}/${docker.namespace}/${project.artifactId}:${project.version}</name>
<build>
<dockerFile>${project.basedir}/Dockerfile</dockerFile>
</build>
</image>
</images>
</configuration>
</plugin>
</plugins>
</build>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/superKay/knight-helmet.git
git@gitee.com:superKay/knight-helmet.git
superKay
knight-helmet
Knight-Helmet
master

搜索帮助