|
@@ -0,0 +1,105 @@
|
|
|
|
+<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
|
+ <parent>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
+ <version>2.1.0.RELEASE</version>
|
|
|
|
+ <relativePath/> <!-- lookup parent from repository -->
|
|
|
|
+ </parent>
|
|
|
|
+ <groupId>com.fd</groupId>
|
|
|
|
+ <artifactId>air-conditioning</artifactId>
|
|
|
|
+ <version>0.0.1-SNAPSHOT</version>
|
|
|
|
+ <name>air</name>
|
|
|
|
+ <packaging>jar</packaging>
|
|
|
|
+ <description>Demo project for Spring Boot</description>
|
|
|
|
+
|
|
|
|
+ <properties>
|
|
|
|
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
+ <maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
|
|
|
|
+ <java.version>1.8</java.version>
|
|
|
|
+ <aliyun.core.version>4.0.3</aliyun.core.version>
|
|
|
|
+ <aliyun.dysmsapi.version>1.1.0</aliyun.dysmsapi.version>
|
|
|
|
+ </properties>
|
|
|
|
+
|
|
|
|
+ <dependencies>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.projectlombok</groupId>
|
|
|
|
+ <artifactId>lombok</artifactId>
|
|
|
|
+ <optional>true</optional>
|
|
|
|
+ </dependency>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
+ <!--<scope>test</scope>-->
|
|
|
|
+ </dependency>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>junit</groupId>
|
|
|
|
+ <artifactId>junit</artifactId>
|
|
|
|
+ <version>4.11</version>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <!-- Alibaba fastjson-->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>com.alibaba</groupId>
|
|
|
|
+ <artifactId>fastjson</artifactId>
|
|
|
|
+ <version>1.2.47</version>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <!--aliyun sdk-->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>com.aliyun</groupId>
|
|
|
|
+ <artifactId>aliyun-java-sdk-core</artifactId>
|
|
|
|
+ <version>${aliyun.core.version}</version>
|
|
|
|
+ </dependency>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>com.aliyun</groupId>
|
|
|
|
+ <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
|
|
|
|
+ <version>${aliyun.dysmsapi.version}</version>
|
|
|
|
+ </dependency>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>com.aliyun.oss</groupId>
|
|
|
|
+ <artifactId>aliyun-sdk-oss</artifactId>
|
|
|
|
+ <version>2.5.0</version>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ </dependencies>
|
|
|
|
+
|
|
|
|
+ <build>
|
|
|
|
+ <plugins>
|
|
|
|
+ <!--需要这样配置才能打包-->
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
+ <version>3.1</version>
|
|
|
|
+ <configuration>
|
|
|
|
+ <source>${java.version}</source>
|
|
|
|
+ <target>${java.version}</target>
|
|
|
|
+ </configuration>
|
|
|
|
+ </plugin>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
+ <executions>
|
|
|
|
+ <execution>
|
|
|
|
+ <goals>
|
|
|
|
+ <goal>repackage</goal>
|
|
|
|
+ </goals>
|
|
|
|
+ </execution>
|
|
|
|
+ </executions>
|
|
|
|
+ </plugin>
|
|
|
|
+ </plugins>
|
|
|
|
+ <!--jar default name -->
|
|
|
|
+ <finalName>air</finalName>
|
|
|
|
+ </build>
|
|
|
|
+
|
|
|
|
+</project>
|