<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>cn.xuqiudong.basic</groupId>
        <artifactId>lcxm-springboot-parent</artifactId>
        <version>1.0.0-2024</version>
    </parent>

    <groupId>cn.xuqiudong.basic</groupId>
    <artifactId>lcxm-generate-spring-boot-starter</artifactId>
    <version>1.0.2-2024</version>
    <packaging>jar</packaging>

    <name>lcxm-generate-spring-boot-starter</name>
    <description>基于velocity的从数据库到mybatis的相关代码生成</description>
    <url>https://gitee.com/basic-support/lcxm-generate-spring-boot-starter</url>

    <properties>
        <lcxm-common.version>1.0.2-2024</lcxm-common.version>
    </properties>

    <!-- sonatype:开源地址 -->
    <scm>
        <connection>scm:git:ssh://git@gitee.com:basic-support/lcxm-generate-spring-boot-starter.git</connection>
        <developerConnection>scm:git:https://gitee.com/basic-support/lcxm-generate-spring-boot-starter.git</developerConnection>
        <url>https://gitee.com/basic-support/lcxm-generate-spring-boot-starter</url>
        <tag>HEAD</tag>
    </scm>

    <!--sonatype: Issue地址 -->
    <issueManagement>
        <system>git Issue</system>
        <url>https://gitee.com/basic-support/lcxm-generate-spring-boot-starter/issues</url>
    </issueManagement>



    <dependencies>
        <dependency>
            <groupId>cn.xuqiudong.basic</groupId>
            <artifactId>lcxm-common</artifactId>
            <version>${lcxm-common.version}</version>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-jdbc</artifactId>
        </dependency>

        <dependency>
            <groupId>org.apache.velocity</groupId>
            <artifactId>velocity</artifactId>
            <scope>compile</scope>
            <exclusions>
                <!-- 此处引入commons-lang2.4 和commons-configuration引入的2.6 冲突 -->
                <exclusion>
                    <groupId>commons-lang</groupId>
                    <artifactId>commons-lang</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <!-- 热部署 -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-devtools</artifactId>
            <optional>true</optional><!-- optional=true,依赖不会传递，该项目依赖devtools；之后依赖myboot项目的项目如果想要使用devtools，需要重新引入 -->
        </dependency>

        <!--默认引入mysql-->
        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
            <scope>runtime</scope>
        </dependency>

        <!-- odbc ,如果需要则在项中手动引入 -->
        <dependency>
            <groupId>com.oracle.database.jdbc</groupId>
            <artifactId>ojdbc8</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-autoconfigure</artifactId>
        </dependency>

        <!-- 编译时生成spring-configuration-metadata.json  给IDE使用，作为提示-->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-configuration-processor</artifactId>
            <optional>true</optional>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>com.github.spotbugs</groupId>
            <artifactId>spotbugs-annotations</artifactId>
            <version>${spotbugs.version}</version>
            <scope>provided</scope>
        </dependency>

    </dependencies>

    <build>

    </build>

</project>
