401 lines
15 KiB
XML
401 lines
15 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>
|
|
<groupId>com.freedom</groupId>
|
|
<artifactId>megatron</artifactId>
|
|
<version>3.0.0</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>com.bocloud</groupId>
|
|
<artifactId>bocloud.mcs.booter</artifactId>
|
|
<version>${bocloud.booter.version}</version>
|
|
<name>bocloud.mcs</name>
|
|
<description>BoCloud Exporter</description>
|
|
<properties>
|
|
<java.version>21</java.version>
|
|
<bocloud.boot.common.version>6.5.0-LTS</bocloud.boot.common.version>
|
|
<commons-dbutils.version>1.7</commons-dbutils.version>
|
|
<prometheus.version>0.6.0</prometheus.version>
|
|
<openstack4j.version>3.2.0</openstack4j.version>
|
|
<oracle.version>11.2.0.3</oracle.version>
|
|
<huawei.version>3.0.30-rc</huawei.version>
|
|
<vijava.version>6.5.1</vijava.version>
|
|
<log4j.version>1.2.17</log4j.version>
|
|
<snmp4j.version>2.5.11</snmp4j.version>
|
|
<dom4j.version>2.1.1</dom4j.version>
|
|
<aliyun.cms20190101.version>1.0.1</aliyun.cms20190101.version>
|
|
<aliyun.tea.version>1.2.0</aliyun.tea.version>
|
|
<baidubce.version>0.10.192</baidubce.version>
|
|
<awssdk.version>2.15.35</awssdk.version>
|
|
<okhttp-version>4.9.2</okhttp-version>
|
|
</properties>
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.ksyun</groupId>
|
|
<artifactId>ksc-sdk-java-bom</artifactId>
|
|
<version>0.3.31</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
<dependencies>
|
|
<!--for spring boot 3-->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>2.0.7</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents.client5</groupId>
|
|
<artifactId>httpclient5</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jdk.tools</groupId>
|
|
<artifactId>jdk.tools</artifactId>
|
|
<version>1.6</version>
|
|
</dependency>
|
|
<!-- zstack 依赖-->
|
|
<dependency>
|
|
<groupId>com.zstack</groupId>
|
|
<artifactId>zstack.sdk</artifactId>
|
|
<version>4.4.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.smartx.tower</groupId>
|
|
<artifactId>cloudtower-java-sdk</artifactId>
|
|
<version>2.8.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.threeten</groupId>
|
|
<artifactId>threetenbp</artifactId>
|
|
<version>1.5.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.gsonfire</groupId>
|
|
<artifactId>gson-fire</artifactId>
|
|
<version>1.8.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
<artifactId>okhttp</artifactId>
|
|
<version>${okhttp-version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
<artifactId>logging-interceptor</artifactId>
|
|
<version>${okhttp-version}</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.libvirt/libvirt -->
|
|
<dependency>
|
|
<groupId>org.libvirt</groupId>
|
|
<artifactId>libvirt</artifactId>
|
|
<version>0.5.3.bocloud</version>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/net.java.dev.jna/jna -->
|
|
<dependency>
|
|
<groupId>org.jsoup</groupId>
|
|
<artifactId>jsoup</artifactId>
|
|
<version>1.13.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.freedom</groupId>
|
|
<artifactId>megatron.microservice</artifactId>
|
|
<version>3.0.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.freedom</groupId>
|
|
<artifactId>megatron.framework</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.freedom</groupId>
|
|
<artifactId>megatron.common</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.bocloud</groupId>
|
|
<artifactId>bocloud.boot.common</artifactId>
|
|
<version>${bocloud.boot.common.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>${jackson.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
|
<artifactId>jackson-dataformat-yaml</artifactId>
|
|
<version>${jackson.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.prometheus</groupId>
|
|
<artifactId>simpleclient</artifactId>
|
|
<version>${prometheus.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.prometheus</groupId>
|
|
<artifactId>simpleclient_common</artifactId>
|
|
<version>${prometheus.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.pacesys</groupId>
|
|
<artifactId>openstack4j</artifactId>
|
|
<version>${openstack4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.oracle</groupId>
|
|
<artifactId>ojdbc6</artifactId>
|
|
<version>${oracle.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-dbutils</groupId>
|
|
<artifactId>commons-dbutils</artifactId>
|
|
<version>${commons-dbutils.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.bocloud</groupId>
|
|
<artifactId>bocloud.vijava</artifactId>
|
|
<version>${vijava.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
<version>${log4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.dom4j</groupId>
|
|
<artifactId>dom4j</artifactId>
|
|
<version>${dom4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.snmp4j</groupId>
|
|
<artifactId>snmp4j</artifactId>
|
|
<version>${snmp4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.huaweicloud.sdk</groupId>
|
|
<artifactId>huaweicloud-sdk-ecs</artifactId>
|
|
<version>${huawei.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.huaweicloud.sdk</groupId>
|
|
<artifactId>huaweicloud-sdk-iam</artifactId>
|
|
<version>${huawei.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.aliyun</groupId>
|
|
<artifactId>cms20190101</artifactId>
|
|
<version>${aliyun.cms20190101.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.aliyun</groupId>
|
|
<artifactId>tea</artifactId>
|
|
<version>${aliyun.tea.version}</version>
|
|
</dependency>
|
|
<!-- baidu -->
|
|
<dependency>
|
|
<groupId>com.baidubce</groupId>
|
|
<artifactId>bce-java-sdk</artifactId>
|
|
<version>${baidubce.version}</version>
|
|
</dependency>
|
|
<!-- aws -->
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>cloudwatch-metric-publisher</artifactId>
|
|
<version>${awssdk.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>ec2</artifactId>
|
|
<version>${awssdk.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.huaweicloud.sdk</groupId>
|
|
<artifactId>huaweicloud-sdk-ecs</artifactId>
|
|
<version>${huawei.version}</version>
|
|
</dependency>
|
|
<!-- 华为云 -->
|
|
<dependency>
|
|
<groupId>com.huaweicloud.sdk</groupId>
|
|
<artifactId>huaweicloud-sdk-ces</artifactId>
|
|
<version>${huawei.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.huaweicloud.sdk</groupId>
|
|
<artifactId>huaweicloud-sdk-iam</artifactId>
|
|
<version>${huawei.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.huaweicloud.sdk</groupId>
|
|
<artifactId>huaweicloud-sdk-rds</artifactId>
|
|
<version>${huawei.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.huaweicloud.sdk</groupId>
|
|
<artifactId>huaweicloud-sdk-as</artifactId>
|
|
<version>${huawei.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.huaweicloud.sdk</groupId>
|
|
<artifactId>huaweicloud-sdk-eip</artifactId>
|
|
<version>${huawei.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.huaweicloud.sdk</groupId>
|
|
<artifactId>huaweicloud-sdk-evs</artifactId>
|
|
<version>${huawei.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.huaweicloud.sdk</groupId>
|
|
<artifactId>huaweicloud-sdk-nat</artifactId>
|
|
<version>${huawei.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.huaweicloud.sdk</groupId>
|
|
<artifactId>huaweicloud-sdk-elb</artifactId>
|
|
<version>${huawei.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.aspectj</groupId>
|
|
<artifactId>aspectjweaver</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.moandjiezana.toml</groupId>
|
|
<artifactId>toml4j</artifactId>
|
|
<version>0.7.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.aliyun</groupId>
|
|
<artifactId>asapi</artifactId>
|
|
<version>1.0.6.7-RELEASE</version>
|
|
<classifier>RELEASE</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.aliyun</groupId>
|
|
<artifactId>gmsse</artifactId>
|
|
<version>1.1.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.ksyun</groupId>
|
|
<artifactId>ksyun-java-sdk</artifactId>
|
|
<version>1.0.6</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.qingcloud</groupId>
|
|
<artifactId>qingcloud-sdk-java</artifactId>
|
|
<version>1.2.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.ksyun</groupId>
|
|
<artifactId>ksc-sdk-java-kec</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.ksyun</groupId>
|
|
<artifactId>ksc-sdk-java-monitor</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.11.0</version>
|
|
<configuration>
|
|
<parameters>true</parameters>
|
|
<source>21</source>
|
|
<target>21</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.3.0</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<mainClass>com.bocloud.mcs.Application</mainClass>
|
|
<addClasspath>true</addClasspath>
|
|
<useUniqueVersions>false</useUniqueVersions>
|
|
<classpathPrefix>libs/</classpathPrefix>
|
|
</manifest>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>3.6.1</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<configuration>
|
|
<type>jar</type>
|
|
<includeTypes>jar</includeTypes>
|
|
<includeScope>runtime</includeScope>
|
|
<outputDirectory>${project.build.directory}/libs</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<profiles>
|
|
<profile>
|
|
<id>bocloud.booter.tomcat</id>
|
|
<properties>
|
|
<bocloud.booter.version>6.5.0-LTS-SZ</bocloud.booter.version>
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.hibernate.validator</groupId>
|
|
<artifactId>hibernate-validator</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
<profile>
|
|
<id>bocloud.booter.tongweb</id>
|
|
<properties>
|
|
<bocloud.booter.version>6.5.0-LTS-SZ-TONGWEB</bocloud.booter.version>
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.tongweb</groupId>
|
|
<artifactId>tongweb-embed</artifactId>
|
|
<version>7.0.E.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.tongweb.springboot</groupId>
|
|
<artifactId>tongweb-spring-boot-starter</artifactId>
|
|
<version>2.x.0.RELEASE</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.hibernate.validator</groupId>
|
|
<artifactId>hibernate-validator</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|