3 Star 14 Fork 16

soler/opencee-platform-parent

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pom.xml 9.66 KB
一键复制 编辑 原始数据 按行查看 历史
soler 提交于 2022-10-20 00:23 +08:00 . 1.增加工具服务
<?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>
<groupId>com.opencee</groupId>
<artifactId>opencee-platform-parent</artifactId>
<version>1.0.0</version>
<packaging>pom</packaging>
<modules>
<module>api-gateway</module>
<module>opencee-uaa</module>
<module>opencee-base</module>
<module>opencee-bpm</module>
<module>opencee-tools</module>
<!-- <module>opencee-msg</module>-->
</modules>
<properties>
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
<maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
<maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
<maven-source-plugin.version>3.0.1</maven-source-plugin.version>
<maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version>
<maven-assembly-plugin.version>3.1.0</maven-assembly-plugin.version>
<maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
<maven-dockerfile-plugin.version>1.4.13</maven-dockerfile-plugin.version>
<maven-spring-boot-plugin.version>2.1.6.RELEASE</maven-spring-boot-plugin.version>
<!--镜像前缀-->
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.opencee</groupId>
<artifactId>opencee-spring-cloud-dependencies</artifactId>
<version>1.0.0-SNAPSHOT</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<!-- 插件管理,可供子项目继承 -->
<pluginManagement>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${maven-spring-boot-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- docker打包插件 -->
<plugin>
<groupId>com.spotify</groupId>
<artifactId>dockerfile-maven-plugin</artifactId>
<version>${maven-dockerfile-plugin.version}</version>
</plugin>
<!--maven deploy 忽略发布插件-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${maven-deploy-plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.yml</include>
<include>**/*.xml</include>
<include>**/*.tld</include>
<include>**/*.doc</include>
</includes>
<filtering>true</filtering>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
<excludes>
<exclude>**/*.properties</exclude>
<exclude>**/*.yml</exclude>
<exclude>**/*.xml</exclude>
<exclude>**/*.tld</exclude>
<exclude>**/*.doc</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<!--打包跳过测试-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
</plugins>
</build>
<!-- 环境 -->
<profiles>
<!-- 本地 -->
<profile>
<id>local</id>
<activation>
<!--默认激活配置-->
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<!--当前环境-->
<profile.name>local</profile.name>
<!--Nacos配置中心地址-->
<config.server-addr>127.0.0.1:8848</config.server-addr>
<!--Nacos配置中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空-->
<config.namespace></config.namespace>
<!--Nacos注册中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空-->
<discovery.namespace></discovery.namespace>
<!--Nacos服务发现地址-->
<discovery.server-addr>127.0.0.1:8848</discovery.server-addr>
<!--由于服务器可能存在多张网卡,造成IP地址不准的问题。 注册指定ip或ip端-->
<spring.cloud.inetutils.preferred-networks></spring.cloud.inetutils.preferred-networks>
<!-- docker注册前缀 -->
<docker.registry.prefix></docker.registry.prefix>
<!-- docker注册前缀 -->
<docker.username></docker.username>
<!-- docker注册前缀 -->
<docker.password></docker.password>
</properties>
</profile>
<!-- 开发 -->
<profile>
<id>dev</id>
<properties>
<!--当前环境-->
<profile.name>dev</profile.name>
<!--Nacos配置中心地址-->
<config.server-addr>192.168.31.88:8848</config.server-addr>
<!--Nacos配置中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空-->
<config.namespace>c1d9c408-36d5-4389-a017-0451f8ff3217</config.namespace>
<!--Nacos注册中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空-->
<discovery.namespace>c1d9c408-36d5-4389-a017-0451f8ff3217</discovery.namespace>
<!--Nacos服务发现地址-->
<discovery.server-addr>192.168.31.88:8848</discovery.server-addr>
<!--由于服务器可能存在多张网卡,造成IP地址不准的问题。 注册指定ip或ip端-->
<spring.cloud.inetutils.preferred-networks></spring.cloud.inetutils.preferred-networks>
<!-- docker注册前缀 -->
<docker.registry.prefix></docker.registry.prefix>
<!-- docker注册前缀 -->
<docker.username></docker.username>
<!-- docker注册前缀 -->
<docker.password></docker.password>
</properties>
</profile>
<!-- 测试 -->
<profile>
<id>test</id>
<properties>
<!--当前环境-->
<profile.name>test</profile.name>
<!--Nacos配置中心地址-->
<config.server-addr>10.8.0.4:8848</config.server-addr>
<!--Nacos配置中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空-->
<config.namespace></config.namespace>
<!--Nacos注册中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空-->
<discovery.namespace></discovery.namespace>
<!--Nacos服务发现地址-->
<discovery.server-addr>10.8.0.4:8848</discovery.server-addr>
<!--由于服务器可能存在多张网卡,造成IP地址不准的问题。 注册指定ip或ip端-->
<spring.cloud.inetutils.preferred-networks>10.8.0</spring.cloud.inetutils.preferred-networks>
<!-- docker注册前缀 -->
<docker.registry.prefix></docker.registry.prefix>
<!-- docker注册前缀 -->
<docker.username></docker.username>
<!-- docker注册前缀 -->
<docker.password></docker.password>
</properties>
</profile>
</profiles>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/liuyadu_open/opencee-platform-parent.git
git@gitee.com:liuyadu_open/opencee-platform-parent.git
liuyadu_open
opencee-platform-parent
opencee-platform-parent
master

搜索帮助