pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <name>elasticsearch-sql2dsl</name>
  6. <modelVersion>4.0.0</modelVersion>
  7. <groupId>org.elasticsearch</groupId>
  8. <artifactId>elasticsearch-sql2dsl</artifactId>
  9. <version>${elasticsearch.version}</version>
  10. <packaging>jar</packaging>
  11. <description>elasticsearch-sql2dsl</description>
  12. <inceptionYear>2016</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>1.4.5</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>com.alibaba</groupId>
  41. <artifactId>druid</artifactId>
  42. <version>1.0.24</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>com.google.guava</groupId>
  46. <artifactId>guava</artifactId>
  47. <version>18.0</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>joda-time</groupId>
  51. <artifactId>joda-time</artifactId>
  52. <version>2.3</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>com.google.code.gson</groupId>
  56. <artifactId>gson</artifactId>
  57. <version>2.3.1</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>commons-collections</groupId>
  61. <artifactId>commons-collections</artifactId>
  62. <version>3.2.1</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>commons-lang</groupId>
  66. <artifactId>commons-lang</artifactId>
  67. <version>2.6</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.elasticsearch</groupId>
  71. <artifactId>elasticsearch</artifactId>
  72. <version>${elasticsearch.version}</version>
  73. <scope>compile</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.apache.logging.log4j</groupId>
  77. <artifactId>log4j-api</artifactId>
  78. <version>2.3</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>junit</groupId>
  82. <artifactId>junit</artifactId>
  83. <version>4.12</version>
  84. <scope>test</scope>
  85. </dependency>
  86. </dependencies>
  87. <build>
  88. <plugins>
  89. <plugin>
  90. <groupId>org.apache.maven.plugins</groupId>
  91. <artifactId>maven-compiler-plugin</artifactId>
  92. <version>2.3.2</version>
  93. <configuration>
  94. <encoding>utf-8</encoding>
  95. <source>1.8</source>
  96. <target>1.8</target>
  97. </configuration>
  98. </plugin>
  99. <plugin>
  100. <groupId>org.apache.maven.plugins</groupId>
  101. <artifactId>maven-surefire-plugin</artifactId>
  102. <version>2.11</version>
  103. <configuration>
  104. <includes>
  105. <include>**/*Test.java</include>
  106. <include>**/Test*.java</include>
  107. </includes>
  108. </configuration>
  109. </plugin>
  110. <plugin>
  111. <groupId>org.apache.maven.plugins</groupId>
  112. <artifactId>maven-source-plugin</artifactId>
  113. <version>2.1.2</version>
  114. <executions>
  115. <execution>
  116. <id>attach-sources</id>
  117. <goals>
  118. <goal>jar</goal>
  119. </goals>
  120. </execution>
  121. </executions>
  122. </plugin>
  123. <plugin>
  124. <artifactId>maven-assembly-plugin</artifactId>
  125. <version>2.3</version>
  126. <configuration>
  127. <appendAssemblyId>false</appendAssemblyId>
  128. <outputDirectory>${project.build.directory}/releases/</outputDirectory>
  129. </configuration>
  130. <executions>
  131. <execution>
  132. <phase>package</phase>
  133. <goals>
  134. <goal>single</goal>
  135. </goals>
  136. </execution>
  137. </executions>
  138. </plugin>
  139. </plugins>
  140. </build>
  141. </project>