From 3623c7ad92348e76a917ca844d76d27711d58191 Mon Sep 17 00:00:00 2001 From: xiejun <xiejun@vci-tech.com> Date: 星期四, 26 十二月 2024 16:15:20 +0800 Subject: [PATCH] 集成获取mdm分发通用数据格式接口集成 日志输出到日志文件中 --- Source/UBCS/ubcs-gateway/pom.xml | 52 ++++++++++++++++++++++++++++++++++++++++------------ 1 files changed, 40 insertions(+), 12 deletions(-) diff --git a/Source/UBCS/ubcs-gateway/pom.xml b/Source/UBCS/ubcs-gateway/pom.xml index 32bc4ee..5601eee 100644 --- a/Source/UBCS/ubcs-gateway/pom.xml +++ b/Source/UBCS/ubcs-gateway/pom.xml @@ -74,28 +74,56 @@ <groupId>de.codecentric</groupId> <artifactId>spring-boot-admin-starter-client</artifactId> </dependency> + <!--<dependency> + <groupId>org.springblade</groupId> + <artifactId>blade-starter-log</artifactId> + <exclusions> + <exclusion> + <groupId>org.springblade</groupId> + <artifactId>blade-core-cloud</artifactId> + </exclusion> + </exclusions> + </dependency>--> + </dependencies> <build> <plugins> <plugin> - <groupId>com.spotify</groupId> - <artifactId>dockerfile-maven-plugin</artifactId> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-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> + <outputDirectory>../target</outputDirectory> </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> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-antrun-plugin</artifactId> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>copy-dependencies</id> + <phase>package</phase> + <goals> + <goal>copy-dependencies</goal> + </goals> + <configuration> + <outputDirectory>../target/libs</outputDirectory> + <excludeTransitive>false</excludeTransitive> + <stripVersion>false</stripVersion> + <includeScope>runtime</includeScope> + </configuration> + </execution> + </executions> </plugin> </plugins> </build> -- Gitblit v1.9.3