<?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">
    <modelVersion>4.0.0</modelVersion>

    <groupId>com.newtouch</groupId>
    <artifactId>nms</artifactId>
    <packaging>pom</packaging>
    <version>1.0.1-tst-SNAPSHOT</version>
    <modules>
        <module>nms-rule-model</module>
        <module>nms-rule-conf</module>
        <module>nms-insure-model</module>
        <module>nms-insure-sip</module>
        <module>nms-page-conf</module>
        <module>nms-policy-model</module>
    </modules>

    <properties>
        <maven.compiler.source>8</maven.compiler.source>
        <maven.compiler.target>8</maven.compiler.target>
        <foundation.version>1.1.6-TEST-SNAPSHOT</foundation.version>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <spring.version>2.2.4.RELEASE</spring.version>
        <java.version>1.8</java.version>
    </properties>
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.springframework.session</groupId>
                <artifactId>spring-session-data-redis</artifactId>
                <version>2.4.3</version>
            </dependency>
            <!--   <dependency>
                   <groupId>mysql</groupId>
                   <artifactId>mysql-connector-java</artifactId>
                   <version>8.0.32</version>
               </dependency>-->
            <dependency>
                <groupId>com.uniapis</groupId>
                <artifactId>foundation-web</artifactId>
                <version>${foundation.version}</version>
            </dependency>
            <dependency>
                <groupId>com.uniapis</groupId>
                <artifactId>foundation-repository</artifactId>
                <version>${foundation.version}</version>
            </dependency>
            <dependency>
                <groupId>com.uniapis</groupId>
                <artifactId>foundation-rms</artifactId>
                <version>${foundation.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>com.uniapis</groupId>
                        <artifactId>foundation-web</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>org.projectlombok</groupId>
                <artifactId>lombok</artifactId>
                <version>1.18.24</version>
            </dependency>
            <dependency>
                <groupId>com.uniapis</groupId>
                <artifactId>foundation-rms</artifactId>
                <version>${foundation.version}</version>
            </dependency>
            <dependency>
                <groupId>com.uniapis</groupId>
                <artifactId>java-rule-engine</artifactId>
                <version>1.1.5-TEST-SNAPSHOT</version>
                <exclusions>
                    <exclusion>
                        <groupId>com.uniapis</groupId>
                        <artifactId>foundation-utils</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>org.apache.poi</groupId>
                <artifactId>poi-ooxml</artifactId>
                <version>5.2.3</version>
                <exclusions>
                    <exclusion>
                        <groupId>org.apache.logging.log4j</groupId>
                        <artifactId>log4j-api</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>fakepath</groupId>
                <artifactId>pinyin4j</artifactId>
                <version>2.5.0</version>
            </dependency>
            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-devtools</artifactId>
                <version>${spring.version}</version>
                <optional>true</optional>
            </dependency>
            <dependency>
                <groupId>org.freemarker</groupId>
                <artifactId>freemarker</artifactId>
                <version>2.3.28</version>
            </dependency>
            <dependency>
                <groupId>commons-beanutils</groupId>
                <artifactId>commons-beanutils</artifactId>
                <version>1.7.0</version>
            </dependency>
            <dependency>
                <groupId>com.alibaba</groupId>
                <artifactId>fastjson</artifactId>
                <!--                <version>1.2.58</version>-->
                <version>1.2.83</version>
            </dependency>
            <dependency>
                <groupId>io.springfox</groupId>
                <artifactId>springfox-swagger2</artifactId>
                <version>2.9.2</version>
            </dependency>
            <dependency>
                <groupId>mysql</groupId>
                <artifactId>mysql-connector-java</artifactId>
                <version>8.0.32</version>
            </dependency>
            <dependency>
                <groupId>org.postgresql</groupId>
                <artifactId>postgresql</artifactId>
                <version>42.2.7</version>
            </dependency>
            <dependency>
                <groupId>cn.hutool</groupId>
                <artifactId>hutool-all</artifactId>
                <version>5.7.22</version>
            </dependency>
            <dependency>
                <groupId>org.apache.commons</groupId>
                <artifactId>commons-collections4</artifactId>
                <version>4.4</version>
            </dependency>
            <dependency>
                <groupId>org.apache.commons</groupId>
                <artifactId>commons-lang3</artifactId>
                <version>3.9</version>
            </dependency>
            <dependency>
                <groupId>commons-io</groupId>
                <artifactId>commons-io</artifactId>
                <version>2.5</version>
            </dependency>
            <dependency>
                <groupId>com.alibaba</groupId>
                <artifactId>fastjson</artifactId>
                <version>1.2.73</version>
            </dependency>
        </dependencies>
    </dependencyManagement>
    <repositories>
        <repository>
            <id>newtouch-nexus2</id>
            <url>https://www.bjnfbk.com/nexus2/repository/maven-public/</url>
            <snapshots>
                <enabled>true</enabled>
                <updatePolicy>always</updatePolicy>
            </snapshots>
        </repository>
    </repositories>
    <profiles>
        <profile>
            <id>newtouch-nexus-dev</id>
            <properties>
                <war.packagingExcludes>*.md,**/RunWithLoader.*,**/LicenseGenerator.*</war.packagingExcludes>
                <war.warSourceExcludes></war.warSourceExcludes>
                <env.suffix>dev</env.suffix>
            </properties>
            <distributionManagement>
                <repository>
                    <id>newtouch-nexus2</id>
                    <name>newtouch-nexus2</name>
                    <url>https://www.bjnfbk.com/nexus2/repository/maven-snapshots/</url>
                </repository>
            </distributionManagement>
        </profile>
        <profile>
            <id>newtouch-nexus-tst</id>
            <properties>
                <war.packagingExcludes>*.md,**/RunWithLoader.*,**/LicenseGenerator.*</war.packagingExcludes>
                <war.warSourceExcludes></war.warSourceExcludes>
                <env.suffix>tst</env.suffix>
            </properties>
            <distributionManagement>
                <repository>
                    <id>newtouch-nexus2</id>
                    <name>newtouch-nexus2</name>
                    <url>https://www.bjnfbk.com/nexus2/repository/maven-snapshots/</url>
                </repository>
            </distributionManagement>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
        </profile>
        <profile>
            <id>newtouch-nexus-pre</id>
            <properties>
                <war.packagingExcludes>*.md,**/RunWithLoader.*,**/LicenseGenerator.*</war.packagingExcludes>
                <war.warSourceExcludes></war.warSourceExcludes>
                <env.suffix>pre</env.suffix>
            </properties>
            <distributionManagement>
                <repository>
                    <id>newtouch-nexus2</id>
                    <name>newtouch-nexus2</name>
                    <url>https://www.bjnfbk.com/nexus2/repository/maven-snapshots/</url>
                </repository>
            </distributionManagement>
        </profile>
        <profile>
            <id>newtouch-nexus-prd</id>
            <properties>
                <war.packagingExcludes>*.md,**/RunWithLoader.*,**/LicenseGenerator.*</war.packagingExcludes>
                <war.warSourceExcludes></war.warSourceExcludes>
                <env.suffix>prd</env.suffix>
            </properties>
            <distributionManagement>
                <repository>
                    <id>newtouch-nexus2</id>
                    <name>newtouch-nexus2</name>
                    <url>https://www.bjnfbk.com/nexus2/repository/maven-snapshots/</url>
                </repository>
            </distributionManagement>
        </profile>

        <profile>
            <id>xinhua-nexus-dev</id>
            <properties>
                <war.packagingExcludes>*.md,**/RunWithLoader.*,**/LicenseGenerator.*</war.packagingExcludes>
                <war.warSourceExcludes></war.warSourceExcludes>
                <env.suffix>dev</env.suffix>
            </properties>
            <distributionManagement>
                <repository>
                    <id>xinhua-nexus</id>
                    <name>xinhua-nexus</name>
                    <url>http://10.1.139.147/nexus/repository/xzxtb-snapshots/</url>
                </repository>
            </distributionManagement>
        </profile>
        <profile>
            <id>xinhua-nexus-tst</id>
            <properties>
                <war.packagingExcludes>*.md,**/RunWithLoader.*,**/LicenseGenerator.*</war.packagingExcludes>
                <war.warSourceExcludes></war.warSourceExcludes>
                <env.suffix>tst</env.suffix>
            </properties>
            <distributionManagement>
                <repository>
                    <id>xinhua-nexus</id>
                    <name>xinhua-nexus</name>
                    <url>http://10.1.139.147/nexus/repository/xzxtb-snapshots/</url>
                </repository>
            </distributionManagement>
        </profile>
        <profile>
            <id>xinhua-nexus-pre</id>
            <properties>
                <war.packagingExcludes>*.md,**/RunWithLoader.*,**/LicenseGenerator.*</war.packagingExcludes>
                <war.warSourceExcludes></war.warSourceExcludes>
                <env.suffix>pre</env.suffix>
            </properties>
            <distributionManagement>
                <repository>
                    <id>xinhua-nexus</id>
                    <name>xinhua-nexus</name>
                    <url>http://10.1.139.147/nexus/repository/xzxtb-snapshots/</url>
                </repository>
            </distributionManagement>
        </profile>
        <profile>
            <id>xinhua-nexus-prd</id>
            <properties>
                <war.packagingExcludes>*.md,**/RunWithLoader.*,**/LicenseGenerator.*</war.packagingExcludes>
                <war.warSourceExcludes></war.warSourceExcludes>
                <env.suffix>prd</env.suffix>
            </properties>
            <distributionManagement>
                <repository>
                    <id>xinhua-nexus</id>
                    <name>xinhua-nexus</name>
                    <url>http://10.1.139.147/nexus/repository/xzxtb-snapshots/</url>
                </repository>
            </distributionManagement>
        </profile>
    </profiles>
</project>
