1 Star 0 Fork 2

rockZhao/base-components

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pom.xml 6.72 KB
一键复制 编辑 原始数据 按行查看 历史
ligeng 提交于 2022-10-09 15:13 . 仓库迁移
<?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>
<artifactId>base-components</artifactId>
<version>Finchley-SNAPSHOT</version>
<packaging>pom</packaging>
<name>${project.artifactId}</name>
<description>${project.artifactId} parent project</description>
<modules>
<!-- 基础模块 -->
<module>support</module>
<module>common</module>
<module>transaction</module>
<module>database-jpa</module>
<module>database-mybatis</module>
<module>cache</module>
<module>elasticsearch</module>
<module>feign</module>
<module>zuul</module>
<module>task</module>
<module>doc</module>
<module>code-tool</module>
</modules>
<parent>
<groupId>com.drakelee.base</groupId>
<artifactId>common-dependencies</artifactId>
<version>Finchley-SNAPSHOT</version>
</parent>
<profiles>
<profile>
<id>dev</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<build.profiles.active>dev</build.profiles.active>
<git.branches>master</git.branches>
<skip.test>true</skip.test>
<!--配置服务器ID,默认为eureka-server,若修改为 config-server 则需要启动 config-server -->
<config-server-id>eureka-server</config-server-id>
<!-- 是否使用远程config-server,false=本地,true=远程 -->
<config-server-remote>true</config-server-remote>
<!--需要本地特殊端口时使用-->
<!--<spring.cloud.config.uri>uri: http://localhost:18888/config</spring.cloud.config.uri>-->
<spring.cloud.config.uri/>
<spring.cloud.config.discovery.service-id>discovery.service-id: ${config-server-id}</spring.cloud.config.discovery.service-id>
<spring.cloud.config.discovery.enabled>discovery.enabled: ${config-server-remote}</spring.cloud.config.discovery.enabled>
<!--log level-->
<logging.level.major.root>DEBUG</logging.level.major.root>
<logging.level.major.stdout>DEBUG</logging.level.major.stdout>
<logging.level.minor.root>INFO</logging.level.minor.root>
<logging.level.minor.stdout>INFO</logging.level.minor.stdout>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<build.profiles.active>prod</build.profiles.active>
<git.branches>master</git.branches>
<skip.test>true</skip.test>
<!--配置服务器ID,默认为eureka-server,若修改为 config-server 则需要启动 config-server -->
<config-server-id>eureka-server</config-server-id>
<!-- 是否使用远程config-server,false=本地,true=远程 -->
<config-server-remote>true</config-server-remote>
<!--需要本地特殊端口时使用-->
<!--<spring.cloud.config.uri>uri: http://localhost:18888/config</spring.cloud.config.uri>-->
<spring.cloud.config.uri/>
<spring.cloud.config.discovery.service-id>discovery.service-id: ${config-server-id}</spring.cloud.config.discovery.service-id>
<spring.cloud.config.discovery.enabled>discovery.enabled: ${config-server-remote}</spring.cloud.config.discovery.enabled>
<!--log level-->
<logging.level.major.root>INFO</logging.level.major.root>
<logging.level.major.stdout>OFF</logging.level.major.stdout>
<logging.level.minor.root>ERROR</logging.level.minor.root>
<logging.level.minor.stdout>OFF</logging.level.minor.stdout>
</properties>
</profile>
<profile>
<id>test</id>
<properties>
<build.profiles.active>test</build.profiles.active>
<git.branches>master</git.branches>
<skip.test>true</skip.test>
<!--配置服务器ID,默认为eureka-server,若修改为 config-server 则需要启动 config-server -->
<config-server-id>eureka-server</config-server-id>
<!-- 是否使用远程config-server,false=本地,true=远程 -->
<config-server-remote>true</config-server-remote>
<!--需要本地特殊端口时使用-->
<!--<spring.cloud.config.uri>uri: http://localhost:18888/config</spring.cloud.config.uri>-->
<spring.cloud.config.uri/>
<spring.cloud.config.discovery.service-id>discovery.service-id: ${config-server-id}</spring.cloud.config.discovery.service-id>
<spring.cloud.config.discovery.enabled>discovery.enabled: ${config-server-remote}</spring.cloud.config.discovery.enabled>
<!--log level-->
<logging.level.major.root>INFO</logging.level.major.root>
<logging.level.major.stdout>ERROR</logging.level.major.stdout>
<logging.level.minor.root>ERROR</logging.level.minor.root>
<logging.level.minor.stdout>ERROR</logging.level.minor.stdout>
</properties>
</profile>
</profiles>
<build>
<!--declares maven building resources-->
<resources>
<resource>
<directory>src/main/resources/</directory>
<filtering>true</filtering>
<includes>
<include>*.xml</include>
<include>*.yml</include>
<include>*.txt</include>
<include>**/*.xml</include>
<include>**/*.yml</include>
<include>**/*.ftl</include>
<include>**/*.groovy</include>
</includes>
</resource>
<resource>
<directory>src/main/resources/</directory>
<filtering>false</filtering>
<includes>
<include>**.json</include>
<include>log4jdbc.properties</include>
<include>**.datx</include>
<include>**.ipdb</include>
<include>**.properties</include>
<include>static/**</include>
<include>**/*.zip</include>
<include>**/*.docx</include>
<include>**/*.factories</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<!--<delimiters>-->
<!--<delimiter>@</delimiter>-->
<!--</delimiters>-->
<useDefaultDelimiters>false</useDefaultDelimiters>
<encoding>UTF-8</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>
</plugins>
</build>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/rockZhao/base-components.git
git@gitee.com:rockZhao/base-components.git
rockZhao
base-components
base-components
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385