<?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>
    <packaging>pom</packaging>
    <modules>
        <module>ovopark-device-server</module>
        <module>ovopark-device-common</module>
        <module>ovopark-device-cloud</module>
        <module>ovopark-device-signalling</module>
        <module>ovopark-device-push</module>
        <module>ovopark-device-event-count</module>
        <module>ovopark-device-thirdparty</module>
        <!--<module>ovopark-device-reported</module>-->
    </modules>
    <groupId>com.ovopark</groupId>
    <artifactId>ovopark-device</artifactId>
    <version>1.0.1</version>
    <name>ovopark-device</name>
    <description>设备管理</description>

    <properties>
<!--        <reversion>1.0.1</reversion>-->
        <java.version>1.8</java.version>
        <spring-boot.version>2.5.0</spring-boot.version>
        <mybatis-plus.version>3.4.3</mybatis-plus.version>
        <p6spy.version>3.9.1</p6spy.version>
        <druid-spring-boot-starter.version>1.2.6</druid-spring-boot-starter.version>
        <maven-surefire-plugin.version>2.20</maven-surefire-plugin.version>
        <dubbo.version>2.7.6</dubbo.version>
        <apollo-client.version>1.4.0</apollo-client.version>
        <zk.version>3.4.9</zk.version>
        <java.version>1.8</java.version>
        <fastjson.version>1.2.70</fastjson.version>
        <lombok.version>1.18.2</lombok.version>
        <guava.version>29.0-jre</guava.version>
        <logstash-logback-encoder.version>4.11</logstash-logback-encoder.version>
        <logback-kafka-appender.version>0.1.0</logback-kafka-appender.version>
        <kafka-clients.version>2.1.1</kafka-clients.version>
        <spring-cloud.version>2020.0.2</spring-cloud.version>
        <com.spotify-docker-maven-plugin.version>0.4.13</com.spotify-docker-maven-plugin.version>
        <kafka-version>2.1.10.RELEASE</kafka-version>
        <xxl-job.version>2.0.1</xxl-job.version>
        <spring-kafka.version>2.5.6.RELEASE</spring-kafka.version>
        <jedis.version>3.1.0</jedis.version>
    </properties>

    <distributionManagement>
        <repository>
            <id>nexus-releases</id>
            <url>http://116.62.59.245:8081/nexus/content/repositories/releases/</url>
        </repository>
        <snapshotRepository>
            <id>nexus-snapshots</id>
            <url>http://116.62.59.245:8081/nexus/content/repositories/snapshots/</url>
        </snapshotRepository>
    </distributionManagement>

    <build>
        <plugins>
            <!--install跳过测试-->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>${maven-surefire-plugin.version}</version>
                <configuration>
                    <skipTests>true</skipTests>
                </configuration>
            </plugin>


            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>8</source>
                    <target>8</target>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <repositories>
        <repository>
            <id>central</id>
            <name>aliyun maven</name>
            <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
            <layout>default</layout>
            <!-- 是否开启发布版构件下载 -->
            <releases>
                <enabled>true</enabled>
            </releases>
            <!-- 是否开启快照版构件下载 -->
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </repository>


        <repository>
            <id>nexus</id>
            <url>http://116.62.59.245:8081/nexus/content/groups/public/</url>
        </repository>
        <repository>
            <id>nexus-releases</id>
            <url>http://116.62.59.245:8081/nexus/content/repositories/releases/</url>
        </repository>
    </repositories>


</project>
