|
@@ -4,7 +4,9 @@
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
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>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
+ <groupId>com.diagbot</groupId>
|
|
<artifactId>cdssman-service</artifactId>
|
|
<artifactId>cdssman-service</artifactId>
|
|
|
|
+ <version>0.0.1-SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
<name>cdssman-service</name>
|
|
<name>cdssman-service</name>
|
|
@@ -61,11 +63,21 @@
|
|
<groupId>org.springframework.boot</groupId>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
</dependency>
|
|
</dependency>
|
|
|
|
+ <!--hystrix-dashboard-->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
|
+ <artifactId>spring-cloud-starter-netflix-hystrix-dashboard</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+ <!--hystrix -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
|
+ <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
|
|
<!-- zipkin-->
|
|
<!-- zipkin-->
|
|
<!--<dependency>-->
|
|
<!--<dependency>-->
|
|
- <!--<groupId>org.springframework.cloud</groupId>-->
|
|
|
|
- <!--<artifactId>spring-cloud-starter-zipkin</artifactId>-->
|
|
|
|
|
|
+ <!--<groupId>org.springframework.cloud</groupId>-->
|
|
|
|
+ <!--<artifactId>spring-cloud-starter-zipkin</artifactId>-->
|
|
<!--</dependency>-->
|
|
<!--</dependency>-->
|
|
|
|
|
|
<!--swagger-->
|
|
<!--swagger-->
|
|
@@ -78,27 +90,44 @@
|
|
<artifactId>springfox-swagger-ui</artifactId>
|
|
<artifactId>springfox-swagger-ui</artifactId>
|
|
</dependency>
|
|
</dependency>
|
|
<!--database-->
|
|
<!--database-->
|
|
- <!--<dependency>
|
|
|
|
|
|
+ <dependency>
|
|
<groupId>org.neo4j</groupId>
|
|
<groupId>org.neo4j</groupId>
|
|
<artifactId>neo4j-jdbc-driver</artifactId>
|
|
<artifactId>neo4j-jdbc-driver</artifactId>
|
|
<version>3.4.0</version>
|
|
<version>3.4.0</version>
|
|
- </dependency>-->
|
|
|
|
|
|
+ </dependency>
|
|
<!--security-->
|
|
<!--security-->
|
|
<dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-oauth2</artifactId>
|
|
<artifactId>spring-cloud-starter-oauth2</artifactId>
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
|
|
|
+ <!-- mq -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-starter-amqp</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
<dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<artifactId>lombok</artifactId>
|
|
<optional>true</optional>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>net.logstash.logback</groupId>
|
|
|
|
+ <artifactId>logstash-logback-encoder</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
|
+ <artifactId>spring-cloud-starter-bus-amqp</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
<!-- easypoi -->
|
|
<!-- easypoi -->
|
|
<dependency>
|
|
<dependency>
|
|
<groupId>cn.afterturn</groupId>
|
|
<groupId>cn.afterturn</groupId>
|
|
<artifactId>easypoi-spring-boot-starter</artifactId>
|
|
<artifactId>easypoi-spring-boot-starter</artifactId>
|
|
|
|
+ <version>${easypoi.version}</version>
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
|
<!-- springboot整合mybatis(核心就这一个) -->
|
|
<!-- springboot整合mybatis(核心就这一个) -->
|
|
@@ -108,6 +137,11 @@
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
|
+ <artifactId>spring-cloud-starter-stream-rabbit</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
<dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-cache</artifactId>
|
|
<artifactId>spring-boot-starter-cache</artifactId>
|
|
@@ -140,6 +174,7 @@
|
|
<dependency>
|
|
<dependency>
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
|
+ <version>${mybatis-spring-boot.version}</version>
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
|
<!--多数据源-->
|
|
<!--多数据源-->
|
|
@@ -185,64 +220,64 @@
|
|
</dependency>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencies>
|
|
|
|
|
|
- <build>
|
|
|
|
|
|
+ <build>
|
|
<plugins>
|
|
<plugins>
|
|
- <plugin>
|
|
|
|
- <artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
- <executions>
|
|
|
|
- <execution>
|
|
|
|
- <id>copy</id>
|
|
|
|
- <phase>package</phase>
|
|
|
|
- <goals>
|
|
|
|
- <goal>copy-dependencies</goal>
|
|
|
|
- </goals>
|
|
|
|
- <configuration>
|
|
|
|
- <outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
|
|
- </configuration>
|
|
|
|
- </execution>
|
|
|
|
- </executions>
|
|
|
|
- </plugin>
|
|
|
|
- <plugin>
|
|
|
|
- <artifactId>maven-resources-plugin</artifactId>
|
|
|
|
- <executions>
|
|
|
|
- <execution>
|
|
|
|
- <id>copy-resources</id>
|
|
|
|
- <phase>package</phase>
|
|
|
|
- <goals>
|
|
|
|
- <goal>copy-resources</goal>
|
|
|
|
- </goals>
|
|
|
|
- <configuration>
|
|
|
|
- <resources>
|
|
|
|
- <resource>
|
|
|
|
- <directory>src/main/resources</directory>
|
|
|
|
- </resource>
|
|
|
|
- </resources>
|
|
|
|
- <outputDirectory>${project.build.directory}/resources</outputDirectory>
|
|
|
|
- </configuration>
|
|
|
|
- </execution>
|
|
|
|
- </executions>
|
|
|
|
- </plugin>
|
|
|
|
- <plugin>
|
|
|
|
- <artifactId>maven-jar-plugin</artifactId>
|
|
|
|
- <configuration>
|
|
|
|
- <excludes>
|
|
|
|
- <exclude>mapper</exclude>
|
|
|
|
- <exclude>*.**</exclude>
|
|
|
|
- <exclude>**/*.xml</exclude>
|
|
|
|
- <exclude>**/*.yml</exclude>
|
|
|
|
- </excludes>
|
|
|
|
- <archive>
|
|
|
|
- <manifest>
|
|
|
|
- <mainClass>${main-class}</mainClass>
|
|
|
|
- <addClasspath>true</addClasspath>
|
|
|
|
- <classpathPrefix>lib/</classpathPrefix>
|
|
|
|
- <useUniqueVersions>false</useUniqueVersions>
|
|
|
|
- </manifest>
|
|
|
|
- </archive>
|
|
|
|
- <outputDirectory>${project.build.directory}</outputDirectory>
|
|
|
|
- </configuration>
|
|
|
|
- </plugin>
|
|
|
|
- </plugins>
|
|
|
|
|
|
+ <plugin>
|
|
|
|
+ <artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
+ <executions>
|
|
|
|
+ <execution>
|
|
|
|
+ <id>copy</id>
|
|
|
|
+ <phase>package</phase>
|
|
|
|
+ <goals>
|
|
|
|
+ <goal>copy-dependencies</goal>
|
|
|
|
+ </goals>
|
|
|
|
+ <configuration>
|
|
|
|
+ <outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
|
|
+ </configuration>
|
|
|
|
+ </execution>
|
|
|
|
+ </executions>
|
|
|
|
+ </plugin>
|
|
|
|
+ <plugin>
|
|
|
|
+ <artifactId>maven-resources-plugin</artifactId>
|
|
|
|
+ <executions>
|
|
|
|
+ <execution>
|
|
|
|
+ <id>copy-resources</id>
|
|
|
|
+ <phase>package</phase>
|
|
|
|
+ <goals>
|
|
|
|
+ <goal>copy-resources</goal>
|
|
|
|
+ </goals>
|
|
|
|
+ <configuration>
|
|
|
|
+ <resources>
|
|
|
|
+ <resource>
|
|
|
|
+ <directory>src/main/resources</directory>
|
|
|
|
+ </resource>
|
|
|
|
+ </resources>
|
|
|
|
+ <outputDirectory>${project.build.directory}/resources</outputDirectory>
|
|
|
|
+ </configuration>
|
|
|
|
+ </execution>
|
|
|
|
+ </executions>
|
|
|
|
+ </plugin>
|
|
|
|
+ <plugin>
|
|
|
|
+ <artifactId>maven-jar-plugin</artifactId>
|
|
|
|
+ <configuration>
|
|
|
|
+ <excludes>
|
|
|
|
+ <exclude>mapper</exclude>
|
|
|
|
+ <exclude>*.**</exclude>
|
|
|
|
+ <exclude>**/*.xml</exclude>
|
|
|
|
+ <exclude>**/*.yml</exclude>
|
|
|
|
+ </excludes>
|
|
|
|
+ <archive>
|
|
|
|
+ <manifest>
|
|
|
|
+ <mainClass>${main-class}</mainClass>
|
|
|
|
+ <addClasspath>true</addClasspath>
|
|
|
|
+ <classpathPrefix>lib/</classpathPrefix>
|
|
|
|
+ <useUniqueVersions>false</useUniqueVersions>
|
|
|
|
+ </manifest>
|
|
|
|
+ </archive>
|
|
|
|
+ <outputDirectory>${project.build.directory}</outputDirectory>
|
|
|
|
+ </configuration>
|
|
|
|
+ </plugin>
|
|
|
|
+ </plugins>
|
|
</build>
|
|
</build>
|
|
|
|
|
|
</project>
|
|
</project>
|