1 Star 0 Fork 140

葉者/JPower_1

forked from mr.g/JPower 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pom.xml 11.25 KB
一键复制 编辑 原始数据 按行查看 历史
mr.g 提交于 2022-09-27 01:22 . lombok加provided
<?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.5.8</version>
<relativePath/>
</parent>
<groupId>com.wlcb</groupId>
<artifactId>jpower</artifactId>
<version>2.1.6</version>
<packaging>pom</packaging>
<properties>
<java.version>1.8</java.version>
<com.jpower.version>2.1.6</com.jpower.version>
<springboot.data.redis.version>1.5.8.RELEASE</springboot.data.redis.version>
<mybatis-plus.version>3.4.3.4</mybatis-plus.version>
<easy-captcha.version>1.6.2</easy-captcha.version>
<druid-spring.version>1.2.5</druid-spring.version>
<fastjson.version>1.2.75</fastjson.version>
<pagehelper-spring.version>1.4.1</pagehelper-spring.version>
<javax.mail.version>1.6.2</javax.mail.version>
<jwt.version>0.6.0</jwt.version>
<fastdfs.version>1.27.2</fastdfs.version>
<httpclient.version>4.5.13</httpclient.version>
<guava.version>31.0.1-jre</guava.version>
<poi.version>3.17</poi.version>
<knife4j.version>2.0.9</knife4j.version>
<swagger-annotations.version>1.6.2</swagger-annotations.version>
<common-io.version>2.8.0</common-io.version>
<skywalking.version>8.8.0</skywalking.version>
<spring-boot-admin.version>2.6.0</spring-boot-admin.version>
<logstash.version>7.0.1</logstash.version>
<hutool.version>5.7.16</hutool.version>
<srping-alibaba.version>2021.1</srping-alibaba.version>
<nacos.version>2.0.4</nacos.version>
<seata.version>1.4.2</seata.version>
<srping-cloud.version>2020.0.4</srping-cloud.version>
<dockerfile-maven-plugin.version>1.4.13</dockerfile-maven-plugin.version>
<docker.image.prefix>jpower</docker.image.prefix>
<docker.registry>118.31.115.232:5000</docker.registry>
</properties>
<modules>
<module>jpower-module-common</module>
<module>jpower-module-gateway</module>
<module>jpower-feign-api</module>
<module>jpower-core-login</module>
<module>jpower-core-server</module>
<module>jpower-op-server</module>
</modules>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${srping-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
<version>${srping-alibaba.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-starter-server</artifactId>
<version>${spring-boot-admin.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<classifier>exec</classifier>
<fork>true</fork>
<!--生成可执行jar的名称-->
<finalName>${project.build.finalName}</finalName>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- war包解析 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
<warName>${project.build.finalName}</warName>
<webResources>
<resource>
<directory>${root.basedir}/config</directory>
<targetPath>WEB-INF/classes</targetPath>
<filtering>false</filtering>
<includes>
<include>*.yml</include>
<include>*.properties</include>
</includes>
</resource>
</webResources>
</configuration>
</plugin>
<!-- dockerfile -->
<plugin>
<groupId>com.spotify</groupId>
<artifactId>dockerfile-maven-plugin</artifactId>
<version>${dockerfile-maven-plugin.version}</version>
<configuration>
<useMavenSettingsForAuth>true</useMavenSettingsForAuth>
<repository>${docker.registry}/${docker.image.prefix}/${project.build.finalName}</repository>
<tag>${project.version}</tag>
<buildArgs>
<JAR_FILE>target/${project.build.finalName}-exec.jar</JAR_FILE>
</buildArgs>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>com.spotify</groupId>
<artifactId>dockerfile-maven-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</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>
<plugin>
<groupId>org.commonjava.maven.plugins</groupId>
<artifactId>directory-maven-plugin</artifactId>
<version>0.1</version>
<executions>
<execution>
<id>directories</id>
<goals>
<goal>highest-basedir</goal>
</goals>
<phase>initialize</phase>
<configuration>
<property>root.basedir</property>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<!-- 输出目录 -->
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
<resources>
<resource>
<!-- 资源目录 -->
<directory>${root.basedir}/config</directory>
<includes>
<include>*.yml</include>
<include>*.properties</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
<configuration>
<delimiters>@</delimiters>
<useDefaultDelimiters>false</useDefaultDelimiters>
</configuration>
</plugin>
</plugins>
<resources>
<!-- 编译 src/main/java 目录下的 mapper 文件 -->
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
<!-- ......用于扫描 dao 文件下的mapper 文件................. end -->
<filtering>false</filtering>
</resource>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<!-- <directory>/Users/mr.gmac/IdeaProjects/JPower/config</directory>-->
<directory>config</directory>
<includes>
<include>*.properties</include>
<include>*.yml</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
<testResources>
<testResource>
<directory>src/test/resources</directory>
<filtering>true</filtering>
</testResource>
</testResources>
</build>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/my1313677/JPower_1.git
git@gitee.com:my1313677/JPower_1.git
my1313677
JPower_1
JPower_1
master

搜索帮助