瀏覽代碼

first commit

15810770710@163.com 3 年之前
父節點
當前提交
584cf84a03
共有 1 個文件被更改,包括 153 次插入253 次删除
  1. 153 253
      pom.xml

+ 153 - 253
pom.xml

@@ -1,328 +1,228 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?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">
+<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
     <parent>
     <parent>
-        <artifactId>yuncredit-public</artifactId>
-        <groupId>com.xinhuadata.yuncredit</groupId>
-        <version>1.0.0</version>
+        <groupId>org.springframework.boot</groupId>
+        <artifactId>spring-boot-starter-parent</artifactId>
+        <version>2.0.6.RELEASE</version>
+        <relativePath/> <!-- lookup parent from repository -->
     </parent>
     </parent>
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>credit-biz</artifactId>
-    <version>1.0.5</version>
+    <groupId>info.aspirecn.iov.sjjh</groupId>
+    <artifactId>iov-sjjh-servicenode-supplier-10000053</artifactId>
+    <version>1.0.1</version>
+    <name>iov-sjjh-servicenode-supplier-10000053</name>
+    <description>Demo project for Spring Boot</description>
     <properties>
     <properties>
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-        <jackson.version>2.2.2</jackson.version>
-        <credit-common.version>1.2.1</credit-common.version>
+        <java.version>1.8</java.version>
     </properties>
     </properties>
     <dependencies>
     <dependencies>
-        <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
-        <dependency>
-            <groupId>com.alibaba</groupId>
-            <artifactId>fastjson</artifactId>
-            <version>1.2.60</version>
-        </dependency>
-        <dependency>
-            <groupId>com.codahale.metrics</groupId>
-            <artifactId>metrics-core</artifactId>
-            <version>3.0.1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.httpcomponents</groupId>
-            <artifactId>httpclient</artifactId>
-            <version>4.5</version>
-        </dependency>
-        <dependency>
-            <groupId>com.yuncredit.extend</groupId>
-            <artifactId>wndc-commons</artifactId>
-            <version>1.0.0</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.httpcomponents</groupId>
-            <artifactId>httpcore</artifactId>
-            <version>4.4.1</version>
-        </dependency>
-        <dependency>
-            <groupId>com.xinhuadata.yuncredit</groupId>
-            <artifactId>credit-common</artifactId>
-            <version>${credit-common.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.zookeeper</groupId>
-            <artifactId>zookeeper</artifactId>
-            <version>3.4.6</version>
-        </dependency>
         <dependency>
         <dependency>
-            <groupId>dom4j</groupId>
-            <artifactId>dom4j</artifactId>
-            <version>1.6.1</version>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-data-redis</artifactId>
         </dependency>
         </dependency>
         <dependency>
         <dependency>
-            <groupId>joda-time</groupId>
-            <artifactId>joda-time</artifactId>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-web</artifactId>
         </dependency>
         </dependency>
         <dependency>
         <dependency>
-            <groupId>com.rabbitmq</groupId>
-            <artifactId>amqp-client</artifactId>
-            <version>3.6.5</version>
+            <groupId>org.springframework.cloud</groupId>
+            <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
         </dependency>
         </dependency>
         <dependency>
         <dependency>
-            <groupId>org.apache.tomcat.maven</groupId>
-            <artifactId>tomcat7-maven-plugin</artifactId>
-            <version>2.2</version>
-        </dependency>
-        <dependency>
-            <groupId>etc-commons-logging</groupId>
-            <artifactId>etc-commons-logging</artifactId>
-            <version>1.2</version>
-            <scope>system</scope>
-            <systemPath>${project.basedir}/lib/etc-commons-logging-1.2.jar</systemPath>
-        </dependency>
-        <dependency>
-            <groupId>etc.httpclient</groupId>
-            <artifactId>etc.httpclient</artifactId>
-            <version>4.5</version>
-            <scope>system</scope>
-            <systemPath>${project.basedir}/lib/etc-httpclient-4.5.jar</systemPath>
-        </dependency>
-        <dependency>
-            <groupId>etc.httpcore</groupId>
-            <artifactId>etc.httpcore</artifactId>
-            <version>4.4</version>
-            <scope>system</scope>
-            <systemPath>${project.basedir}/lib/etc-httpcore-4.4.jar</systemPath>
-        </dependency>
-        <dependency>
-            <groupId>etc.httpmime</groupId>
-            <artifactId>etc.httpmime</artifactId>
-            <version>4.5</version>
-            <scope>system</scope>
-            <systemPath>${project.basedir}/lib/etc-httpmime-4.5.jar</systemPath>
-        </dependency>
-        <dependency>
-            <groupId>etc.jackson.annotations</groupId>
-            <artifactId>etc.jackson.annotations</artifactId>
-            <version>2.8</version>
-            <scope>system</scope>
-            <systemPath>${project.basedir}/lib/etc-jackson-annotations-2.8.jar</systemPath>
-        </dependency>
-        <dependency>
-            <groupId>etc.jackson.core</groupId>
-            <artifactId>etc.jackson.core</artifactId>
-            <version>2.8</version>
-            <scope>system</scope>
-            <systemPath>${project.basedir}/lib/etc-jackson-core-2.8.jar</systemPath>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-test</artifactId>
         </dependency>
         </dependency>
+
         <dependency>
         <dependency>
-            <groupId>etc.jackson.databind</groupId>
-            <artifactId>etc.jackson.databind</artifactId>
-            <version>2.8</version>
-            <scope>system</scope>
-            <systemPath>${project.basedir}/lib/etc-jackson-databind-2.8.jar</systemPath>
+            <groupId>com.squareup.okhttp3</groupId>
+            <artifactId>okhttp</artifactId>
         </dependency>
         </dependency>
+
         <dependency>
         <dependency>
-            <groupId>etc.jackson.datatype.jsr310</groupId>
-            <artifactId>etc.jackson.datatype.jsr310</artifactId>
-            <version>2.8</version>
-            <scope>system</scope>
-            <systemPath>${project.basedir}/lib/etc-jackson-datatype-jsr310-2.8.jar</systemPath>
+            <groupId>info.aspirecn.rdc</groupId>
+            <artifactId>aspirecloud-commons-sleuthlog-starter</artifactId>
+            <version>5.0.1</version>
         </dependency>
         </dependency>
+
+        <!--错误日志-->
         <dependency>
         <dependency>
-            <groupId>etc.sdk.common</groupId>
-            <artifactId>etc.sdk.common</artifactId>
-            <version>1.0</version>
-            <scope>system</scope>
-            <systemPath>${project.basedir}/lib/sdk-common-1.0.jar</systemPath>
+            <groupId>info.aspirecn.rdc</groupId>
+            <artifactId>aspirecloud-commons-errorlog-starter</artifactId>
+            <version>5.0.2</version>
         </dependency>
         </dependency>
+
         <dependency>
         <dependency>
-            <groupId>slf4j.api</groupId>
-            <artifactId>slf4j.api</artifactId>
-            <version>1.7</version>
-            <scope>system</scope>
-            <systemPath>${project.basedir}/lib/slf4j-api-1.7.jar</systemPath>
+            <groupId>commons-codec</groupId>
+            <artifactId>commons-codec</artifactId>
         </dependency>
         </dependency>
+        <!--常量-->
         <dependency>
         <dependency>
-            <groupId>validation.api</groupId>
-            <artifactId>validation.api</artifactId>
-            <version>1.1.0</version>
-            <scope>system</scope>
-            <systemPath>${project.basedir}/lib/validation-api-1.1.0.Final.jar</systemPath>
+            <groupId>info.aspirecn.iov.sjjh</groupId>
+            <artifactId>iov-sjjh-commons-lang</artifactId>
+            <version>1.0.0</version>
         </dependency>
         </dependency>
+
         <dependency>
         <dependency>
-            <groupId>sdk.b2b.protocol</groupId>
-            <artifactId>sdk.b2b.protocol</artifactId>
-            <version>1.4</version>
-            <scope>system</scope>
-            <systemPath>${project.basedir}/lib/sdk-b2b-protocol-1.4.jar</systemPath>
+            <groupId>org.springframework.cloud</groupId>
+            <artifactId>spring-cloud-starter-stream-kafka</artifactId>
         </dependency>
         </dependency>
         <dependency>
         <dependency>
-            <groupId>sdk-analysis-protocol</groupId>
-            <artifactId>sdk-analysis-protocol</artifactId>
-            <version>3.1</version>
-            <scope>system</scope>
-            <systemPath>${project.basedir}/lib/sdk-analysis-protocol-3.1.jar</systemPath>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-data-elasticsearch</artifactId>
+            <version>2.0.6.RELEASE</version>
         </dependency>
         </dependency>
+
         <dependency>
         <dependency>
-            <groupId>sdk.external.waybill.protocol</groupId>
-            <artifactId>sdk.external.waybill.protocol</artifactId>
-            <version>1.1.4</version>
-            <scope>system</scope>
-            <systemPath>${project.basedir}/lib/sdk-external-waybill-protocol-1.1.4.jar</systemPath>
+            <groupId>io.springfox</groupId>
+            <artifactId>springfox-swagger2</artifactId>
+            <version>2.9.2</version>
         </dependency>
         </dependency>
         <dependency>
         <dependency>
-            <groupId>sdk.waybill.protocol</groupId>
-            <artifactId>sdk.waybill.protocol</artifactId>
-            <version>1.3.4</version>
-            <scope>system</scope>
-            <systemPath>${project.basedir}/lib/sdk-waybill-protocol-1.3.10.jar</systemPath>
+            <groupId>com.alibaba</groupId>
+            <artifactId>fastjson</artifactId>
+            <version>1.2.70</version>
         </dependency>
         </dependency>
+
         <dependency>
         <dependency>
-            <groupId>axis</groupId>
-            <artifactId>axis</artifactId>
-            <version>1.4</version>
+            <groupId>io.springfox</groupId>
+            <artifactId>springfox-swagger-ui</artifactId>
+            <version>2.9.2</version>
         </dependency>
         </dependency>
+
         <dependency>
         <dependency>
-            <groupId>com.aliyun.api.gateway</groupId>
-            <artifactId>sdk-core-java</artifactId>
-            <version>1.1.3</version>
+            <groupId>org.springframework.cloud</groupId>
+            <artifactId>spring-cloud-config-client</artifactId>
         </dependency>
         </dependency>
+
         <dependency>
         <dependency>
-            <groupId>net.coobird</groupId>
-            <artifactId>thumbnailator</artifactId>
-            <version>0.4.8</version>
+            <groupId>org.springframework.cloud</groupId>
+            <artifactId>spring-cloud-starter-stream-kafka</artifactId>
         </dependency>
         </dependency>
+
         <dependency>
         <dependency>
-            <groupId>com.squareup.okhttp3</groupId>
-            <artifactId>okhttp</artifactId>
-            <version>3.11.0</version>
+            <groupId>io.searchbox</groupId>
+            <artifactId>jest</artifactId>
+            <version>6.3.1</version>
         </dependency>
         </dependency>
         <dependency>
         <dependency>
-            <groupId>org.quartz-scheduler</groupId>
-            <artifactId>quartz</artifactId>
-            <version>2.3.0</version>
+            <groupId>com.alibaba</groupId>
+            <artifactId>fastjson</artifactId>
+            <version>1.2.70</version>
         </dependency>
         </dependency>
+        <!--        <dependency>-->
+        <!--            <groupId>org.springframework.cloud</groupId>-->
+        <!--            <artifactId>spring-cloud-starter-zipkin</artifactId>-->
+        <!--        </dependency>-->
     </dependencies>
     </dependencies>
-    <profiles>
-        <profile>
-            <id>dev</id>
-            <properties>
-                <profile.name>dev</profile.name>
-            </properties>
-        </profile>
-        <profile>
-            <id>test</id>
-            <activation>
-                <activeByDefault>true</activeByDefault>
-            </activation>
-            <properties>
-                <profile.name>test</profile.name>
-            </properties>
-        </profile>
-        <profile>
-            <id>stable</id>
-            <properties>
-                <profile.name>stable</profile.name>
-            </properties>
-        </profile>
-        <profile>
-            <id>online</id>
-            <properties>
-                <profile.name>online</profile.name>
-            </properties>
-        </profile>
-        <profile>
-            <id>online-stand</id>
-            <properties>
-                <profile.name>online-stand</profile.name>
-            </properties>
-        </profile>
-        <profile>
-            <id>perf</id>
-            <properties>
-                <profile.name>perf</profile.name>
-            </properties>
-        </profile>
-    </profiles>
+    <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>
     <build>
     <build>
-        <filters> <!-- 指定使用的 filter -->
-            <filter>setting/settings-${profile.name}.properties</filter>
-        </filters>
-        <resources>
-            <resource>
-                <directory>src/main/resources</directory>
-                <filtering>true</filtering>
-                <includes>
-                    <include>settings.properties</include>
-                    <include>log4j.xml</include>
-                </includes>
-            </resource>
-            <resource>
-                <directory>src/main/resources</directory>
-                <filtering>false</filtering>
-                <excludes>
-                    <exclude>settings.properties</exclude>
-                    <exclude>log4j.xml</exclude>
-                </excludes>
-            </resource>
-        </resources>
         <plugins>
         <plugins>
             <plugin>
             <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-surefire-plugin</artifactId>
+                <groupId>org.springframework.boot</groupId>
+                <artifactId>spring-boot-maven-plugin</artifactId>
                 <configuration>
                 <configuration>
-                    <skip>true</skip>
+                    <includes>
+                        <include>
+                            <groupId>info.aspirecn.iov.sjjh</groupId>
+                            <artifactId>iov-sjjh-commons-lang</artifactId>
+                        </include>
+                    </includes>
                 </configuration>
                 </configuration>
             </plugin>
             </plugin>
 
 
             <plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-assembly-plugin</artifactId>
+                <artifactId>maven-jar-plugin</artifactId>
                 <configuration>
                 <configuration>
-                    <descriptors>
-                        <descriptor>assembly/assembly.xml</descriptor>
-                    </descriptors>
+                    <archive>
+                        <manifest>
+                            <addClasspath>true</addClasspath>
+                            <classpathPrefix>lib/</classpathPrefix>
+                        </manifest>
+                    </archive>
                 </configuration>
                 </configuration>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-dependency-plugin</artifactId>
                 <executions>
                 <executions>
                     <execution>
                     <execution>
-                        <id>make-assembly</id>
-                        <phase>package</phase>
+                        <id>copy-dependencies</id>
+                        <phase>prepare-package</phase>
                         <goals>
                         <goals>
-                            <goal>single</goal>
+                            <goal>copy-dependencies</goal>
                         </goals>
                         </goals>
+                        <configuration>
+                            <outputDirectory>${project.build.directory}/lib</outputDirectory>
+                            <excludeGroupIds>
+                                info.aspirecn.iov.sjjh
+                            </excludeGroupIds>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>copy</id>
+                        <phase>install</phase>
+                        <goals>
+                            <goal>copy-dependencies</goal>
+                        </goals>
+                        <configuration>
+                            <outputDirectory>
+                                ${project.build.directory}/lib
+                            </outputDirectory>
+                            <excludeGroupIds>
+                                info.aspirecn.iov.sjjh
+                            </excludeGroupIds>
+                        </configuration>
                     </execution>
                     </execution>
                 </executions>
                 </executions>
             </plugin>
             </plugin>
+
+
             <plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.8</source>
-                    <target>1.8</target>
-                    <encoding>UTF-8</encoding>
-                </configuration>
-                <!-- <dependencies> <dependency> <groupId>org.codehaus.plexus</groupId>
-                    <artifactId>plexus-compiler-eclipse</artifactId> <version>1.9.1</version>
-                    </dependency> </dependencies> -->
-            </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>build-helper-maven-plugin</artifactId>
-                <version>1.9</version>
-
+                <artifactId>maven-resources-plugin</artifactId>
                 <executions>
                 <executions>
                     <execution>
                     <execution>
-                        <phase>generate-sources</phase>
+                        <id>default-resources</id>
+                        <phase>validate</phase>
                         <goals>
                         <goals>
-                            <goal>add-source</goal>
+                            <goal>copy-resources</goal>
                         </goals>
                         </goals>
                         <configuration>
                         <configuration>
-                            <sources>
-                                <source>src/main/resources</source>
-                            </sources>
+                            <outputDirectory>target/classes</outputDirectory>
+                            <useDefaultDelimiters>false</useDefaultDelimiters>
+                            <delimiters>
+                                <delimiter>@</delimiter>
+                            </delimiters>
+                            <resources>
+                                <resource>
+                                    <directory>src/main/resources</directory>
+                                    <filtering>true</filtering>
+                                    <includes>
+                                        <include>**</include>
+                                    </includes>
+                                </resource>
+
+                            </resources>
                         </configuration>
                         </configuration>
                     </execution>
                     </execution>
                 </executions>
                 </executions>
             </plugin>
             </plugin>
+
+
         </plugins>
         </plugins>
     </build>
     </build>
+
 </project>
 </project>