<?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>
    <parent>
        <groupId>com.jxdinfo.hussar</groupId>
        <artifactId>hussar-di-anyline</artifactId>
        <version>3.1.1</version>
        <relativePath>../pom.xml</relativePath>
    </parent>

    <artifactId>hussar-di-anyline-pom</artifactId>
    <packaging>jar</packaging>
    <name>${project.artifactId}</name>
    <description>实例模块-server</description>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
        <java.version>1.8</java.version>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
        <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
    </properties>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.anyline</groupId>
                <artifactId>anyline-dependency</artifactId>
                <version>8.7.2-20250916</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <dependencies>
        <!-- anyline配置开始 -->
        <dependency>
            <groupId>org.anyline</groupId>
            <artifactId>anyline-mvc</artifactId>
        </dependency>
        <dependency>
            <groupId>org.anyline</groupId>
            <artifactId>anyline-environment-spring-data-jdbc</artifactId> <!--因为spring环境中用到了spring-jdbc的事务管理器和template所以多了个data-jdbc后缀-->
        </dependency>
        <!-- 数据源依赖 -->
        <!-- mysql环境 -->
        <dependency>
            <groupId>org.anyline</groupId>
            <artifactId>anyline-data-jdbc-mysql</artifactId>
        </dependency>
        <!--  mysql驱动 -->
        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
        </dependency>
        <!-- oracle环境 -->
        <dependency>
            <groupId>org.anyline</groupId>
            <artifactId>anyline-data-jdbc-oracle</artifactId>
        </dependency>
        <dependency>
            <groupId>com.oracle.database.jdbc</groupId>
            <artifactId>ojdbc8</artifactId>
        </dependency>
        <!--  pg环境 -->
        <dependency>
            <groupId>org.anyline</groupId>
            <artifactId>anyline-data-jdbc-postgresql</artifactId>
        </dependency>
        <dependency>
            <groupId>org.postgresql</groupId>
            <artifactId>postgresql</artifactId>
        </dependency>
        <!-- sqlserver环境 -->
        <dependency>
            <groupId>org.anyline</groupId>
            <artifactId>anyline-data-jdbc-mssql</artifactId>
        </dependency>
        <dependency>
            <groupId>com.microsoft.sqlserver</groupId>
            <artifactId>mssql-jdbc</artifactId>
        </dependency>
        <!-- doris环境 -->
        <dependency>
            <groupId>org.anyline</groupId>
            <artifactId>anyline-data-jdbc-doris</artifactId>
        </dependency>
        <!-- anyline配置结束 -->
    </dependencies>

    <repositories>
        <repository>
            <id>anyline</id>
            <url>https://maven.anyline.org/repository/maven-public/</url>
        </repository>
        <repository>
            <id>anyline-snapshot</id>
            <url>https://maven.anyline.org/repository/maven-snapshots/</url>
            <snapshots>
                <enabled>true</enabled><!--启用快照-->
            </snapshots>
        </repository>
        <repository>
            <id>ossrh</id><!--仓库id maven配置文件中根据这个id引用-->
            <url>https://central.sonatype.com/repository/maven-snapshots/</url><!--maven官方默认的快照仓库地址 注意2025-06-30以之前的地址是http://oss.sonatype.org/content/repositories/snapshots/-->
            <snapshots>
                <enabled>true</enabled><!--启用快照-->
            </snapshots>
        </repository>
    </repositories></project>
