6 Star 10 Fork 6

T4Cloud/T4CLOUD

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pom.xml 7.54 KB
一键复制 编辑 原始数据 按行查看 历史
TeaR 提交于 2020-07-01 17:42 . ## RELEASE-VERSION:0.1.2
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2019-2024, T4CLOUD (zqr.it@t4cloud.com).
~ <p>
~ Licensed under the GNU General Public License 3.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~ <p>
~ https://www.gnu.org/licenses/
~ <p>
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>com.t4cloud</groupId>
<artifactId>T4Cloud</artifactId>
<version>${spring-cloud.version}.${t4cloud.version}</version>
<name>${project.artifactId}</name>
<packaging>pom</packaging>
<url>https://www.t4cloud.com</url>
<properties>
<t4cloud.version>0.1.2</t4cloud.version>
<t4cloud.core.version>0.1.17</t4cloud.core.version>
<application.name></application.name>
<spring-boot.version>2.2.4.RELEASE</spring-boot.version>
<spring-cloud.version>Hoxton.SR1</spring-cloud.version>
<spring-cloud-alibaba.version>2.2.0.RELEASE</spring-cloud-alibaba.version>
<swagger.fox.version>2.9.2</swagger.fox.version>
<xxl-job.version>2.2.0-SNAPSHOT</xxl-job.version>
<xxl-rpc.version>1.5.0</xxl-rpc.version>
<groovy.version>2.5.9</groovy.version>
</properties>
<modules>
<module>T4Cloud-FeignServer</module>
<module>T4Cloud-User</module>
<module>T4Cloud-System</module>
<module>T4Cloud-Gateway</module>
<module>T4Cloud-Support</module>
<module>T4Cloud-Third</module>
<module>T4Cloud-Mock</module>
<module>T4Cloud-Gen</module>
<module>T4Cloud-Rocketmq-Console</module>
<module>T4Cloud-XXL-Job</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<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.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
<version>${spring-cloud-alibaba.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!--web 模块-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>${spring-boot.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<profiles>
<!--开发环境-->
<profile>
<id>dev</id>
<properties>
<active.profile>dev</active.profile>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<!-- end -->
<!--生产环境-->
<profile>
<id>prod</id>
<properties>
<active.profile>prod</active.profile>
</properties>
</profile>
<!-- end -->
</profiles>
<build>
<finalName>${application.name}${project.name}</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
</resources>
<plugins>
<!--指定编译版本-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<encoding>utf-8</encoding>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<!-- 打包跳过测试 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
<!-- 避免font文件的二进制文件格式压缩破坏 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<nonFilteredFileExtensions>
<nonFilteredFileExtension>woff</nonFilteredFileExtension>
<nonFilteredFileExtension>woff2</nonFilteredFileExtension>
<nonFilteredFileExtension>eot</nonFilteredFileExtension>
<nonFilteredFileExtension>ttf</nonFilteredFileExtension>
<nonFilteredFileExtension>svg</nonFilteredFileExtension>
</nonFilteredFileExtensions>
</configuration>
</plugin>
<!-- 自动选择环境 -->
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<!-- 配置资源文件中的变量分隔符(标识符),这里配置了两种变量分隔符 -->
<delimiters>
<delimiter>${*}</delimiter> <!-- 以${}为分隔符,例如 ${jdbc.url} -->
<delimiter>@</delimiter> <!-- 以@为分隔符,例如 @jdbc.url@ -->
</delimiters>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<!-- 私服仓库 -->
<repository>
<id>t4cloud</id>
<name>t4cloud</name>
<url>http://nexus.t4cloud.com/repository/maven-public/</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
<releases>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</releases>
</repository>
<!--阿里云主仓库,代理了maven central和jcenter仓库-->
<repository>
<id>aliyun</id>
<name>aliyun</name>
<url>https://maven.aliyun.com/repository/public</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/TRCloud/T4CLOUD.git
git@gitee.com:TRCloud/T4CLOUD.git
TRCloud
T4CLOUD
T4CLOUD
master

搜索帮助