219 lines
7.6 KiB
XML
219 lines
7.6 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.fourfaith.iot</groupId>
|
|
<artifactId>iot-data-center</artifactId>
|
|
<version>2.7.3-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<packaging>${project.packaging}</packaging>
|
|
<version>2.7.3-SNAPSHOT</version>
|
|
|
|
<artifactId>data-center-main</artifactId>
|
|
|
|
<properties>
|
|
<maven.compiler.source>8</maven.compiler.source>
|
|
<maven.compiler.target>8</maven.compiler.target>
|
|
<maven.deploy.skip>true</maven.deploy.skip>
|
|
<maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-access</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-log4j2</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-slf4j-impl</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fourfaith.iot</groupId>
|
|
<artifactId>data-center-restful-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fourfaith.iot</groupId>
|
|
<artifactId>iot-user-center-dubbo-api</artifactId>
|
|
<version>2.0-SNAPSHOT</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-quartz</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>active_taos2.6</id>
|
|
<activation>
|
|
<activeByDefault>false</activeByDefault>
|
|
</activation>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.taosdata.jdbc</groupId>
|
|
<artifactId>taos-jdbcdriver</artifactId>
|
|
<version>2.0.38</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
<profile>
|
|
<id>active_taos3.0.4.2</id>
|
|
<activation>
|
|
<activeByDefault>false</activeByDefault>
|
|
</activation>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.taosdata.jdbc</groupId>
|
|
<artifactId>taos-jdbcdriver</artifactId>
|
|
<version>3.2.1</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
<profile>
|
|
<id>active_taos3.0.5.0</id>
|
|
<activation>
|
|
<activeByDefault>false</activeByDefault>
|
|
</activation>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.taosdata.jdbc</groupId>
|
|
<artifactId>taos-jdbcdriver</artifactId>
|
|
<version>3.2.2</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
<profile>
|
|
<id>active_taos3.0.7.1</id>
|
|
<activation>
|
|
<activeByDefault>false</activeByDefault>
|
|
</activation>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.taosdata.jdbc</groupId>
|
|
<artifactId>taos-jdbcdriver</artifactId>
|
|
<version>3.2.4</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
<profile>
|
|
<id>dev119</id>
|
|
<properties>
|
|
<profiles.active>dev119</profiles.active>
|
|
<project.packaging>war</project.packaging>
|
|
</properties>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
</profile>
|
|
<profile>
|
|
<id>dev192</id>
|
|
<properties>
|
|
<profiles.active>dev192</profiles.active>
|
|
<project.packaging>war</project.packaging>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>test</id>
|
|
<properties>
|
|
<profiles.active>test</profiles.active>
|
|
<project.packaging>war</project.packaging>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>pre</id>
|
|
<properties>
|
|
<profiles.active>pre</profiles.active>
|
|
<project.packaging>war</project.packaging>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>pro-245</id>
|
|
<properties>
|
|
<profiles.active>pro-245</profiles.active>
|
|
<project.packaging>jar</project.packaging>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>prod</id>
|
|
<properties>
|
|
<profiles.active>prod</profiles.active>
|
|
<project.packaging>jar</project.packaging>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<build>
|
|
<finalName>iot-data-center-${project.version}-${maven.build.timestamp}</finalName>
|
|
<!-- <finalName>iot-data-center-${project.version}</finalName>-->
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<configuration>
|
|
<fork>true</fork>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.20.1</version>
|
|
<configuration>
|
|
<skipTests>true</skipTests>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<configuration>
|
|
<archive>
|
|
<addMavenDescriptor>false</addMavenDescriptor>
|
|
</archive>
|
|
<warName>${project.build.finalName}</warName>
|
|
<webResources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<targetPath>WEB-INF/classes</targetPath>
|
|
<filtering>true</filtering>
|
|
<includes>
|
|
<include>application.yml</include>
|
|
<include>application-${profiles.active}.yml</include>
|
|
</includes>
|
|
</resource>
|
|
</webResources>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|