315 lines
11 KiB
XML
315 lines
11 KiB
XML
<?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.cmeim</groupId>
|
|
<artifactId>cmeim</artifactId>
|
|
<version>1.0.0</version>
|
|
|
|
<name>cmeim</name>
|
|
<description>重庆机电智能制造微服务系统</description>
|
|
|
|
<properties>
|
|
<cmeim.version>1.0.0</cmeim.version>
|
|
<cmeim-snapshot.version>1.0.0-SNAPSHOT</cmeim-snapshot.version>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<java.version>1.8</java.version>
|
|
<spring-boot.version>2.3.7.RELEASE</spring-boot.version>
|
|
<spring-cloud.version>Hoxton.SR9</spring-cloud.version>
|
|
<spring-cloud-alibaba.version>2.2.5.RELEASE</spring-cloud-alibaba.version>
|
|
<spring-kafka.version>2.5.10.RELEASE</spring-kafka.version>
|
|
<spring-boot-admin.version>2.3.1</spring-boot-admin.version>
|
|
<spring-boot.mybatis>2.1.4</spring-boot.mybatis>
|
|
<swagger.fox.version>2.9.2</swagger.fox.version>
|
|
<swagger.core.version>1.5.24</swagger.core.version>
|
|
<tobato.version>1.26.5</tobato.version>
|
|
<kaptcha.version>2.3.2</kaptcha.version>
|
|
<pagehelper.boot.version>1.3.0</pagehelper.boot.version>
|
|
<druid.version>1.2.4</druid.version>
|
|
<dynamic-ds.version>3.2.1</dynamic-ds.version>
|
|
<commons.io.version>2.5</commons.io.version>
|
|
<commons.fileupload.version>1.3.3</commons.fileupload.version>
|
|
<velocity.version>1.7</velocity.version>
|
|
<fastjson.version>1.2.75</fastjson.version>
|
|
<minio.version>8.0.3</minio.version>
|
|
<poi.version>4.1.2</poi.version>
|
|
<common-pool.version>2.6.2</common-pool.version>
|
|
</properties>
|
|
|
|
<!-- 依赖声明 -->
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
|
|
<!-- SpringCloud 微服务 -->
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-dependencies</artifactId>
|
|
<version>${spring-cloud.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
|
|
<!-- SpringCloud Alibaba 微服务 -->
|
|
<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>
|
|
|
|
<!-- SpringBoot 依赖配置 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
<version>${spring-boot.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
|
|
<!-- Kafka消息中间件 -->
|
|
<dependency>
|
|
<groupId>org.springframework.kafka</groupId>
|
|
<artifactId>spring-kafka</artifactId>
|
|
<version>${spring-kafka.version}</version>
|
|
</dependency>
|
|
|
|
<!-- SpringBoot 监控客户端 -->
|
|
<dependency>
|
|
<groupId>de.codecentric</groupId>
|
|
<artifactId>spring-boot-admin-starter-client</artifactId>
|
|
<version>${spring-boot-admin.version}</version>
|
|
</dependency>
|
|
|
|
<!-- FastDFS 分布式文件系统 -->
|
|
<dependency>
|
|
<groupId>com.github.tobato</groupId>
|
|
<artifactId>fastdfs-client</artifactId>
|
|
<version>${tobato.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Mybatis 依赖配置 -->
|
|
<dependency>
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
<version>${spring-boot.mybatis}</version>
|
|
</dependency>
|
|
|
|
<!-- Swagger 依赖配置 -->
|
|
<dependency>
|
|
<groupId>io.swagger</groupId>
|
|
<artifactId>swagger-models</artifactId>
|
|
<version>${swagger.core.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.swagger</groupId>
|
|
<artifactId>swagger-annotations</artifactId>
|
|
<version>${swagger.core.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 验证码 -->
|
|
<dependency>
|
|
<groupId>com.github.penggle</groupId>
|
|
<artifactId>kaptcha</artifactId>
|
|
<version>${kaptcha.version}</version>
|
|
</dependency>
|
|
|
|
<!-- pagehelper 分页插件 -->
|
|
<dependency>
|
|
<groupId>com.github.pagehelper</groupId>
|
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
|
<version>${pagehelper.boot.version}</version>
|
|
</dependency>
|
|
|
|
<!-- io常用工具类 -->
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>${commons.io.version}</version>
|
|
</dependency>
|
|
|
|
<!-- excel工具 -->
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi-ooxml</artifactId>
|
|
<version>${poi.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 文件上传工具类 -->
|
|
<dependency>
|
|
<groupId>commons-fileupload</groupId>
|
|
<artifactId>commons-fileupload</artifactId>
|
|
<version>${commons.fileupload.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 代码生成使用模板 -->
|
|
<dependency>
|
|
<groupId>org.apache.velocity</groupId>
|
|
<artifactId>velocity</artifactId>
|
|
<version>${velocity.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>commons-collections</groupId>
|
|
<artifactId>commons-collections</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- JSON 解析器和生成器 -->
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>fastjson</artifactId>
|
|
<version>${fastjson.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 公共资源池 -->
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-pool2</artifactId>
|
|
<version>${common-pool.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 核心模块 -->
|
|
<dependency>
|
|
<groupId>com.cmeim</groupId>
|
|
<artifactId>cmeim-common-core</artifactId>
|
|
<version>${cmeim-snapshot.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 接口模块 -->
|
|
<dependency>
|
|
<groupId>com.cmeim</groupId>
|
|
<artifactId>cmeim-common-swagger</artifactId>
|
|
<version>${cmeim.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 安全模块 -->
|
|
<dependency>
|
|
<groupId>com.cmeim</groupId>
|
|
<artifactId>cmeim-common-security</artifactId>
|
|
<version>${cmeim.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 权限范围 -->
|
|
<dependency>
|
|
<groupId>com.cmeim</groupId>
|
|
<artifactId>cmeim-common-datascope</artifactId>
|
|
<version>${cmeim.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 多数据源 -->
|
|
<dependency>
|
|
<groupId>com.cmeim</groupId>
|
|
<artifactId>cmeim-common-datasource</artifactId>
|
|
<version>${cmeim.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 日志记录 -->
|
|
<dependency>
|
|
<groupId>com.cmeim</groupId>
|
|
<artifactId>cmeim-common-log</artifactId>
|
|
<version>${cmeim.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 缓存服务 -->
|
|
<dependency>
|
|
<groupId>com.cmeim</groupId>
|
|
<artifactId>cmeim-common-redis</artifactId>
|
|
<version>${cmeim.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 系统接口 -->
|
|
<dependency>
|
|
<groupId>com.cmeim</groupId>
|
|
<artifactId>cmeim-api-system</artifactId>
|
|
<version>${cmeim-snapshot.version}</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<!--
|
|
<modules>
|
|
<module>cmeim-auth</module>
|
|
<module>cmeim-gateway</module>
|
|
<module>cmeim-visual</module>
|
|
<module>cmeim-modules</module>
|
|
<module>cmeim-api</module>
|
|
<module>cmeim-common</module>
|
|
</modules>
|
|
-->
|
|
<packaging>pom</packaging>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-commons</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>cmeim-maven</id>
|
|
<name>cmeim-alimaven</name>
|
|
<url>http://dev.cme-im.com/nexus/repository/maven-public/</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
<updatePolicy>always</updatePolicy>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>maven-releases</id>
|
|
<name>Release Repository</name>
|
|
<url>http://dev.cme-im.com/nexus/repository/maven-releases/</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>maven-snapshots</id>
|
|
<name>Snapshot Repository</name>
|
|
<url>http://dev.cme-im.com/nexus/repository/maven-snapshots/</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
|
|
<build>
|
|
<plugins>
|
|
<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.sonarsource.scanner.maven</groupId>
|
|
<artifactId>sonar-maven-plugin</artifactId>
|
|
<version>3.6.0.1398</version>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<profiles>
|
|
<profile>
|
|
<id>sonar</id>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
<properties>
|
|
<sonar.host.url>http://124.70.72.146:9000</sonar.host.url>
|
|
<sonar.login>853d2b24f6fd1da4a5061a78adfe3f6aaab681a8</sonar.login>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project>
|