123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326 |
- <?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/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>com.yihu.jw</groupId>
- <artifactId>wlyy-parent-pom</artifactId>
- <version>2.4.0</version>
- <relativePath>../../wlyy-parent-pom/pom.xml</relativePath>
- </parent>
- <groupId>com.yihu.jw</groupId>
- <artifactId>svr-statistics-hlw</artifactId>
- <packaging>jar</packaging>
- <version>${project.parent.version}</version>
- <name>svr-statistics-hlw</name>
- <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.hibernate>4.3.11.Final</version.hibernate>
- <version.hibernate-annotations>4.0.5.Final</version.hibernate-annotations>
- <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.java>1.8</version.java>
- <version.jedis>2.9.0</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.log4j2>2.4.1</version.log4j2>
- <version.logback>1.1.7</version.logback>
- <version.mysql>5.1.38</version.mysql>
- <version.quartz>2.2.3</version.quartz>
- <version.servlet-api>3.1.0</version.servlet-api>
- <version.slf4j>1.7.21</version.slf4j>
- <version.tomcat-embed>8.0.28</version.tomcat-embed>
- <version.elasticsearch>2.4.6</version.elasticsearch>
- <version.jest>2.4.0</version.jest>
- </properties>
- <dependencies>
- <!-- 支持Tomcat启动 -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-tomcat</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-tomcat</artifactId>
- <!-- <scope>provided</scope>-->
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-data-redis</artifactId>
- </dependency>
- <dependency>
- <groupId>com.yihu.jw</groupId>
- <artifactId>common-entity</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.security.oauth.boot</groupId>
- <artifactId>spring-security-oauth2-autoconfigure</artifactId>
- </dependency>
- <!--elasticsearch start-->
- <dependency>
- <groupId>com.yihu.jw</groupId>
- <artifactId>elasticsearch-starter</artifactId>
- <version>${version.wlyy-common}</version>
- </dependency>
- <!-- <dependency>
- <groupId>org.elasticsearch</groupId>
- <artifactId>elasticsearch</artifactId>
- <version>${version.elasticsearch}</version>
- </dependency>-->
- <!-- <dependency>
- <groupId>io.searchbox</groupId>
- <artifactId>jest</artifactId>
- <version>${version.jest}</version>
- </dependency>-->
- <!--<dependency>
- <groupId>org.elasticsearch.plugin</groupId>
- <artifactId>shield</artifactId>
- <version>${version.elasticsearch}</version>
- </dependency>-->
- <!--注释掉就不会读取git的配置,只会读取yml中的配置-->
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-starter-config</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-activemq</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-mail</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.security</groupId>
- <artifactId>spring-security-core</artifactId>
- <version>RELEASE</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>commons-dbutils</groupId>
- <artifactId>commons-dbutils</artifactId>
- <version>${version.commons-dbutils}</version>
- </dependency>
- <dependency>
- <groupId>commons-collections</groupId>
- <artifactId>commons-collections</artifactId>
- <version>${version.commons-collections}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-compress</artifactId>
- <version>${version.commons-compress}</version>
- </dependency>
- <!--Miscellaneous-->
- <dependency>
- <groupId>org.quartz-scheduler</groupId>
- <artifactId>quartz</artifactId>
- <version>${version.quartz}</version>
- </dependency>
- <dependency>
- <groupId>org.quartz-scheduler</groupId>
- <artifactId>quartz-jobs</artifactId>
- <version>${version.quartz}</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>${version.junit}</version>
- </dependency>
- <dependency>
- <groupId>com.yihu</groupId>
- <artifactId>mysql-starter</artifactId>
- <version>${version.yihu-common}</version>
- <exclusions>
- <exclusion>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>tomcat-jdbc</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>jcl-over-slf4j</artifactId>
- <version>${version.jcl-over-slf4j}</version>
- <exclusions>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-jdk14</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <!--The single log BACKEND-->
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- <version>${version.logback}</version>
- </dependency>
- <dependency>
- <groupId>com.yihu.jw</groupId>
- <artifactId>swagger-starter</artifactId>
- <version>2.4.0</version>
- </dependency>
- <dependency>
- <groupId>io.github.swagger2markup</groupId>
- <artifactId>swagger2markup</artifactId>
- <version>1.3.2</version>
- <exclusions>
- <exclusion>
- <artifactId>mailapi</artifactId>
- <groupId>javax.mail</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.json</groupId>
- <artifactId>json</artifactId>
- <version>20151123</version>
- </dependency>
- <dependency>
- <groupId>net.sf.json-lib</groupId>
- <artifactId>json-lib</artifactId>
- <version>2.4</version>
- </dependency>
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>druid</artifactId>
- <version>${version.druid}</version>
- </dependency>
- <!-- <dependency>
- <groupId>org.nlpcn</groupId>
- <artifactId>elasticsearch-sql</artifactId>
- <version>2.4.2.1</version>
- </dependency>-->
- <dependency>
- <groupId>org.elasticsearch.plugin</groupId>
- <artifactId>delete-by-query</artifactId>
- <version>2.4.1</version>
- </dependency>
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>fastjson</artifactId>
- <version>1.2.17</version>
- </dependency>
- <dependency>
- <groupId>com.zaxxer</groupId>
- <artifactId>HikariCP</artifactId>
- </dependency>
- <!--oracle驱动-->
- <dependency>
- <groupId>com.oracle</groupId>
- <artifactId>ojdbc6</artifactId>
- <version>11.2.0.3</version>
- </dependency>
- </dependencies>
- <build>
- <finalName>svr-statistics-hlw</finalName>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <!-- 生成的jar中,不要包含pom.xml和pom.properties这两个文件 -->
- <addMavenDescriptor>false</addMavenDescriptor>
- <manifest>
- <!-- 是否要把第三方jar加入到类构建路径 -->
- <addClasspath>true</addClasspath>
- <!-- 外部依赖jar包的最终位置 -->
- <classpathPrefix>lib/</classpathPrefix>
- <mainClass>com.yihu.jw.StatisticsHlwApplication</mainClass>
- </manifest>
- </archive>
- </configuration>
- </plugin>
- <!--拷贝依赖到jar外面的lib目录-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-lib</id>
- <phase>package</phase>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <configuration>
- <!-- 依赖包输出目录,将来不打进jar包里 -->
- <outputDirectory>${project.build.directory}/lib</outputDirectory>
- <excludeTransitive>false</excludeTransitive>
- <stripVersion>false</stripVersion>
- <includeScope>runtime</includeScope>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!--指定配置文件,将resources打成外部resource-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <!-- 指定配置文件目录,这样jar运行时会去找到同目录下的resources文件夹下查找 -->
- <manifestEntries>
- <Class-Path>resources/</Class-Path>
- </manifestEntries>
- </archive>
- <!-- 打包时忽略的文件(也就是不打进jar包里的文件) -->
- <excludes>
- <exclude>**/*.yml</exclude>
- <exclude>**/*.xml</exclude>
- </excludes>
- </configuration>
- </plugin>
- <!-- 拷贝资源文件 外面的resource目录-->
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-dependencies</id>
- <phase>package</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <!-- 资源文件输出目录 -->
- <outputDirectory>${project.build.directory}/resources</outputDirectory>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </project>
|