pom.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <name>elasticsearch-query-toolkit</name>
  6. <modelVersion>4.0.0</modelVersion>
  7. <groupId>org.es</groupId>
  8. <artifactId>elasticsearch-query-toolkit</artifactId>
  9. <version>${elasticsearch.version}</version>
  10. <packaging>jar</packaging>
  11. <description>elasticsearch-query-toolkit</description>
  12. <inceptionYear>2017</inceptionYear>
  13. <licenses>
  14. <license>
  15. <name>The Apache Software License, Version 2.0</name>
  16. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  17. <distribution>repo</distribution>
  18. </license>
  19. </licenses>
  20. <properties>
  21. <elasticsearch.version>5.2.0</elasticsearch.version>
  22. <maven.compiler.target>1.8</maven.compiler.target>
  23. <skip.unit.tests>false</skip.unit.tests>
  24. </properties>
  25. <repositories>
  26. <repository>
  27. <id>uk.maven.org</id>
  28. <name>UK MAVEN</name>
  29. <releases>
  30. <enabled>true</enabled>
  31. </releases>
  32. <snapshots>
  33. <enabled>true</enabled>
  34. </snapshots>
  35. <url>http://uk.maven.org/maven2/</url>
  36. </repository>
  37. </repositories>
  38. <dependencies>
  39. <dependency>
  40. <groupId>org.springframework</groupId>
  41. <artifactId>spring-orm</artifactId>
  42. <version>3.0.5.RELEASE</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.apache.ibatis</groupId>
  46. <artifactId>ibatis-sqlmap</artifactId>
  47. <version>2.3.4.726</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.alibaba</groupId>
  51. <artifactId>druid</artifactId>
  52. <version>1.0.24</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>com.google.guava</groupId>
  56. <artifactId>guava</artifactId>
  57. <version>18.0</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>joda-time</groupId>
  61. <artifactId>joda-time</artifactId>
  62. <version>2.3</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.google.code.gson</groupId>
  66. <artifactId>gson</artifactId>
  67. <version>2.3.1</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>commons-collections</groupId>
  71. <artifactId>commons-collections</artifactId>
  72. <version>3.2.1</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>commons-lang</groupId>
  76. <artifactId>commons-lang</artifactId>
  77. <version>2.6</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.elasticsearch.client</groupId>
  81. <artifactId>transport</artifactId>
  82. <version>${elasticsearch.version}</version>
  83. <scope>compile</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.apache.logging.log4j</groupId>
  87. <artifactId>log4j-api</artifactId>
  88. <version>2.7</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.apache.logging.log4j</groupId>
  92. <artifactId>log4j-core</artifactId>
  93. <version>2.7</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>junit</groupId>
  97. <artifactId>junit</artifactId>
  98. <version>4.12</version>
  99. <scope>test</scope>
  100. </dependency>
  101. </dependencies>
  102. <build>
  103. <plugins>
  104. <plugin>
  105. <groupId>org.apache.maven.plugins</groupId>
  106. <artifactId>maven-compiler-plugin</artifactId>
  107. <version>2.3.2</version>
  108. <configuration>
  109. <encoding>utf-8</encoding>
  110. <source>1.8</source>
  111. <target>1.8</target>
  112. </configuration>
  113. </plugin>
  114. <plugin>
  115. <groupId>org.apache.maven.plugins</groupId>
  116. <artifactId>maven-surefire-plugin</artifactId>
  117. <version>2.11</version>
  118. <configuration>
  119. <includes>
  120. <include>**/*Test.java</include>
  121. <include>**/Test*.java</include>
  122. </includes>
  123. </configuration>
  124. </plugin>
  125. <plugin>
  126. <groupId>org.apache.maven.plugins</groupId>
  127. <artifactId>maven-source-plugin</artifactId>
  128. <version>2.1.2</version>
  129. <executions>
  130. <execution>
  131. <id>attach-sources</id>
  132. <goals>
  133. <goal>jar</goal>
  134. </goals>
  135. </execution>
  136. </executions>
  137. </plugin>
  138. <plugin>
  139. <artifactId>maven-assembly-plugin</artifactId>
  140. <version>2.3</version>
  141. <configuration>
  142. <appendAssemblyId>false</appendAssemblyId>
  143. <outputDirectory>${project.build.directory}/releases/</outputDirectory>
  144. </configuration>
  145. <executions>
  146. <execution>
  147. <phase>package</phase>
  148. <goals>
  149. <goal>single</goal>
  150. </goals>
  151. </execution>
  152. </executions>
  153. </plugin>
  154. </plugins>
  155. </build>
  156. </project>