Commit 73d3072b by wangnb

包活干引入nacos--think.wang

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@28175 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 39a9238d
......@@ -3,34 +3,70 @@
<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>
<groupId>com.glsx</groupId>
<artifactId>car-service-common</artifactId>
<version>1.0.0</version>
<packaging>jar</packaging>
<name>car-service-common</name>
<!-- FIXME change it to the project's website -->
<url>http://www.example.com</url>
<description>公用模块:工具类等</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<dependencies>
<!-- nacos 服务管理和配置中心-->
<dependency>
<groupId>com.glsx</groupId>
<artifactId>rest-admin-config</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.glsx</groupId>
<artifactId>rest-admin-registry</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>2.0.6.RELEASE</version>
<artifactId>spring-boot-starter-tomcat</artifactId>
<version>2.2.2.RELEASE</version>
</dependency>
<dependency>
<groupId>com.glsx</groupId>
<artifactId>rest-admin-web</artifactId>
<version>1.0-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>com.glsx</groupId>
<artifactId>rest-admin-exception</artifactId>
</exclusion>
<exclusion>
<groupId>com.glsx</groupId>
<artifactId>rest-admin-redis</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.glsx</groupId>
<artifactId>rest-admin-feign</artifactId>
<version>1.0-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>com.glsx</groupId>
<artifactId>rest-admin-exception</artifactId>
</exclusion>
</exclusions>
</dependency>
<!--<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
<version>2.0.2.RELEASE</version>
</dependency>
<version>2.2.1.RELEASE</version>
</dependency>-->
<!-- SpringBoot Redis -->
<dependency>
<groupId>org.springframework.boot</groupId>
......@@ -38,33 +74,29 @@
<version>2.0.6.RELEASE</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
<dependency>
<!--<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.4.1</version>
</dependency>
</dependency>-->
<!-- https://mvnrepository.com/artifact/commons-httpclient/commons-httpclient -->
<dependency>
<!--<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
<version>3.1</version>
</dependency>
<dependency>
</dependency>-->
<!--<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.8.1</version>
</dependency>
</dependency>-->
<!-- 日志工具类 -->
<!-- hibernate.validator -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.25</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.51</version>
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator</artifactId>
<version>6.0.13.Final</version>
</dependency>
<!--导出工具-->
<dependency>
......@@ -76,47 +108,50 @@
<groupId>com.glsx.gps</groupId>
<artifactId>gps-common-utils</artifactId>
<version>0.0.15-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
<exclusion>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- feign-okhttp依赖 -->
<dependency>
<!--<dependency>
<groupId>io.github.openfeign</groupId>
<artifactId>feign-okhttp</artifactId>
<version>10.1.0</version>
</dependency>
<!-- websocket -->
</dependency>-->
<!-- websocket -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-websocket</artifactId>
<version>2.0.6.RELEASE</version>
</dependency>
<dependency>
<groupId>org.gavaghan</groupId>
<artifactId>geodesy</artifactId>
<version>1.1.3</version>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<version>1.5.0-b01</version>
</dependency>
<dependency>
<groupId>org.gavaghan</groupId>
<artifactId>geodesy</artifactId>
<version>1.1.3</version>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<version>1.5.0-b01</version>
</dependency>
</dependencies>
<build>
<pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
</configuration>
</plugin>
</plugins>
......
spring.application.name=car-service-gateway
server.port=8088
#nacos\u914D\u7F6E
spring.cloud.nacos.config.group=BHG
spring.cloud.nacos.config.group=BHG_GROUP
spring.cloud.nacos.config.file-extension=properties
spring.cloud.nacos.config.server-addr=192.168.0.63:8848
#configClient
......
......@@ -8,15 +8,11 @@
<artifactId>car-service-manager</artifactId>
<version>1.0.0</version>
<name>car-service-manager</name>
<!-- FIXME change it to the project's website -->
<url>http://www.example.com</url>
<packaging>war</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<shiro.version>1.4.0</shiro.version>
</properties>
<parent>
......@@ -38,34 +34,16 @@
<scope>test</scope>
<optional>true</optional>
</dependency>
<!-- EurekaClient -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency>
<!-- ConfigClient -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-config-client</artifactId>
</dependency>
<!-- hibernate.validator -->
<dependency>
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator</artifactId>
<version>6.0.13.Final</version>
</dependency>
</dependencies>
<build>
<pluginManagement><!-- lock down plugins versions to avoid using Maven
defaults (may be moved to parent pom) -->
<pluginManagement>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
<fork>true</fork>
</configuration>
</plugin>
<plugin>
......
......@@ -7,7 +7,6 @@ import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;
......@@ -25,7 +24,6 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
@SpringBootApplication
@ComponentScan("com.glsx")
@ServletComponentScan
@EnableEurekaClient
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.glsx.common.feign.client"})
@EnableTransactionManagement
......
##\u5f00\u53d1\u4e2d\u9700\u8981\u8bfb\u53d6\u7684\u914d\u7f6e\u6587\u4ef6
#spring.profiles.active=test
##\u5F00\u53D1\u4E2D\u9700\u8981\u8BFB\u53D6\u7684\u914D\u7F6E\u6587\u4EF6
spring.profiles.active=dev
server.servlet.context-path=/carservice/manager
spring.devtools.restart.enabled=true
#session\u8d85\u65f6\u65f6\u95f4
#session\u8D85\u65F6\u65F6\u95F4
server.servlet.session.timeout=28800
#\u6307\u5b9adate\u8f93\u51fa\u683c\u5f0f\u4e3ayyyy-MM-dd HH:mm:ss
#\u6307\u5B9Adate\u8F93\u51FA\u683C\u5F0F\u4E3Ayyyy-MM-dd HH:mm:ss
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
spring.jackson.time-zone=GMT+8
##feign\u7684\u914d\u7f6e
#feign\u9ed8\u8ba4\u7684http
##feign\u7684\u914D\u7F6E
#feign\u9ED8\u8BA4\u7684http
#feign.httpclient.enabled=false
#feign\u542f\u7528okhttp
#feign.okhttp.enabled=true
\ No newline at end of file
#feign\u542F\u7528okhttp
#feign.okhttp.enabled=true
# feign\u8C03\u7528\u591A\u4E2A\u63A5\u53E3\u4E0A\u7684\u76F8\u540C\u670D\u52A1\u540D\u4F1A\u62A5\u9519
spring.main.allow-bean-definition-overriding=true
\ No newline at end of file
spring.application.name=car-service-manager
server.port=8092
#nacos\u914D\u7F6E
spring.cloud.nacos.config.group=BHG_GROUP
spring.cloud.nacos.config.server-addr=192.168.0.63:8848
#configClient
spring.cloud.config.name=${spring.application.name}
spring.cloud.config.profile=test
spring.cloud.config.label=master
spring.cloud.config.uri=http://configserver.glsx.com/
##\u65e5\u5fd7 test
#spring.cloud.config.name=${spring.application.name}
#spring.cloud.config.profile=test
#spring.cloud.config.label=master
#spring.cloud.config.uri=http://configserver.glsx.com/
##\u65E5\u5FD7 test
logging.level.com.glsx.manager=DEBUG
logging.path=/data/java_log/jetty/carService/car-service-manager
logging.config=classpath:logback.xml
<?xml version="1.0" encoding="UTF-8"?>
<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>
<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>
<artifactId>car-service</artifactId>
<groupId>com.glsx</groupId>
<version>1.0.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>com.glsx</groupId>
<artifactId>car-service-ordercenter</artifactId>
<version>1.0.0</version>
<packaging>war</packaging>
<groupId>com.glsx</groupId>
<artifactId>car-service-ordercenter</artifactId>
<version>1.0.0</version>
<packaging>war</packaging>
<name>car-service-ordercenter</name>
<!-- FIXME change it to the project's website -->
<url>http://www.example.com</url>
<name>car-service-ordercenter</name>
<url>http://www.example.com</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>com.glsx</groupId>
<artifactId>car-service-common</artifactId>
<version>1.0.0</version>
</dependency>
<!-- spring-boot-devtools -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>test</scope>
</dependency>
<!-- EurekaClient -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency>
<!-- ConfigClient -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-config-client</artifactId>
</dependency>
<!-- hibernate.validator -->
<dependency>
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator</artifactId>
<version>6.0.13.Final</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>28.1-jre</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>4.0.0</version>
</dependency>
</dependencies>
<dependencies>
<dependency>
<groupId>com.glsx</groupId>
<artifactId>car-service-common</artifactId>
<version>1.0.0</version>
</dependency>
<build>
<pluginManagement><!-- lock down plugins versions to avoid using Maven
defaults (may be moved to parent pom) -->
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<!-- spring-boot-devtools -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>test</scope>
</dependency>
<!--<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency>-->
<!--<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-config-client</artifactId>
</dependency>-->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>28.1-jre</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>4.0.0</version>
</dependency>
</dependencies>
<build>
<pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
......@@ -7,7 +7,6 @@ import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;
......@@ -16,15 +15,14 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
*
* @Title Application.java
* @Package com.glsx.ordercenter
* @Description TODO
* @author zhanghj
* @date 2019年1月19日 下午3:31:02
* @Description 包活干订单管理服务启动类
* @author think.wang
* @date 2020年8月14日 下午3:31:02
* @version 1.0.0
*/
@SpringBootApplication
@ComponentScan("com.glsx")
@ServletComponentScan
@EnableEurekaClient
@EnableDiscoveryClient
@EnableTransactionManagement
@EnableFeignClients(basePackages = {"com.glsx.common.feign.client"})
......@@ -46,4 +44,5 @@ public class Application extends SpringBootServletInitializer {
protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
return builder.sources(Application.class);
}
}
##\u5f00\u53d1\u4e2d\u9700\u8981\u8bfb\u53d6\u7684\u914d\u7f6e\u6587\u4ef6
#spring.profiles.active=test
logging.level.com.glsx.ordercenter=DEBUG
##\u5F00\u53D1\u4E2D\u9700\u8981\u8BFB\u53D6\u7684\u914D\u7F6E\u6587\u4EF6
spring.profiles.active=dev
server.servlet.context-path=/carservice/ordercenter
#session\u8d85\u65f6\u65f6\u95f4
#session\u8D85\u65F6\u65F6\u95F4
server.servlet.session.timeout=28800
#get\u8bf7\u6c42\u53c2\u6570\u53c2\u6570
#get\u8BF7\u6C42\u53C2\u6570\u53C2\u6570
server.max-http-header-size=20480
#\u6307\u5b9adate\u8f93\u51fa\u683c\u5f0f\u4e3ayyyy-MM-dd HH:mm:ss
#\u6307\u5B9Adate\u8F93\u51FA\u683C\u5F0F\u4E3Ayyyy-MM-dd HH:mm:ss
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
spring.jackson.time-zone=GMT+8
##feign\u7684\u914d\u7f6e
#feign\u9ed8\u8ba4\u7684http
##feign\u7684\u914D\u7F6E
#feign\u9ED8\u8BA4\u7684http
#feign.httpclient.enabled=false
#feign\u542f\u7528okhttp
#feign\u542F\u7528okhttp
#feign.okhttp.enabled=true
# feign\u8C03\u7528\u591A\u4E2A\u63A5\u53E3\u4E0A\u7684\u76F8\u540C\u670D\u52A1\u540D\u4F1A\u62A5\u9519
spring.main.allow-bean-definition-overriding=true
\ No newline at end of file
spring.application.name=car-service-ordercenter
server.port=8094
#nacos\u914D\u7F6E
spring.cloud.nacos.config.group=BHG_GROUP
#spring.cloud.nacos.config.server-addr=192.168.3.145:8848
spring.cloud.nacos.config.server-addr=192.168.0.63:8848
#configClient
spring.cloud.config.name=${spring.application.name}
spring.cloud.config.profile=local
spring.cloud.config.label=master
spring.cloud.config.uri=http://localhost:8765/
##\u65e5\u5fd7 test
logging.level.com.glsx.ordercenter=INFO
#spring.cloud.config.name=${spring.application.name}
#spring.cloud.config.profile=local
#spring.cloud.config.label=master
#spring.cloud.config.uri=http://localhost:8765/
##\u65E5\u5FD7 test
logging.level.com.glsx.ordercenter=DEBUG
logging.path=/data/java_log/jetty/carService/car-service-ordercenter
logging.config=classpath:logback.xml
logging.config=classpath:logback.xml
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<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>
<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>
<artifactId>car-service</artifactId>
<groupId>com.glsx</groupId>
<version>1.0.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>com.glsx</groupId>
<artifactId>car-service-publicservice</artifactId>
<version>1.0.0</version>
<packaging>war</packaging>
<groupId>com.glsx</groupId>
<artifactId>car-service-publicservice</artifactId>
<version>1.0.0</version>
<packaging>war</packaging>
<name>car-service-publicservice</name>
<!-- FIXME change it to the project's website -->
<url>http://www.example.com</url>
<name>car-service-publicservice</name>
<url>http://www.example.com</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<zkclient.version>0.1</zkclient.version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<zkclient.version>0.1</zkclient.version>
<zookeeper.version>3.4.5</zookeeper.version>
<dubbo.version>2.5.3</dubbo.version>
<cloudframework.version>2.1.3.RELEASE</cloudframework.version>
</properties>
</properties>
<dependencies>
<dependency>
<dependencies>
<dependency>
<groupId>com.alibaba.spring.boot</groupId>
<artifactId>dubbo-spring-boot-starter</artifactId>
<version>2.0.0</version>
......@@ -44,32 +42,18 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<!-- spring-boot-devtools -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<artifactId>spring-boot-devtools</artifactId>
<scope>test</scope>
</dependency>
<!-- spring-boot-devtools -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<!--<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-freemarker</artifactId>
</dependency>
<!-- EurekaClient -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency>
<!-- ConfigClient -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-config-client</artifactId>
</dependency>
<dependency>
<groupId>com.github.sgroschupf</groupId>
</dependency>-->
<dependency>
<groupId>com.github.sgroschupf</groupId>
<artifactId>zkclient</artifactId>
<version>${zkclient.version}</version>
</dependency>
......@@ -91,75 +75,55 @@
<groupId>javax.jms</groupId>
</exclusion>
<exclusion>
<artifactId>slf4j-log4j12</artifactId>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
</exclusions>
</dependency>
<!---->
<!--<dependency>-->
<!--<groupId>com.alibaba</groupId>-->
<!--<artifactId>dubbo</artifactId>-->
<!--<version>2.5.3</version>-->
<!--<exclusions>-->
<!--<exclusion>-->
<!--<groupId>org.springframework</groupId>-->
<!--<artifactId>spring</artifactId>-->
<!--</exclusion>-->
<!--<exclusion>-->
<!--<artifactId>javassist</artifactId>-->
<!--<groupId>org.javassist</groupId>-->
<!--</exclusion>-->
<!--</exclusions>-->
<!--</dependency>-->
<!-- 汽车品牌 相关dubbo -->
<!-- 汽车品牌相关dubbo -->
<dependency>
<groupId>com.glsx.biz</groupId>
<artifactId>biz-base-service</artifactId>
<version>2.2.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.glsx.biz</groupId>
<artifactId>biz-base-service</artifactId>
<version>2.2.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>net.glxn</groupId>
<artifactId>qrgen</artifactId>
<version>1.4</version>
</dependency>
<!-- fastdfs -->
<!-- fast dfs -->
<dependency>
<groupId>com.github.tobato</groupId>
<artifactId>fastdfs-client</artifactId>
<version>1.26.2</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<groupId>com.github.tobato</groupId>
<artifactId>fastdfs-client</artifactId>
<version>1.26.2</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<build>
<pluginManagement><!-- lock down plugins versions to avoid using Maven
defaults (may be moved to parent pom) -->
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<fork>true</fork>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
\ No newline at end of file
......@@ -9,10 +9,10 @@ import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.ImportResource;
import org.springframework.transaction.annotation.EnableTransactionManagement;
/**
......@@ -26,13 +26,12 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
@SpringBootApplication
@ComponentScan("com.glsx")
@ServletComponentScan
@EnableEurekaClient
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.glsx.common.feign.client"})
@EnableTransactionManagement
@EnableDubboConfiguration
@MapperScan(basePackages = {"com.glsx.publicservice.mapper"})
//@ImportResource(locations = { "classpath:config/applicationContext-dubbo.xml"})
@ImportResource(locations = { "classpath:config/applicationContext-dubbo.xml"})
@Import(FdfsClientConfig.class)
public class Application extends SpringBootServletInitializer {
......
##\u5f00\u53d1\u4e2d\u9700\u8981\u8bfb\u53d6\u7684\u914d\u7f6e\u6587\u4ef6
#spring.profiles.active=test
##\u5F00\u53D1\u4E2D\u9700\u8981\u8BFB\u53D6\u7684\u914D\u7F6E\u6587\u4EF6
spring.profiles.active=dev
server.servlet.context-path=/carservice/publicservice
#session\u8d85\u65f6\u65f6\u95f4
#session\u8D85\u65F6\u65F6\u95F4
server.servlet.session.timeout=28800
#\u6307\u5b9adate\u8f93\u51fa\u683c\u5f0f\u4e3ayyyy-MM-dd HH:mm:ss
#\u6307\u5B9Adate\u8F93\u51FA\u683C\u5F0F\u4E3Ayyyy-MM-dd HH:mm:ss
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
spring.jackson.time-zone=GMT+8
##feign\u7684\u914d\u7f6e
#feign\u9ed8\u8ba4\u7684http
##feign\u7684\u914D\u7F6E
#feign\u9ED8\u8BA4\u7684http
#feign.httpclient.enabled=false
#feign\u542f\u7528okhttp
#feign.okhttp.enabled=true
\ No newline at end of file
#feign\u542F\u7528okhttp
#feign.okhttp.enabled=true
# feign\u8C03\u7528\u591A\u4E2A\u63A5\u53E3\u4E0A\u7684\u76F8\u540C\u670D\u52A1\u540D\u4F1A\u62A5\u9519
spring.main.allow-bean-definition-overriding=true
\ No newline at end of file
spring.application.name=car-service-publicservice
server.port=8096
#nacos\u914D\u7F6E
spring.cloud.nacos.config.group=BHG_GROUP
spring.cloud.nacos.config.server-addr=192.168.0.63:8848
#configClient
#configClient
spring.cloud.config.name=${spring.application.name}
spring.cloud.config.profile=test
spring.cloud.config.label=master
spring.cloud.config.uri=http://configserver.glsx.com/
##\u65e5\u5fd7 test
#spring.cloud.config.name=${spring.application.name}
#spring.cloud.config.profile=local
#spring.cloud.config.label=master
#spring.cloud.config.uri=http://localhost:8765/
##\u65E5\u5FD7 test
logging.level.com.glsx.publicservice=DEBUG
logging.path=/data/java_log/jetty/carService/car-service-publicservice
logging.config=classpath:logback.xml
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>car-service-task</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>
<?xml version="1.0" encoding="UTF-8"?>
<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>
<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>
<artifactId>car-service</artifactId>
<groupId>com.glsx</groupId>
<version>1.0.0</version>
</parent>
<groupId>com.glsx</groupId>
<artifactId>car-service-task</artifactId>
<version>1.0.0</version>
<packaging>war</packaging>
<name>car-service-task</name>
<url>http://www.example.com</url>
<groupId>com.glsx</groupId>
<artifactId>car-service-task</artifactId>
<version>1.0.0</version>
<packaging>war</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<name>car-service-task</name>
<!-- FIXME change it to the project's website -->
<url>http://www.example.com</url>
<dependencies>
<dependency>
<groupId>com.glsx</groupId>
<artifactId>car-service-common</artifactId>
<version>1.0.0</version>
</dependency>
<!-- spring-boot-devtools -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>test</scope>
</dependency>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-quartz</artifactId>
</dependency>
</dependencies>
<dependencies>
<dependency>
<groupId>com.glsx</groupId>
<artifactId>car-service-common</artifactId>
<version>1.0.0</version>
</dependency>
<!-- spring-boot-devtools -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>test</scope>
</dependency>
<!-- EurekaClient -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency>
<!-- ConfigClient -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-config-client</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-quartz</artifactId>
</dependency>
</dependencies>
<build>
<pluginManagement><!-- lock down plugins versions to avoid using Maven
defaults (may be moved to parent pom) -->
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<fork>true</fork>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
......@@ -7,7 +7,6 @@ import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;
......@@ -23,8 +22,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
*/
@SpringBootApplication
@ServletComponentScan
@EnableEurekaClient
@EnableTransactionManagement
@EnableTransactionManagement
@EnableDiscoveryClient
@ComponentScan(basePackages="com.glsx")
@EnableFeignClients(basePackages = {"com.glsx.common.feign.client"})
......
logging.level.com.glsx.ordercenter=DEBUG
server.servlet.context-path=/carservice/task
spring.profiles.active=dev
#\u6307\u5b9adate\u8f93\u51fa\u683c\u5f0f\u4e3ayyyy-MM-dd HH:mm:ss
#\u6307\u5B9Adate\u8F93\u51FA\u683C\u5F0F\u4E3Ayyyy-MM-dd HH:mm:ss
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
spring.jackson.time-zone=GMT+8
##feign\u7684\u914d\u7f6e
#feign\u9ed8\u8ba4\u7684http
##feign\u7684\u914D\u7F6E
#feign\u9ED8\u8BA4\u7684http
#feign.httpclient.enabled=false
#feign\u542f\u7528okhttp
#feign\u542F\u7528okhttp
#feign.okhttp.enabled=true
# feign\u8C03\u7528\u591A\u4E2A\u63A5\u53E3\u4E0A\u7684\u76F8\u540C\u670D\u52A1\u540D\u4F1A\u62A5\u9519
spring.main.allow-bean-definition-overriding=true
##quartz
# QUARTZ SCHEDULER (QuartzProperties)
# Prefix for single-line comments in SQL initialization scripts.
......
spring.application.name=car-service-task
server.port=8098
#nacos\u914D\u7F6E
spring.cloud.nacos.config.group=BHG_GROUP
spring.cloud.nacos.config.server-addr=192.168.0.63:8848
#configClient
spring.cloud.config.name=${spring.application.name}
spring.cloud.config.profile=test
spring.cloud.config.label=master
spring.cloud.config.uri=http://configserver.glsx.com/
##\u65e5\u5fd7 test
#spring.cloud.config.name=${spring.application.name}
#spring.cloud.config.profile=test
#spring.cloud.config.label=master
#spring.cloud.config.uri=http://configserver.glsx.com/
##\u65E5\u5FD7 test
logging.level.com.glsx.task=DEBUG
logging.path=/data/java_log/jetty/carService/car-service-task
logging.config=classpath:logback.xml
......@@ -13,15 +13,11 @@
<artifactId>car-service-usercenter</artifactId>
<version>1.0.0</version>
<packaging>war</packaging>
<name>car-service-usercenter</name>
<!-- FIXME change it to the project's website -->
<url>http://www.example.com</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<shiro.version>1.4.0</shiro.version>
</properties>
......@@ -35,6 +31,10 @@
<artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId>
</exclusion>
<exclusion>
<groupId>com.glsx</groupId>
<artifactId>rest-admin-web</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- spring-boot-devtools -->
......@@ -43,23 +43,6 @@
<artifactId>spring-boot-devtools</artifactId>
<scope>test</scope>
</dependency>
<!-- EurekaClient -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency>
<!-- ConfigClient -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-config-client</artifactId>
</dependency>
<!-- hibernate.validator -->
<dependency>
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator</artifactId>
<version>6.0.13.Final</version>
</dependency>
<!-- springboot使用Shiro框架 -->
<dependency>
<groupId>org.apache.shiro</groupId>
......@@ -77,7 +60,12 @@
<artifactId>shiro-redis</artifactId>
<version>3.2.2</version>
</dependency>
<!--shiro-redis中jedis版本太高-->
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>2.9.0</version>
</dependency>
<dependency>
<groupId>com.google.zxing</groupId>
<artifactId>core</artifactId>
......@@ -107,24 +95,23 @@
</dependencies>
<build>
<pluginManagement><!-- lock down plugins versions to avoid using Maven
defaults (may be moved to parent pom) -->
<pluginManagement>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
<fork>true</fork>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
......
......@@ -7,7 +7,6 @@ import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;
......@@ -23,14 +22,12 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
*/
@SpringBootApplication
@ComponentScan("com.glsx")
@MapperScan(basePackages={"com.glsx.usercenter.mapper"})
@ServletComponentScan
@EnableEurekaClient
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.glsx.common.feign.client"})
@EnableTransactionManagement
@MapperScan(basePackages={"com.glsx.usercenter.mapper"})
@EnableTransactionManagement
public class Application extends SpringBootServletInitializer {
/**
* 本地启动 ,内嵌tomcat方式
* @param args
......
##\u5f00\u53d1\u4e2d\u9700\u8981\u8bfb\u53d6\u7684\u914d\u7f6e\u6587\u4ef6
#spring.profiles.active=test
##\u5F00\u53D1\u4E2D\u9700\u8981\u8BFB\u53D6\u7684\u914D\u7F6E\u6587\u4EF6
spring.profiles.active=dev
server.servlet.context-path=/carservice/usercenter
spring.devtools.restart.enabled=true
#session\u8d85\u65f6\u65f6\u95f4
#session\u8D85\u65F6\u65F6\u95F4
server.servlet.session.timeout=28800
##shiro\u914d\u7f6e
# \u767b\u5f55\u5730\u5740
##shiro\u914D\u7F6E
# \u767B\u5F55\u5730\u5740
shiro.user.loginUrl=/user/login
# \u6743\u9650\u8ba4\u8bc1\u5931\u8d25\u5730\u5740
# \u6743\u9650\u8BA4\u8BC1\u5931\u8D25\u5730\u5740
shiro.user.unauthorizedUrl=/user/unauth
# Session\u8d85\u65f6\u65f6\u95f4\uff08\u9ed8\u8ba430\u5206\u949f\uff09
# Session\u8D85\u65F6\u65F6\u95F4\uFF08\u9ED8\u8BA430\u5206\u949F\uFF09
shiro.session.expireTime=28800
# shiro\u4e2dredis\u8fde\u63a5\u7684\u8fc7\u671f\u65f6\u95f4 ms
# shiro\u4E2Dredis\u8FDE\u63A5\u7684\u8FC7\u671F\u65F6\u95F4 ms
shiro.redis.timeout=6000
#\u6307\u5b9adate\u8f93\u51fa\u683c\u5f0f\u4e3ayyyy-MM-dd HH:mm:ss
#\u6307\u5B9Adate\u8F93\u51FA\u683C\u5F0F\u4E3Ayyyy-MM-dd HH:mm:ss
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
spring.jackson.time-zone=GMT+8
logging.level.com.glsx.usercenter=DEBUG
##feign\u7684\u914d\u7f6e
#feign\u9ed8\u8ba4\u7684http
##feign\u7684\u914D\u7F6E
#feign\u9ED8\u8BA4\u7684http
#feign.httpclient.enabled=false
#feign\u542f\u7528okhttp
#feign.okhttp.enabled=true
\ No newline at end of file
#feign\u542F\u7528okhttp
#feign.okhttp.enabled=true
# feign\u8C03\u7528\u591A\u4E2A\u63A5\u53E3\u4E0A\u7684\u76F8\u540C\u670D\u52A1\u540D\u4F1A\u62A5\u9519
spring.main.allow-bean-definition-overriding=true
\ No newline at end of file
spring.application.name=car-service-usercenter
server.port=8090
#nacos\u914D\u7F6E
spring.cloud.nacos.config.group=BHG_GROUP
spring.cloud.nacos.config.server-addr=192.168.0.63:8848
#configClient
#configClient
spring.cloud.config.name=${spring.application.name}
spring.cloud.config.profile=test
spring.cloud.config.label=master
spring.cloud.config.uri=http://configserver.glsx.com/
##\u65e5\u5fd7 test
#spring.cloud.config.name=${spring.application.name}
#spring.cloud.config.profile=local
#spring.cloud.config.label=master
#spring.cloud.config.uri=http://localhost:8765/
##\u65E5\u5FD7 test
logging.level.com.glsx.usercenter=DEBUG
logging.path=/data/java_log/jetty/carService/car-service-usercenter
logging.config=classpath:logback.xml
......
<?xml version="1.0" encoding="UTF-8"?>
<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>
<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">
<!--<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.6.RELEASE</version>
<relativePath/> &lt;!&ndash; lookup parent from repository &ndash;&gt;
</parent>-->
<parent>
<groupId>com.glsx</groupId>
<artifactId>rest-framework-admin</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath/>
</parent>
<groupId>com.glsx</groupId>
<artifactId>car-service</artifactId>
<version>1.0.0</version>
<packaging>pom</packaging>
<groupId>com.glsx</groupId>
<artifactId>car-service</artifactId>
<version>1.0.0</version>
<packaging>pom</packaging>
<modelVersion>4.0.0</modelVersion>
<name>car-service</name>
<url>http://www.example.com</url>
<description>汽车服务共享平台</description>
<name>car-service</name>
<!-- FIXME change it to the project's website -->
<url>http://www.example.com</url>
<description>汽车服务共享平台</description>
<modules>
<module>car-service-manager</module>
<module>car-service-common</module>
<module>car-service-generator</module>
<module>car-service-usercenter</module>
<module>car-service-ordercenter</module>
<module>car-service-publicservice</module>
<module>car-service-task</module>
<module>car-service-gateway</module>
</modules>
<modules>
<module>car-service-manager</module>
<module>car-service-common</module>
<module>car-service-generator</module>
<module>car-service-usercenter</module>
<module>car-service-ordercenter</module>
<module>car-service-publicservice</module>
<module>car-service-task</module>
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<slf4j.version>1.7.25</slf4j.version>
<mybatis.springboot.version>1.3.1</mybatis.springboot.version>
<pagehelper.springboot.version>1.2.4</pagehelper.springboot.version>
<mysql.connector.version>5.1.47</mysql.connector.version>
<druid.version>1.1.12</druid.version>
</properties>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<slf4j.version>1.7.25</slf4j.version>
<druid.version>1.1.12</druid.version>
</properties>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.6.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Finchley.SR2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- SpringBoot Web容器 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Hoxton.SR2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>com.glsx</groupId>
<artifactId>rest-admin-mybatis</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<!-- feign -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
</dependency>
<!--druid -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>${mybatis.springboot.version}</version>
</dependency>
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>${pagehelper.springboot.version}</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.connector.version}</version>
</dependency>
<!--druid -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid</artifactId>
<version>${druid.version}</version>
</dependency>
<!-- 日志工具-->
<groupId>com.alibaba</groupId>
<artifactId>druid</artifactId>
<version>${druid.version}</version>
</dependency>
<!-- 日志工具-->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-pool2 -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
<version>2.6.0</version>
</dependency>
</dependencies>
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-pool2 -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
<version>2.6.0</version>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.5</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.5</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!