123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230 |
- <?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">
- <parent>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-parent</artifactId>
- <version>2.3.0.RELEASE</version>
- <relativePath/> <!-- lookup parent from repository -->
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>com.gct.system</groupId>
- <artifactId>microarch_bg_system</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- <name>microarch_bg_system</name>
- <description>系统管理服务</description>
- <properties>
- <java.version>1.8</java.version>
- </properties>
- <dependencies>
- <!--common核心包依赖-->
- <dependency>
- <groupId>com.gct.common.core</groupId>
- <artifactId>common-core</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
- <!--common 安全包-->
- <dependency>
- <groupId>com.gct.common.security</groupId>
- <artifactId>common-security</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
- <!--nocas 注册中心依赖-->
- <dependency>
- <groupId>com.alibaba.cloud</groupId>
- <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
- </dependency>
- <!--sentinel依赖-->
- <!-- <dependency>
- <groupId>com.alibaba.cloud</groupId>
- <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
- </dependency>
- <!–actuator 流量收集 使用sentinel的前提–>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-actuator</artifactId>
- </dependency>-->
- <!--web 依赖-->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- </dependency>
- <!--lombok-->
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </dependency>
- <!--mybatis-plus-->
- <!--<dependency>-->
- <!--<groupId>com.baomidou</groupId>-->
- <!--<artifactId>mybatis-plus-boot-starter</artifactId>-->
- <!--<version>3.3.1</version>-->
- <!--</dependency>-->
- <!--mybatis-plus 关联查询工具-->
- <!-- <dependency>
- <groupId>com.github.dreamyoung</groupId>
- <artifactId>mprelation</artifactId>
- <version>0.0.3.1-RELEASE</version>
- </dependency>-->
- <!--这个必须引用 因为使用mybatis-plus localdatatime问题-->
- <!-- https://mvnrepository.com/artifact/org.mybatis/mybatis-typehandlers-jsr310 -->
- <!--<dependency>-->
- <!--<groupId>org.mybatis</groupId>-->
- <!--<artifactId>mybatis-typehandlers-jsr310</artifactId>-->
- <!--<version>1.0.2</version>-->
- <!--</dependency>-->
- <!--代码生成模式插件 3.0.3以后需要手动设置依赖-->
- <!--<dependency>-->
- <!--<groupId>com.baomidou</groupId>-->
- <!--<artifactId>mybatis-plus-generator</artifactId>-->
- <!--<version>3.3.1.tmp</version>-->
- <!--</dependency>-->
- <!--代码生成模板-->
- <!--<dependency>-->
- <!--<groupId>org.apache.velocity</groupId>-->
- <!--<artifactId>velocity-engine-core</artifactId>-->
- <!--<version>2.2</version>-->
- <!--</dependency>-->
- <!--mybatis 依赖 mybatis-plus内置mybatis 这里不用引用-->
- <!-- <dependency>
- <groupId>org.mybatis.spring.boot</groupId>
- <artifactId>mybatis-spring-boot-starter</artifactId>
- <version>2.1.1</version>
- </dependency>-->
- <!-- 与数据库操作相关依赖 -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-jdbc</artifactId>
- </dependency>
- <!-- postgresql -->
- <!-- https://mvnrepository.com/artifact/org.postgresql/postgresql -->
- <dependency>
- <groupId>org.postgresql</groupId>
- <artifactId>postgresql</artifactId>
- <version>42.2.18</version>
- </dependency>
- <!--swagger-->
- <!--<dependency>-->
- <!--<groupId>com.spring4all</groupId>-->
- <!--<artifactId>swagger-spring-boot-starter</artifactId>-->
- <!--<version>1.9.1.RELEASE</version>-->
- <!--</dependency>-->
- <!--文件上传相关-->
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>2.8.0</version>
- </dependency>
- <!-- spring security -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-security</artifactId>
- </dependency>
- <!-- jwt -->
- <!--<dependency>-->
- <!--<groupId>io.jsonwebtoken</groupId>-->
- <!--<artifactId>jjwt</artifactId>-->
- <!--<version>0.9.1</version>-->
- <!--</dependency>-->
- <!-- spring aop -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-aop</artifactId>
- </dependency>
- <!-- commons-beanutils -->
- <dependency>
- <groupId>commons-beanutils</groupId>
- <artifactId>commons-beanutils</artifactId>
- <version>1.9.3</version>
- </dependency>
- <!-- poi -->
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi-ooxml</artifactId>
- <version>4.0.1</version>
- </dependency>
- <!--junit测试-->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-validation</artifactId>
- </dependency>
- <dependency>
- <groupId>com.alibaba.cloud</groupId>
- <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
- </dependency>
- <!-- <dependency>
- <groupId>com.alibaba.csp</groupId>
- <artifactId>sentinel-datasource-nacos</artifactId>
- </dependency>-->
- <dependency>
- <groupId>com.alibaba.cloud</groupId>
- <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
- </dependency>
- </dependencies>
- <dependencyManagement>
- <dependencies>
- <!-- Spring Cloud Hoxton -->
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-dependencies</artifactId>
- <version>Hoxton.SR3</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <!-- Spring Cloud Alibaba -->
- <dependency>
- <groupId>com.alibaba.cloud</groupId>
- <artifactId>spring-cloud-alibaba-dependencies</artifactId>
- <version>2.2.1.RELEASE</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <build>
- <resources>
- <resource>
- <directory>src/main/java</directory>
- <excludes>
- <exclude>**/*.java</exclude>
- </excludes>
- </resource>
- <resource>
- <directory>src/main/resources</directory>
- <includes>
- <include>**/*.*</include>
- </includes>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- </plugin>
- <!-- 打包过程忽略Junit测试 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </project>
|