161 lines
6.4 KiB
XML
161 lines
6.4 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>bocloud.cms</artifactId>
|
|
<groupId>com.bocloud</groupId>
|
|
<version>6.5.0-LTS-SZ</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>bocloud.cms.booter</artifactId>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.bocloud</groupId>
|
|
<artifactId>bocloud.boot.common</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.freedom</groupId>
|
|
<artifactId>megatron.microservice</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.freedom</groupId>
|
|
<artifactId>megatron.framework</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.bocloud</groupId>
|
|
<artifactId>bocloud.cms.service</artifactId>
|
|
</dependency>
|
|
<!-- 构建Restful API -->
|
|
<dependency>
|
|
<groupId>org.snmp4j</groupId>
|
|
<artifactId>snmp4j</artifactId>
|
|
<version>2.5.11</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<!-- dm数据库链接 -->
|
|
<dependency>
|
|
<groupId>com.dameng</groupId>
|
|
<artifactId>DmJdbcDriver18</artifactId>
|
|
<version>8.1.1.193</version>
|
|
</dependency>
|
|
<!--for spring boot 3-->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>2.0.7</version>
|
|
</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.cms.booter.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>
|
|
<exclusion>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-to-slf4j</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.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-to-slf4j</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project> |