150 lines
4.7 KiB
XML
150 lines
4.7 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">
|
||
<parent>
|
||
<artifactId>phm_parent</artifactId>
|
||
<groupId>com.cqu</groupId>
|
||
<version>0.0.1-SNAPSHOT</version>
|
||
</parent>
|
||
<modelVersion>4.0.0</modelVersion>
|
||
|
||
<artifactId>service</artifactId>
|
||
|
||
<!--此模块是子模块用于引入依赖,它下面还有子子模块
|
||
此模块里没有java代码,所以打包方式是pom-->
|
||
<packaging>pom</packaging>
|
||
<modules>
|
||
<module>service_device</module>
|
||
<module>service_data</module>
|
||
<module>service_data_interface</module>
|
||
</modules>
|
||
|
||
<properties>
|
||
<maven.compiler.source>8</maven.compiler.source>
|
||
<maven.compiler.target>8</maven.compiler.target>
|
||
</properties>
|
||
|
||
<dependencies>
|
||
|
||
<!--引入service-base、common-utils-->
|
||
<dependency>
|
||
<groupId>com.cqu</groupId>
|
||
<artifactId>service_base</artifactId>
|
||
<version>0.0.1-SNAPSHOT</version>
|
||
</dependency>
|
||
|
||
<!--暂时用不到,先注释掉,否则会报错-->
|
||
|
||
<!--<dependency>-->
|
||
<!-- <groupId>org.springframework.cloud</groupId>-->
|
||
<!-- <artifactId>spring-cloud-starter-netflix-ribbon</artifactId>-->
|
||
<!--</dependency>-->
|
||
|
||
<!--hystrix依赖,主要是用 @HystrixCommand -->
|
||
<!--<dependency>-->
|
||
<!-- <groupId>org.springframework.cloud</groupId>-->
|
||
<!-- <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>-->
|
||
<!--</dependency>-->
|
||
|
||
<!--服务注册-->
|
||
<dependency>
|
||
<groupId>org.springframework.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
||
</dependency>
|
||
<!--服务调用-->
|
||
<dependency>
|
||
<groupId>org.springframework.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-web</artifactId>
|
||
</dependency>
|
||
|
||
<!--mybatis-plus-->
|
||
<dependency>
|
||
<groupId>com.baomidou</groupId>
|
||
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||
</dependency>
|
||
|
||
<!--mysql-->
|
||
<dependency>
|
||
<groupId>mysql</groupId>
|
||
<artifactId>mysql-connector-java</artifactId>
|
||
<!-- <version>5.1.47</version>-->
|
||
</dependency>
|
||
|
||
<!-- velocity 模板引擎, Mybatis Plus 代码生成器需要 -->
|
||
<dependency>
|
||
<groupId>org.apache.velocity</groupId>
|
||
<artifactId>velocity-engine-core</artifactId>
|
||
</dependency>
|
||
|
||
<!--swagger(接口测试)-->
|
||
<dependency>
|
||
<groupId>io.springfox</groupId>
|
||
<artifactId>springfox-swagger2</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>io.springfox</groupId>
|
||
<artifactId>springfox-swagger-ui</artifactId>
|
||
</dependency>
|
||
|
||
<!--lombok用来简化实体类:需要安装lombok插件-->
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
</dependency>
|
||
|
||
<!--xls-->
|
||
<dependency>
|
||
<groupId>org.apache.poi</groupId>
|
||
<artifactId>poi</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.apache.poi</groupId>
|
||
<artifactId>poi-ooxml</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>commons-fileupload</groupId>
|
||
<artifactId>commons-fileupload</artifactId>
|
||
</dependency>
|
||
|
||
<!--httpclient-->
|
||
<dependency>
|
||
<groupId>org.apache.httpcomponents</groupId>
|
||
<artifactId>httpclient</artifactId>
|
||
</dependency>
|
||
<!--commons-io-->
|
||
<dependency>
|
||
<groupId>commons-io</groupId>
|
||
<artifactId>commons-io</artifactId>
|
||
</dependency>
|
||
<!--gson-->
|
||
<dependency>
|
||
<groupId>com.google.code.gson</groupId>
|
||
<artifactId>gson</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>junit</groupId>
|
||
<artifactId>junit</artifactId>
|
||
<version>4.12</version>
|
||
</dependency>
|
||
|
||
</dependencies>
|
||
|
||
<build>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
|
||
</project> |