| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212 |
- <?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.netflix</groupId>
- <artifactId>netflix</artifactId>
- <packaging>pom</packaging>
- <version>1.0</version>
- <description>netflix</description>
- <properties>
- <java.version>11</java.version>
- <spring.boot.version>2.4.3</spring.boot.version>
- <jackson.version>2.10.3</jackson.version>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <maven.compiler.source>11</maven.compiler.source>
- <maven.compiler.target>11</maven.compiler.target>
- </properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-dependencies</artifactId>
- <version>${spring.boot.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>com.netflix</groupId>
- <artifactId>netflix-web</artifactId>
- <version>1.0</version>
- </dependency>
- <dependency>
- <groupId>com.netflix</groupId>
- <artifactId>netflix-service</artifactId>
- <version>1.0</version>
- </dependency>
- <dependency>
- <groupId>com.netflix</groupId>
- <artifactId>netflix-dao</artifactId>
- <version>1.0</version>
- </dependency>
- <dependency>
- <groupId>com.netflix</groupId>
- <artifactId>netflix-common</artifactId>
- <version>1.0</version>
- </dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <version>1.18.12</version>
- </dependency>
- <!-- Sa-Token 整合 Redis (使用jackson序列化方式) -->
- <dependency>
- <groupId>cn.dev33</groupId>
- <artifactId>sa-token-dao-redis-jackson</artifactId>
- <version>1.26.0</version>
- </dependency>
- <!-- sa-token -->
- <dependency>
- <groupId>cn.dev33</groupId>
- <artifactId>sa-token-spring-boot-starter</artifactId>
- <version>1.26.0</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-actuator</artifactId>
- </dependency>
- <!-- mybatis plus -->
- <dependency>
- <groupId>com.baomidou</groupId>
- <artifactId>mybatis-plus-boot-starter</artifactId>
- <version>3.4.2</version>
- </dependency>
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>easyexcel</artifactId>
- <version>2.0.5</version>
- <!-- <exclusions>-->
- <!-- <exclusion>-->
- <!-- <groupId>okhttp</groupId>-->
- <!-- <artifactId>com.squareup.okhttp3</artifactId>-->
- <!-- </exclusion>-->
- <!-- <exclusion>-->
- <!-- <groupId>com.alibaba</groupId>-->
- <!-- <artifactId>fastjson</artifactId>-->
- <!-- </exclusion>-->
- <!-- </exclusions>-->
- </dependency>
- <!-- 提供redis连接池 -->
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-pool2</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-data-redis</artifactId>
- </dependency>
- <!-- SpringBoot / Grails 的项目直接使用以下依赖,更为方便(只添加这一个依赖即可) -->
- <dependency>
- <groupId>com.ejlchina</groupId>
- <artifactId>bean-searcher-boot-starter</artifactId>
- <version>3.8.0</version>
- </dependency>
- <!-- <dependency>-->
- <!-- <groupId>org.apache.httpcomponents</groupId>-->
- <!-- <artifactId>fluent-hc</artifactId>-->
- <!-- <version>4.5.6</version>-->
- <!-- </dependency>-->
- <!-- <dependency>-->
- <!-- <groupId>com.squareup.okhttp3</groupId>-->
- <!-- <artifactId>okhttp</artifactId>-->
- <!-- <version>4.5.0</version>-->
- <!-- </dependency>-->
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.8.1</version>
- <configuration>
- <source>${java.version}</source>
- <target>${java.version}</target>
- <encoding>${project.build.sourceEncoding}</encoding>
- <compilerArgument>-Xlint:unchecked</compilerArgument>
- </configuration>
- </plugin>
- </plugins>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <includes>
- <include>**/*</include>
- </includes>
- <filtering>true</filtering>
- </resource>
- </resources>
- <finalName>netflix</finalName>
- </build>
- <!-- profiles配置 -->
- <profiles>
- <profile>
- <id>dev</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <build>
- <filters>
- <filter>../deploy/vars/dev.properties</filter>
- </filters>
- </build>
- </profile>
- <profile>
- <id>prd</id>
- <build>
- <filters>
- <filter>../deploy/vars/prd.properties</filter>
- </filters>
- </build>
- </profile>
- </profiles>
- <modules>
- <module>netflix-common</module>
- <module>netflix-dao</module>
- <module>netflix-service</module>
- <module>netflix-web</module>
- </modules>
- </project>
|