加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 17.76 KB
一键复制 编辑 原始数据 按行查看 历史
<?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.huaweicloud</groupId>
<artifactId>saaslanding</artifactId>
<packaging>pom</packaging>
<version>1.0.0</version>
<modules>
<module>saaslanding-gateway</module>
<module>saaslanding-order</module>
<module>saaslanding-tenant</module>
<module>saaslanding-authority</module>
<module>saaslanding-product</module>
<module>saaslanding-deployment</module>
<module>saaslanding-upgrade</module>
<module>saaslanding-integrated</module>
<module>saaslanding-maintenance</module>
<module>saaslanding-log</module>
<module>saaslanding-auth</module>
<module>saaslanding-measurement</module>
<module>saaslanding-operation</module>
<module>saaslanding-job</module>
</modules>
<name>${project.artifactId}</name>
<description>saaslanding</description>
<properties>
<saaslanding-util.version>1.0.0</saaslanding-util.version>
<!-- jdk8 将这里改成 8 -->
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.huaweicloud</groupId>
<artifactId>saaslanding-dependency</artifactId>
<version>${saaslanding-util.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.huaweicloud</groupId>
<artifactId>saaslanding-core</artifactId>
<version>${saaslanding-util.version}</version>
</dependency>
<dependency>
<groupId>com.huaweicloud</groupId>
<artifactId>saaslanding-database</artifactId>
<version>${saaslanding-util.version}</version>
</dependency>
<dependency>
<groupId>com.huaweicloud</groupId>
<artifactId>saaslanding-nacos-starter</artifactId>
<version>${saaslanding-util.version}</version>
</dependency>
<dependency>
<groupId>com.huaweicloud</groupId>
<artifactId>saaslanding-cse-starter</artifactId>
<version>${saaslanding-util.version}</version>
</dependency>
<dependency>
<groupId>com.huaweicloud</groupId>
<artifactId>dcs</artifactId>
<version>${saaslanding-util.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.huaweicloud</groupId>
<artifactId>cce</artifactId>
<version>${saaslanding-util.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.huaweicloud</groupId>
<artifactId>cse</artifactId>
<version>${saaslanding-util.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.huaweicloud</groupId>
<artifactId>nacos</artifactId>
<version>${saaslanding-util.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.huaweicloud</groupId>
<artifactId>smn</artifactId>
<version>${saaslanding-util.version}</version>
<scope>compile</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- io.netty:解决配置项刷新问题 -->
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport-classes-epoll</artifactId>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport-classes-kqueue</artifactId>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport-native-unix-common</artifactId>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport-native-kqueue</artifactId>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport-native-epoll</artifactId>
</dependency>
<!-- io.netty:end -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<exclusions><!--这个里面原来引入的是1.2.4依赖的,排除之后引入了下面的1.2.11-->
<exclusion>
<artifactId>log4j-to-slf4j</artifactId>
<groupId>org.apache.logging.log4j</groupId>
</exclusion>
<exclusion>
<artifactId>spring-boot-starter-tomcat</artifactId>
<groupId>org.springframework.boot</groupId>
</exclusion>
<exclusion>
<artifactId>logback-classic</artifactId>
<groupId>ch.qos.logback</groupId>
</exclusion>
<exclusion>
<artifactId>spring-context</artifactId>
<groupId>org.springframework</groupId>
</exclusion>
<exclusion>
<artifactId>spring-core</artifactId>
<groupId>org.springframework</groupId>
</exclusion>
<exclusion>
<artifactId>spring-web</artifactId>
<groupId>org.springframework</groupId>
</exclusion>
<exclusion>
<artifactId>spring-webmvc</artifactId>
<groupId>org.springframework</groupId>
</exclusion>
</exclusions>
</dependency>
<!--校验参数注解 springBoot2.3.0以后版本中不包含validation了-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
<!-- 必须有这个jar 才能提示 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<!-- 在微服务应用中需要引入 实现服务注册发现、集中配置管理、服务治理 -->
<dependency>
<groupId>com.huaweicloud</groupId>
<artifactId>spring-cloud-starter-huawei-service-engine</artifactId>
<exclusions>
<exclusion>
<artifactId>spring-plugin-core</artifactId>
<groupId>org.springframework.plugin</groupId>
</exclusion>
<exclusion>
<artifactId>spring-plugin-metadata</artifactId>
<groupId>org.springframework.plugin</groupId>
</exclusion>
<exclusion>
<artifactId>feign-core</artifactId>
<groupId>io.github.openfeign</groupId>
</exclusion>
<exclusion>
<artifactId>spring-context</artifactId>
<groupId>org.springframework</groupId>
</exclusion>
<exclusion>
<artifactId>spring-beans</artifactId>
<groupId>org.springframework</groupId>
</exclusion>
<exclusion>
<artifactId>spring-core</artifactId>
<groupId>org.springframework</groupId>
</exclusion>
<exclusion>
<artifactId>spring-web</artifactId>
<groupId>org.springframework</groupId>
</exclusion>
<exclusion>
<artifactId>spring-webmvc</artifactId>
<groupId>org.springframework</groupId>
</exclusion>
<exclusion>
<artifactId>netty-tcnative-boringssl-static</artifactId>
<groupId>io.netty</groupId>
</exclusion>
<exclusion>
<artifactId>netty-buffer</artifactId>
<groupId>io.netty</groupId>
</exclusion>
<exclusion>
<artifactId>netty-codec-socks</artifactId>
<groupId>io.netty</groupId>
</exclusion>
<exclusion>
<artifactId>netty-codec-http</artifactId>
<groupId>io.netty</groupId>
</exclusion>
<exclusion>
<artifactId>netty-codec-http2</artifactId>
<groupId>io.netty</groupId>
</exclusion>
<exclusion>
<artifactId>netty-handler</artifactId>
<groupId>io.netty</groupId>
</exclusion>
<exclusion>
<artifactId>netty-common</artifactId>
<groupId>io.netty</groupId>
</exclusion>
<exclusion>
<artifactId>netty-handler-proxy</artifactId>
<groupId>io.netty</groupId>
</exclusion>
<exclusion>
<artifactId>netty-resolver</artifactId>
<groupId>io.netty</groupId>
</exclusion>
<exclusion>
<artifactId>netty-codec</artifactId>
<groupId>io.netty</groupId>
</exclusion>
<exclusion>
<artifactId>netty-resolver-dns</artifactId>
<groupId>io.netty</groupId>
</exclusion>
<exclusion>
<artifactId>netty-transport</artifactId>
<groupId>io.netty</groupId>
</exclusion>
<exclusion>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-serialization-hessian2</artifactId>
</exclusion>
<exclusion>
<artifactId>spring-cloud-starter-huawei-jasypt</artifactId>
<groupId>com.huaweicloud</groupId>
</exclusion>
<exclusion>
<artifactId>javax.servlet-api</artifactId>
<groupId>javax.servlet</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<artifactId>netty-buffer</artifactId>
<exclusions>
<exclusion>
<artifactId>netty-common</artifactId>
<groupId>io.netty</groupId>
</exclusion>
</exclusions>
<groupId>io.netty</groupId>
</dependency>
<dependency>
<artifactId>netty-codec-http</artifactId>
<groupId>io.netty</groupId>
</dependency>
<dependency>
<artifactId>netty-codec-http2</artifactId>
<groupId>io.netty</groupId>
</dependency>
<dependency>
<artifactId>netty-common</artifactId>
<groupId>io.netty</groupId>
</dependency>
<dependency>
<artifactId>netty-handler</artifactId>
<groupId>io.netty</groupId>
</dependency>
<dependency>
<artifactId>netty-handler-proxy</artifactId>
<groupId>io.netty</groupId>
<exclusions>
<exclusion>
<artifactId>netty-codec-socks</artifactId>
<groupId>io.netty</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<artifactId>netty-resolver</artifactId>
<groupId>io.netty</groupId>
</dependency>
<dependency>
<artifactId>netty-resolver-dns</artifactId>
<groupId>io.netty</groupId>
</dependency>
<dependency>
<artifactId>netty-transport</artifactId>
<groupId>io.netty</groupId>
</dependency>
<!-- end: 在微服务应用中需要引入 实现服务注册发现、集中配置管理、服务治理 -->
<!-- 加密组件 -->
<dependency>
<groupId>com.github.ulisesbocchio</groupId>
<artifactId>jasypt-spring-boot-starter</artifactId>
</dependency>
<!--spring-boot-starter-test-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>spring-core</artifactId>
<groupId>org.springframework</groupId>
</exclusion>
<exclusion>
<artifactId>spring-test</artifactId>
<groupId>org.springframework</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.huaweicloud</groupId>
<artifactId>saaslanding-core</artifactId>
</dependency>
<dependency>
<groupId>com.huaweicloud</groupId>
<artifactId>saaslanding-nacos-starter</artifactId>
</dependency>
<dependency>
<groupId>com.huaweicloud</groupId>
<artifactId>saaslanding-cse-starter</artifactId>
</dependency>
<dependency>
<artifactId>tomcat-embed-core</artifactId>
<groupId>org.apache.tomcat.embed</groupId>
</dependency>
<dependency>
<artifactId>tomcat-embed-el</artifactId>
<groupId>org.apache.tomcat.embed</groupId>
</dependency>
<dependency>
<artifactId>tomcat-embed-websocket</artifactId>
<groupId>org.apache.tomcat.embed</groupId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</dependency>
<dependency>
<groupId>net.logstash.logback</groupId>
<artifactId>logstash-logback-encoder</artifactId>
</dependency>
<!--Lombok-->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
</dependency>
</dependencies>
<profiles>
<!-- 开发环境 -->
<profile>
<id>dev</id>
<properties>
<profile.active>dev</profile.active>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<!-- 生产环境-->
<profile>
<id>prod</id>
<properties>
<profile.active>prod</profile.active>
</properties>
</profile>
</profiles>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.6.2</version>
<executions>
<execution>
<id>repackage</id>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<showWarnings>true</showWarnings>
<showDeprecation>true</showDeprecation>
<compilerArgs>
<arg>-Xlint:all,-processing</arg>
<arg>-J-Dfile.encoding=UTF-8</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化