From 5d97b0934973737a903f45d1d89e095b2e255694 Mon Sep 17 00:00:00 2001 From: zxh <279049017@qq.com> Date: Fri, 21 Aug 2020 10:12:36 +0800 Subject: [PATCH] 提交到Gitblit --- kidgrow-commons/kidgrow-common-spring-boot-starter/pom.xml | 63 ++++++++++++++++++++++++++++--- 1 files changed, 56 insertions(+), 7 deletions(-) diff --git a/kidgrow-commons/kidgrow-common-spring-boot-starter/pom.xml b/kidgrow-commons/kidgrow-common-spring-boot-starter/pom.xml index a5c8617..778c34d 100644 --- a/kidgrow-commons/kidgrow-common-spring-boot-starter/pom.xml +++ b/kidgrow-commons/kidgrow-common-spring-boot-starter/pom.xml @@ -18,10 +18,10 @@ <groupId>com.kidgrow</groupId> <artifactId>kidgrow-log-spring-boot-starter</artifactId> </dependency> -<!-- <dependency>--> -<!-- <groupId>com.kidgrow</groupId>--> -<!-- <artifactId>kidgrow-swagger2-spring-boot-starter</artifactId>--> -<!-- </dependency>--> + <!-- <dependency>--> + <!-- <groupId>com.kidgrow</groupId>--> + <!-- <artifactId>kidgrow-swagger2-spring-boot-starter</artifactId>--> + <!-- </dependency>--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-aop</artifactId> @@ -114,7 +114,12 @@ <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-openfeign</artifactId> -<!-- <optional>true</optional>--> + <!-- <optional>true</optional>--> + </dependency> + <dependency> + <groupId>io.github.openfeign</groupId> + <artifactId>feign-okhttp</artifactId> + <version>10.1.0</version> </dependency> <!-- hystrix断路器 --> <dependency> @@ -132,9 +137,53 @@ <artifactId>spring-cloud-starter-netflix-ribbon</artifactId> </dependency> <!-- 消息总线rabbitMQ --> +<!-- <dependency>--> +<!-- <groupId>org.springframework.cloud</groupId>--> +<!-- <artifactId>spring-cloud-starter-bus-amqp</artifactId>--> +<!-- </dependency>--> + <!-- https://mvnrepository.com/artifact/com.google.zxing/core --> <dependency> - <groupId>org.springframework.cloud</groupId> - <artifactId>spring-cloud-starter-bus-amqp</artifactId> + <groupId>com.google.zxing</groupId> + <artifactId>core</artifactId> + <version>3.4.0</version> + </dependency> + <!-- https://mvnrepository.com/artifact/com.google.zxing/javase --> + <dependency> + <groupId>com.google.zxing</groupId> + <artifactId>javase</artifactId> + <version>3.4.0</version> </dependency> </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <!--跳过项目运行测试用例--> + <skipTests>true</skipTests> + </configuration> + </plugin> + <plugin> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>com.spotify</groupId> + <artifactId>dockerfile-maven-plugin</artifactId> + <configuration> + <!-- Dockerfile目录指定 --> + <dockerfile>Dockerfile</dockerfile> + <repository>${docker.repostory}/${docker.image.prefix}/${project.artifactId}</repository> + <!-- 生成镜像标签 如不指定 默认为latest --> + <tag>1.0.1</tag> + <!--<tag>${project.version}</tag>--> + <buildArgs> + <JAR_FILE>./target/${project.build.finalName}.jar</JAR_FILE> + </buildArgs> + </configuration> + </plugin> + </plugins> + </build> </project> \ No newline at end of file -- Gitblit v1.8.0