<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
         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.dahuatech.icc</groupId>
    <artifactId>java-sdk</artifactId>
    <packaging>pom</packaging>
    <version>1.0.13.14</version>
    <name>icc-sdk-release</name>

    <description>
        Dahua ICC Open API SDK for Java
    </description>
    <url>https://open-icc.dahuatech.com</url>
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <compile.version>1.8</compile.version>
    </properties>
    <modules>
        <module>java-sdk-common</module>
        <module>java-sdk-core</module>
        <module>java-sdk-oauth</module>
        <module>java-sdk-brm</module>
        <module>java-sdk-event</module>
        <module>java-sdk-accesscontrol</module>
        <module>java-sdk-admin</module>
        <module>java-sdk-jpatrol</module>
        <module>java-sdk-passengerflow</module>
        <module>java-sdk-vims</module>
        <module>java-sdk-visitor</module>
        <module>java-sdk-attendance</module>
        <module>java-sdk-ipms</module>
        <module>java-sdk-consume</module>
        <module>java-sdk-pmms</module>
        <module>java-sdk-alarm</module>
        <module>java-sdk-electricity</module>
        <module>java-sdk-cirs</module>
        <module>java-sdk-face</module>
        <module>java-sdk-h8900</module>
    </modules>
    <scm>
        <url>git@yfgitlab.dahuatech.com:Software-ESD-EBS/Evo-Api/Icc-Open-Api.git</url>
        <connection>scm:git:git@yfgitlab.dahuatech.com:Software-ESD-EBS/Evo-Api/Icc-Open-Api.git</connection>
        <developerConnection>scm:git:git@yfgitlab.dahuatech.com:Software-ESD-EBS/Evo-Api/Icc-Open-Api.git
        </developerConnection>
    </scm>
    <!--mvn clean install deploy -P release -->
    <licenses>
        <license>
            <name></name>
            <url></url>
        </license>
    </licenses>

    <developers>
        <developer>
            <id>dahuatech-icc-developer</id>
            <name></name>
            <email></email>
        </developer>
    </developers>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.8.1</version>
                <configuration>
                    <source>${compile.version}</source>
                    <target>${compile.version}</target>
                </configuration>
            </plugin>
            <!-- Javadoc -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>3.1.1</version>
                <configuration>
                    <doclint>none</doclint>
                </configuration>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <!-- GPG -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-gpg-plugin</artifactId>
                <version>3.1.0</version>
                <executions>
                    <execution>
                        <phase>verify</phase>
                        <goals>
                            <goal>sign</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

    <profiles>
        <profile>
            <id>release</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.sonatype.central</groupId>
                        <artifactId>central-publishing-maven-plugin</artifactId>
                        <version>0.7.0</version>
                        <extensions>true</extensions>
                        <configuration>
                            <publishingServerId>maven-central-release</publishingServerId>
                            <autoPublish>false</autoPublish>
                            <waitUntil>uploaded</waitUntil>
                        </configuration>
                    </plugin>


                    <!-- Source -->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-source-plugin</artifactId>
                        <version>3.2.1</version>
                        <executions>
                            <execution>
                                <phase>package</phase>
                                <goals>
                                    <goal>jar-no-fork</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                    <!-- Javadoc -->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                        <version>3.1.1</version>
                        <executions>
                            <execution>
                                <phase>package</phase>
                                <goals>
                                    <goal>jar</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                    <!-- GPG -->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-gpg-plugin</artifactId>
                        <version>3.1.0</version>
                        <executions>
                            <execution>
                                <phase>verify</phase>
                                <goals>
                                    <goal>sign</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>

</project>