|
@ -3,17 +3,11 @@
|
|
|
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>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
<version>1.5.3.RELEASE</version>
|
|
|
</parent>
|
|
|
|
|
|
|
|
|
<groupId>com.yihu</groupId>
|
|
|
<artifactId>jw-lib-parent-pom</artifactId>
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
<version>1.0.0</version>
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
|
<developers>
|
|
|
<developer>
|
|
|
<id>cwd</id>
|
|
@ -26,297 +20,42 @@
|
|
|
</developer>
|
|
|
</developers>
|
|
|
|
|
|
<modules>
|
|
|
|
|
|
<module>../svr-configuration</module> <!--配置服务-->
|
|
|
<module>../svr-discovery</module><!--发现服务-->
|
|
|
</modules>
|
|
|
|
|
|
<properties>
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
<version.commons-bean-utils>1.9.2</version.commons-bean-utils>
|
|
|
<version.commons-codec>1.9</version.commons-codec>
|
|
|
<version.commons-collections>3.2.1</version.commons-collections>
|
|
|
<version.commons-compress>1.9</version.commons-compress>
|
|
|
<version.commons-dbcp2>2.1.1</version.commons-dbcp2>
|
|
|
<version.commons-dbutils>1.6</version.commons-dbutils>
|
|
|
<version.commons-io>2.4</version.commons-io>
|
|
|
<version.commons-lang3>3.2.1</version.commons-lang3>
|
|
|
<version.commons-pool2>2.4.2</version.commons-pool2>
|
|
|
<version.hadoop-client>2.7.1</version.hadoop-client>
|
|
|
<version.hbase-client>1.1.1</version.hbase-client>
|
|
|
<version.hibernate>5.2.3.Final</version.hibernate>
|
|
|
<version.hibernate-jpa-api>1.0.0.Final</version.hibernate-jpa-api>
|
|
|
<version.http-client>4.5.1</version.http-client>
|
|
|
<version.http-core>4.4.3</version.http-core>
|
|
|
<version.io-dropwizard-metrics>3.1.2</version.io-dropwizard-metrics>
|
|
|
<version.java>1.8</version.java>
|
|
|
<version.jackson>2.6.6</version.jackson>
|
|
|
<version.jedis>2.7.3</version.jedis>
|
|
|
<version.jcl-over-slf4j>1.7.19</version.jcl-over-slf4j>
|
|
|
<version.jul-over-slf4j>1.7.21</version.jul-over-slf4j>
|
|
|
<version.joda-time>2.8.2</version.joda-time>
|
|
|
<version.junit>4.12</version.junit>
|
|
|
<version.log4j>1.2.17</version.log4j>
|
|
|
<version.log4j-over-slf4j>1.7.21</version.log4j-over-slf4j>
|
|
|
<version.log4j2>2.4.1</version.log4j2>
|
|
|
<version.mysql>5.1.38</version.mysql>
|
|
|
<version.pinyin4j>2.5.0</version.pinyin4j>
|
|
|
<version.quartz>2.2.3</version.quartz>
|
|
|
<version.slf4j>1.7.21</version.slf4j>
|
|
|
<version.solr>5.5.1</version.solr>
|
|
|
<version.activemq>5.14.1</version.activemq>
|
|
|
<version.statsd-client>3.1.0</version.statsd-client>
|
|
|
<version.swagger>2.4.0</version.swagger>
|
|
|
<version.swagger-ui>2.4.0</version.swagger-ui>
|
|
|
<version.thrift>0.9.1</version.thrift>
|
|
|
<version.tomcat-embed>8.0.28</version.tomcat-embed>
|
|
|
<version.websocket-api>1.1</version.websocket-api>
|
|
|
<version.zip4j>1.3.2</version.zip4j>
|
|
|
<version.poi>3.12</version.poi>
|
|
|
<version.scala>2.10.6</version.scala>
|
|
|
<version.spark>1.6.0</version.spark>
|
|
|
<version.servlet>3.1.0</version.servlet>
|
|
|
<version.kafka>0.8.2.1</version.kafka>
|
|
|
<dependency.scope>compile</dependency.scope>
|
|
|
<version.springCloud>1.3.0.RELEASE</version.springCloud>
|
|
|
<version.springBoot>1.5.3.RELEASE</version.springBoot>
|
|
|
</properties>
|
|
|
<!--dependencyManagement作用子配置不写版本默认继承父配置-->
|
|
|
<dependencyManagement>
|
|
|
<dependencies>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.spark</groupId>
|
|
|
<artifactId>spark-core_2.10</artifactId>
|
|
|
<version>${version.spark}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.spark</groupId>
|
|
|
<artifactId>spark-streaming_2.10</artifactId>
|
|
|
<version>${version.spark}</version>
|
|
|
</dependency>
|
|
|
<!--springCloud start-->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
<artifactId>spring-cloud-starter-parent</artifactId>
|
|
|
<version>Camden.RELEASE</version>
|
|
|
<type>pom</type>
|
|
|
<scope>import</scope>
|
|
|
</dependency>
|
|
|
<!--Jackson library-->
|
|
|
<dependency>
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
<artifactId>jackson-annotations</artifactId>
|
|
|
<version>${version.jackson}</version>
|
|
|
<scope>${dependency.scope}</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
<artifactId>jackson-core</artifactId>
|
|
|
<version>${version.jackson}</version>
|
|
|
<scope>${dependency.scope}</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
<version>${version.jackson}</version>
|
|
|
<scope>${dependency.scope}</scope>
|
|
|
</dependency>
|
|
|
|
|
|
<!--Apache commons library-->
|
|
|
<dependency>
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
<artifactId>httpmime</artifactId>
|
|
|
<version>4.4.1</version>
|
|
|
<scope>${dependency.scope}</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.zookeeper</groupId>
|
|
|
<artifactId>zookeeper</artifactId>
|
|
|
<version>3.4.6</version>
|
|
|
<scope>${dependency.scope}</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.codehaus.woodstox</groupId>
|
|
|
<artifactId>stax2-api</artifactId>
|
|
|
<version>3.1.4</version>
|
|
|
<scope>${dependency.scope}</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.codehaus.woodstox</groupId>
|
|
|
<artifactId>woodstox-core-asl</artifactId>
|
|
|
<version>4.4.1</version>
|
|
|
<scope>${dependency.scope}</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.noggit</groupId>
|
|
|
<artifactId>noggit</artifactId>
|
|
|
<version>0.6</version>
|
|
|
<scope>${dependency.scope}</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
<version>${version.commons-lang3}</version>
|
|
|
<scope>${dependency.scope}</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
<artifactId>httpcore</artifactId>
|
|
|
<version>${version.http-core}</version>
|
|
|
<scope>${dependency.scope}</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
<version>${version.http-client}</version>
|
|
|
<scope>${dependency.scope}</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>commons-beanutils</groupId>
|
|
|
<artifactId>commons-beanutils</artifactId>
|
|
|
<version>${version.commons-bean-utils}</version>
|
|
|
<scope>${dependency.scope}</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
<artifactId>commons-pool2</artifactId>
|
|
|
<version>${version.commons-pool2}</version>
|
|
|
<scope>${dependency.scope}</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>commons-dbutils</groupId>
|
|
|
<artifactId>commons-dbutils</artifactId>
|
|
|
<version>${version.commons-dbutils}</version>
|
|
|
<scope>${dependency.scope}</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
<artifactId>commons-dbcp2</artifactId>
|
|
|
<version>${version.commons-dbcp2}</version>
|
|
|
<scope>${dependency.scope}</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>commons-io</groupId>
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
<version>${version.commons-io}</version>
|
|
|
<scope>${dependency.scope}</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>commons-collections</groupId>
|
|
|
<artifactId>commons-collections</artifactId>
|
|
|
<version>${version.commons-collections}</version>
|
|
|
<scope>${dependency.scope}</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
<artifactId>commons-compress</artifactId>
|
|
|
<version>${version.commons-compress}</version>
|
|
|
<scope>${dependency.scope}</scope>
|
|
|
</dependency>
|
|
|
<!--Miscellaneous-->
|
|
|
<dependency>
|
|
|
<groupId>net.lingala.zip4j</groupId>
|
|
|
<artifactId>zip4j</artifactId>
|
|
|
<version>${version.zip4j}</version>
|
|
|
<scope>${dependency.scope}</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.belerweb</groupId>
|
|
|
<artifactId>pinyin4j</artifactId>
|
|
|
<version>${version.pinyin4j}</version>
|
|
|
<scope>${dependency.scope}</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
<version>${version.slf4j}</version>
|
|
|
<scope>${dependency.scope}</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>junit</groupId>
|
|
|
<artifactId>junit</artifactId>
|
|
|
<version>${version.junit}</version>
|
|
|
<scope>test</scope>
|
|
|
<artifactId>spring-cloud-starter-eureka-server</artifactId>
|
|
|
<version>${version.springCloud}</version>
|
|
|
</dependency>
|
|
|
<!--springCloud end-->
|
|
|
<!--springBoot start-->
|
|
|
<dependency>
|
|
|
<groupId>joda-time</groupId>
|
|
|
<artifactId>joda-time</artifactId>
|
|
|
<version>${version.joda-time}</version>
|
|
|
<scope>${dependency.scope}</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.solr</groupId>
|
|
|
<artifactId>solr-core</artifactId>
|
|
|
<version>${version.solr}</version>
|
|
|
<scope>${dependency.scope}</scope>
|
|
|
<exclusions>
|
|
|
<exclusion>
|
|
|
<groupId>commons-lang</groupId>
|
|
|
<artifactId>commons-lang</artifactId>
|
|
|
</exclusion>
|
|
|
</exclusions>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.solr</groupId>
|
|
|
<artifactId>solr-solrj</artifactId>
|
|
|
<version>${version.solr}</version>
|
|
|
<exclusions>
|
|
|
<exclusion>
|
|
|
<groupId>commons-lang</groupId>
|
|
|
<artifactId>commons-lang</artifactId>
|
|
|
</exclusion>
|
|
|
</exclusions>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.thrift</groupId>
|
|
|
<artifactId>libthrift</artifactId>
|
|
|
<version>${version.thrift}</version>
|
|
|
<scope>${dependency.scope}</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.timgroup</groupId>
|
|
|
<artifactId>java-statsd-client</artifactId>
|
|
|
<version>${version.statsd-client}</version>
|
|
|
<scope>${dependency.scope}</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>io.dropwizard.metrics</groupId>
|
|
|
<artifactId>metrics-core</artifactId>
|
|
|
<version>${version.io-dropwizard-metrics}</version>
|
|
|
<scope>${dependency.scope}</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>commons-codec</groupId>
|
|
|
<artifactId>commons-codec</artifactId>
|
|
|
<version>${version.commons-codec}</version>
|
|
|
<scope>${dependency.scope}</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.scala-lang</groupId>
|
|
|
<artifactId>scala-library</artifactId>
|
|
|
<version>${version.scala}</version>
|
|
|
<scope>compile</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.scala-lang</groupId>
|
|
|
<artifactId>scala-compiler</artifactId>
|
|
|
<version>${version.scala}</version>
|
|
|
<scope>compile</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
<version>${version.servlet}</version>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot</artifactId>
|
|
|
<version>${version.springBoot}</version>
|
|
|
</dependency>
|
|
|
<!--springBoot end-->
|
|
|
</dependencies>
|
|
|
</dependencyManagement>
|
|
|
|
|
|
<build>
|
|
|
<extensions>
|
|
|
<extension>
|
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
|
<artifactId>wagon-ssh</artifactId>
|
|
|
<version>2.10</version>
|
|
|
</extension>
|
|
|
<extension>
|
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
|
<artifactId>wagon-http-lightweight</artifactId>
|
|
|
<version>2.10</version>
|
|
|
</extension>
|
|
|
</extensions>
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
</plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
@ -326,32 +65,6 @@
|
|
|
</configuration>
|
|
|
<version>3.1</version>
|
|
|
</plugin>
|
|
|
<plugin>
|
|
|
<groupId>net.alchim31.maven</groupId>
|
|
|
<artifactId>scala-maven-plugin</artifactId>
|
|
|
<version>3.2.0</version>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<id>compile-scala</id>
|
|
|
<phase>compile</phase>
|
|
|
<goals>
|
|
|
<goal>add-source</goal>
|
|
|
<goal>compile</goal>
|
|
|
</goals>
|
|
|
</execution>
|
|
|
<execution>
|
|
|
<id>test-compile-scala</id>
|
|
|
<phase>test-compile</phase>
|
|
|
<goals>
|
|
|
<goal>add-source</goal>
|
|
|
<goal>testCompile</goal>
|
|
|
</goals>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
<configuration>
|
|
|
<scalaVersion>${version.scala}</scalaVersion>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
</project>
|