You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
80 lines
3.0 KiB
80 lines
3.0 KiB
<?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.daqing.framework</groupId> |
|
<artifactId>dq-framework-common</artifactId> |
|
<version>1.0-SNAPSHOT</version> |
|
<description>每一个微服务公共的依赖</description> |
|
<build> |
|
<plugins> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-compiler-plugin</artifactId> |
|
<configuration> |
|
<source>7</source> |
|
<target>7</target> |
|
</configuration> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
<dependencies> |
|
<!--导入mysql驱动--> |
|
<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java --> |
|
<dependency> |
|
<groupId>mysql</groupId> |
|
<artifactId>mysql-connector-java</artifactId> |
|
<version>8.0.17</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>com.baomidou</groupId> |
|
<artifactId>mybatis-plus-boot-starter</artifactId> |
|
<version>3.3.1</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.projectlombok</groupId> |
|
<artifactId>lombok</artifactId> |
|
<version>1.18.12</version> |
|
</dependency> |
|
<!--<scope>provided</scope> 设置成目标环境已存在,打包的时候不会带上这个jar--> |
|
<dependency> |
|
<groupId>javax.servlet</groupId> |
|
<artifactId>servlet-api</artifactId> |
|
<version>2.5</version> |
|
<scope>provided</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework</groupId> |
|
<artifactId>spring-web</artifactId> |
|
<version>5.2.8.RELEASE</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>com.google.guava</groupId> |
|
<artifactId>guava</artifactId> |
|
<version>24.0-jre</version> |
|
</dependency> |
|
<!--服务注册/发现--> |
|
<dependency> |
|
<groupId>com.alibaba.cloud</groupId> |
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId> |
|
</dependency> |
|
<!--配置中心来做配置管理--> |
|
<dependency> |
|
<groupId>com.alibaba.cloud</groupId> |
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId> |
|
</dependency> |
|
</dependencies> |
|
|
|
<dependencyManagement> |
|
<dependencies> |
|
<dependency> |
|
<groupId>com.alibaba.cloud</groupId> |
|
<artifactId>spring-cloud-alibaba-dependencies</artifactId> |
|
<version>2.1.0.RELEASE</version> |
|
<type>pom</type> |
|
<scope>import</scope> |
|
</dependency> |
|
</dependencies> |
|
</dependencyManagement> |
|
</project> |