pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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>true</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>com.google.code.gson</groupId>
  51. <artifactId>gson</artifactId>
  52. <version>2.3.1</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>commons-collections</groupId>
  56. <artifactId>commons-collections</artifactId>
  57. <version>3.2.1</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.elasticsearch</groupId>
  61. <artifactId>elasticsearch</artifactId>
  62. <version>${elasticsearch.version}</version>
  63. <scope>compile</scope>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.apache.logging.log4j</groupId>
  67. <artifactId>log4j-api</artifactId>
  68. <version>2.3</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>junit</groupId>
  72. <artifactId>junit</artifactId>
  73. <version>4.12</version>
  74. <scope>test</scope>
  75. </dependency>
  76. </dependencies>
  77. <build>
  78. <plugins>
  79. <plugin>
  80. <groupId>org.apache.maven.plugins</groupId>
  81. <artifactId>maven-compiler-plugin</artifactId>
  82. <version>2.3.2</version>
  83. <configuration>
  84. <encoding>utf-8</encoding>
  85. <source>1.8</source>
  86. <target>1.8</target>
  87. </configuration>
  88. </plugin>
  89. <plugin>
  90. <groupId>org.apache.maven.plugins</groupId>
  91. <artifactId>maven-surefire-plugin</artifactId>
  92. <version>2.11</version>
  93. <configuration>
  94. <includes>
  95. <include>**/*Tests.java</include>
  96. </includes>
  97. </configuration>
  98. </plugin>
  99. <plugin>
  100. <groupId>org.apache.maven.plugins</groupId>
  101. <artifactId>maven-source-plugin</artifactId>
  102. <version>2.1.2</version>
  103. <executions>
  104. <execution>
  105. <id>attach-sources</id>
  106. <goals>
  107. <goal>jar</goal>
  108. </goals>
  109. </execution>
  110. </executions>
  111. </plugin>
  112. <plugin>
  113. <artifactId>maven-assembly-plugin</artifactId>
  114. <version>2.3</version>
  115. <configuration>
  116. <appendAssemblyId>false</appendAssemblyId>
  117. <outputDirectory>${project.build.directory}/releases/</outputDirectory>
  118. </configuration>
  119. <executions>
  120. <execution>
  121. <phase>package</phase>
  122. <goals>
  123. <goal>single</goal>
  124. </goals>
  125. </execution>
  126. </executions>
  127. </plugin>
  128. </plugins>
  129. </build>
  130. </project>