321 lines
13 KiB
XML
321 lines
13 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">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.xiaoYao</groupId>
|
|
<artifactId>openApi</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
<properties>
|
|
<maven.compiler.source>17</maven.compiler.source>
|
|
<maven.compiler.target>17</maven.compiler.target>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<spring-boot.version>2.7.13</spring-boot.version>
|
|
|
|
</properties>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<description>车辆网关负载中心</description>
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<!-- springBoot 依赖配置 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
<version>${spring-boot.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
<dependencies>
|
|
<!-- SpringBoot Web-->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
</dependency>
|
|
<!-- redis依赖 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
</dependency>
|
|
<!-- lombok依赖 -->
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.alibaba.fastjson2</groupId>
|
|
<artifactId>fastjson2</artifactId>
|
|
<version>2.0.47</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-pool2</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 阿里云openAPI创建实例依赖 开始 -->
|
|
<dependency>
|
|
<groupId>com.aliyun</groupId>
|
|
<artifactId>ecs20140526</artifactId>
|
|
<version>3.1.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.aliyun</groupId>
|
|
<artifactId>tea-openapi</artifactId>
|
|
<version>0.3.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.aliyun</groupId>
|
|
<artifactId>tea-util</artifactId>
|
|
<version>0.2.21</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.aliyun</groupId>
|
|
<artifactId>darabonba-number</artifactId>
|
|
<version>0.0.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.aliyun</groupId>
|
|
<artifactId>tea-console</artifactId>
|
|
<version>0.0.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.aliyun</groupId>
|
|
<artifactId>darabonba-env</artifactId>
|
|
<version>0.1.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.aliyun</groupId>
|
|
<artifactId>tea</artifactId>
|
|
<version>1.1.14</version>
|
|
</dependency>
|
|
<!-- 阿里云openAPI创建实例依赖 结束 -->
|
|
|
|
|
|
<!-- 阿里云openAPI释放实例依赖 开始 -->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>com.aliyun</groupId>-->
|
|
<!-- <artifactId>tea-console</artifactId>-->
|
|
<!-- <version>0.0.1</version>-->
|
|
<!-- </dependency>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>com.aliyun</groupId>-->
|
|
<!-- <artifactId>darabonba-env</artifactId>-->
|
|
<!-- <version>0.1.1</version>-->
|
|
<!-- </dependency>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>com.aliyun</groupId>-->
|
|
<!-- <artifactId>tea-openapi</artifactId>-->
|
|
<!-- <version>0.0.11</version>-->
|
|
<!-- </dependency>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>com.aliyun</groupId>-->
|
|
<!-- <artifactId>ecs20140526</artifactId>-->
|
|
<!-- <version>1.0.1</version>-->
|
|
<!-- </dependency>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>com.aliyun</groupId>-->
|
|
<!-- <artifactId>tea-util</artifactId>-->
|
|
<!-- <version>0.2.10</version>-->
|
|
<!-- </dependency>-->
|
|
<dependency>
|
|
<groupId>com.aliyun</groupId>
|
|
<artifactId>darabonba-string</artifactId>
|
|
<version>0.0.3</version>
|
|
</dependency>
|
|
|
|
<!-- SpringBoot Actuator -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Swagger 依赖配置 -->
|
|
<dependency>
|
|
<groupId>io.swagger</groupId>
|
|
<artifactId>swagger-models</artifactId>
|
|
<version>1.6.2</version>
|
|
</dependency>
|
|
|
|
<!-- Mysql Connector -->
|
|
<dependency>
|
|
<groupId>com.mysql</groupId>
|
|
<artifactId>mysql-connector-j</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<!-- 阿里云openAPI创建实例插件 开始 -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.6.1</version>
|
|
<configuration>
|
|
<source>16</source>
|
|
<target>16</target>
|
|
</configuration>
|
|
<!-- <configuration>-->
|
|
<!-- <source>7</source>-->
|
|
<!-- <target>7</target>-->
|
|
<!-- </configuration>-->
|
|
</plugin>
|
|
<!-- <plugin>-->
|
|
<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
|
<!-- <artifactId>maven-gpg-plugin</artifactId>-->
|
|
<!-- <version>1.6</version>-->
|
|
<!-- <executions>-->
|
|
<!-- <execution>-->
|
|
<!-- <id>sign-artifacts</id>-->
|
|
<!-- <phase>verify</phase>-->
|
|
<!-- <goals>-->
|
|
<!-- <goal>sign</goal>-->
|
|
<!-- </goals>-->
|
|
<!-- </execution>-->
|
|
<!-- </executions>-->
|
|
<!-- </plugin>-->
|
|
<plugin>
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
<version>1.6.3</version>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<serverId>sonatype-nexus-staging</serverId>
|
|
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
|
|
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>3.1.1</version>
|
|
<configuration>
|
|
<encoding>UTF-8</encoding>
|
|
<doclint>none</doclint>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.22.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>2.4.1</version>
|
|
<configuration>
|
|
<descriptorRefs>
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
</descriptorRefs>
|
|
<archive>
|
|
<manifest>
|
|
<addClasspath>true</addClasspath>
|
|
<mainClass>com.aliyun.sample.Sample</mainClass>
|
|
</manifest>
|
|
</archive>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>make-assembly</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!-- 阿里云openAPI创建实例插件 结束 -->
|
|
|
|
|
|
<!-- 阿里云openAPI删除实例插件 开始 -->
|
|
<!-- <plugin>-->
|
|
<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
|
<!-- <artifactId>maven-compiler-plugin</artifactId>-->
|
|
<!-- <version>3.6.1</version>-->
|
|
<!-- <configuration>-->
|
|
<!-- <source>8</source>-->
|
|
<!-- <target>8</target>-->
|
|
<!-- </configuration>-->
|
|
<!-- </plugin>-->
|
|
<!-- <plugin>-->
|
|
<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
|
<!-- <artifactId>maven-gpg-plugin</artifactId>-->
|
|
<!-- <version>1.6</version>-->
|
|
<!-- <executions>-->
|
|
<!-- <execution>-->
|
|
<!-- <id>sign-artifacts</id>-->
|
|
<!-- <phase>verify</phase>-->
|
|
<!-- <goals>-->
|
|
<!-- <goal>sign</goal>-->
|
|
<!-- </goals>-->
|
|
<!-- </execution>-->
|
|
<!-- </executions>-->
|
|
<!-- </plugin>-->
|
|
<!-- <plugin>-->
|
|
<!-- <groupId>org.sonatype.plugins</groupId>-->
|
|
<!-- <artifactId>nexus-staging-maven-plugin</artifactId>-->
|
|
<!-- <version>1.6.3</version>-->
|
|
<!-- <extensions>true</extensions>-->
|
|
<!-- <configuration>-->
|
|
<!-- <serverId>sonatype-nexus-staging</serverId>-->
|
|
<!-- <nexusUrl>https://oss.sonatype.org/</nexusUrl>-->
|
|
<!-- <autoReleaseAfterClose>true</autoReleaseAfterClose>-->
|
|
<!-- </configuration>-->
|
|
<!-- </plugin>-->
|
|
<!-- <plugin>-->
|
|
<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
|
<!-- <artifactId>maven-javadoc-plugin</artifactId>-->
|
|
<!-- <version>3.1.1</version>-->
|
|
<!-- <configuration>-->
|
|
<!-- <encoding>UTF-8</encoding>-->
|
|
<!-- <doclint>none</doclint>-->
|
|
<!-- </configuration>-->
|
|
<!-- </plugin>-->
|
|
<!-- <plugin>-->
|
|
<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
|
<!-- <artifactId>maven-surefire-plugin</artifactId>-->
|
|
<!-- <version>2.22.1</version>-->
|
|
<!-- </plugin>-->
|
|
<!-- <plugin>-->
|
|
<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
|
<!-- <artifactId>maven-assembly-plugin</artifactId>-->
|
|
<!-- <version>2.4.1</version>-->
|
|
<!-- <configuration>-->
|
|
<!-- <descriptorRefs>-->
|
|
<!-- <descriptorRef>jar-with-dependencies</descriptorRef>-->
|
|
<!-- </descriptorRefs>-->
|
|
<!-- <archive>-->
|
|
<!-- <manifest>-->
|
|
<!-- <addClasspath>true</addClasspath>-->
|
|
<!-- <mainClass>com.aliyun.sample.Sample</mainClass>-->
|
|
<!-- </manifest>-->
|
|
<!-- </archive>-->
|
|
<!-- </configuration>-->
|
|
<!-- <executions>-->
|
|
<!-- <execution>-->
|
|
<!-- <id>make-assembly</id>-->
|
|
<!-- <phase>package</phase>-->
|
|
<!-- <goals>-->
|
|
<!-- <goal>single</goal>-->
|
|
<!-- </goals>-->
|
|
<!-- </execution>-->
|
|
<!-- </executions>-->
|
|
<!-- </plugin>-->
|
|
<!-- 阿里云openAPI删除实例插件 结束 -->
|
|
|
|
</plugins>
|
|
</build>
|
|
|
|
|
|
</project>
|