From cffd3d06a2f69e4a15aa9465d36c0495247f88ab Mon Sep 17 00:00:00 2001 From: xiejun <xj@2023> Date: 星期五, 13 十月 2023 12:24:29 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- Source/UBCS/ubcs-gateway/pom.xml | 22 ++++++++++++---------- 1 files changed, 12 insertions(+), 10 deletions(-) diff --git a/Source/UBCS/ubcs-gateway/pom.xml b/Source/UBCS/ubcs-gateway/pom.xml index 2b0073d..32bc4ee 100644 --- a/Source/UBCS/ubcs-gateway/pom.xml +++ b/Source/UBCS/ubcs-gateway/pom.xml @@ -79,21 +79,23 @@ <build> <plugins> <plugin> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-maven-plugin</artifactId> + <groupId>com.spotify</groupId> + <artifactId>dockerfile-maven-plugin</artifactId> <configuration> - <outputDirectory>../target</outputDirectory> + <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> - <configuration> - <outputDirectory>./target/libs</outputDirectory> - </configuration> - </plugin> - <plugin> - <artifactId>maven-surefire-plugin</artifactId> + <artifactId>maven-antrun-plugin</artifactId> </plugin> </plugins> </build> -- Gitblit v1.9.3