田源
2023-10-13 2a4b9941ffa8b38557af281e95faf5cd8bb799e2
Source/UBCS/ubcs-service/ubcs-code/pom.xml
@@ -16,11 +16,6 @@
    <modelVersion>4.0.0</modelVersion>
    <properties>
        <!-- 按各模块实际目录层次定义相对数据,使所有服务模块输出资源汇聚到相同目录 -->
        <boot-jar-output>../devops</boot-jar-output>
    </properties>
    <dependencies>
        <dependency>
            <groupId>com.vci.ubcs</groupId>
@@ -96,6 +91,12 @@
            <version>3.0.1.RELEASE</version>
            <scope>compile</scope>
        </dependency>
        <!--达梦数据库驱动-->
        <!--<dependency>
            <groupId>com.dameng</groupId>
            <artifactId>DmJdbcDriver18</artifactId>
            <optional>true</optional>
        </dependency>-->
        <!--axis2 begin -->
        <dependency>
            <groupId>org.apache.axis2</groupId>
@@ -142,6 +143,7 @@
            <scope>compile</scope>
        </dependency>
        <!--axis2 end -->
        <dependency>
            <groupId>com.vci.ubcs</groupId>
            <artifactId>ubcs-file-api</artifactId>
@@ -153,20 +155,29 @@
            <version>3.0.1.RELEASE</version>
            <scope>compile</scope>
        </dependency>
    </dependencies>
    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <groupId>com.spotify</groupId>
                <artifactId>dockerfile-maven-plugin</artifactId>
                <configuration>
                    <username>${docker.username}</username>
                    <password>${docker.password}</password>
                    <repository>${docker.registry.url}/${docker.namespace}/${project.artifactId}</repository>
                    <tag>${project.version}</tag>
                    <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
                    <buildArgs>
                        <JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
                    </buildArgs>
                    <skip>false</skip>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
            </plugin>
            <plugin>
                <artifactId>maven-surefire-plugin</artifactId>
                <artifactId>maven-antrun-plugin</artifactId>
            </plugin>
        </plugins>
    </build>