You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 18KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Copyright 2012-2015 TORCH GmbH, 2015-2016 Graylog, Inc.
  4. ~
  5. ~ This file is part of Graylog.
  6. ~
  7. ~ Graylog is free software: you can redistribute it and/or modify
  8. ~ it under the terms of the GNU General Public License as published by
  9. ~ the Free Software Foundation, either version 3 of the License, or
  10. ~ (at your option) any later version.
  11. ~
  12. ~ Graylog is distributed in the hope that it will be useful,
  13. ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. ~ GNU General Public License for more details.
  16. ~
  17. ~ You should have received a copy of the GNU General Public License
  18. ~ along with Graylog. If not, see <http://www.gnu.org/licenses />.
  19. -->
  20. <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/xsd/maven-4.0.0.xsd">
  21. <modelVersion>4.0.0</modelVersion>
  22. <modules>
  23. <module>graylog-project-parent</module>
  24. <module>graylog-plugin-parent</module>
  25. <module>graylog-plugin-archetype</module>
  26. </modules>
  27. <groupId>org.graylog</groupId>
  28. <artifactId>graylog-parent</artifactId>
  29. <version>3.2.0-SNAPSHOT</version>
  30. <packaging>pom</packaging>
  31. <name>Graylog Parent POM</name>
  32. <description>Graylog Parent POM</description>
  33. <url>https://www.graylog.org/</url>
  34. <licenses>
  35. <license>
  36. <name>GNU General Public License (GPL) version 3.0</name>
  37. <url>https://www.gnu.org/licenses/gpl-3.0.html</url>
  38. <distribution>repo</distribution>
  39. </license>
  40. </licenses>
  41. <organization>
  42. <name>Graylog, Inc.</name>
  43. <url>https://www.graylog.org/</url>
  44. </organization>
  45. <developers>
  46. <developer>
  47. <name>${project.organization.name}</name>
  48. <organization>${project.organization.name}</organization>
  49. <organizationUrl>${project.organization.url}</organizationUrl>
  50. </developer>
  51. </developers>
  52. <scm>
  53. <connection>scm:git:git@github.com:Graylog2/graylog2-server.git</connection>
  54. <developerConnection>scm:git:git@github.com:Graylog2/graylog2-server.git</developerConnection>
  55. <url>https://github.com/Graylog2/graylog2-server</url>
  56. <tag>HEAD</tag>
  57. </scm>
  58. <distributionManagement>
  59. <snapshotRepository>
  60. <id>sonatype-nexus-snapshots</id>
  61. <name>Sonatype Nexus Snapshots</name>
  62. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  63. </snapshotRepository>
  64. <repository>
  65. <id>sonatype-nexus-staging</id>
  66. <name>Nexus Release Repository</name>
  67. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  68. </repository>
  69. </distributionManagement>
  70. <properties>
  71. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  72. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  73. <maven.compiler.source>1.8</maven.compiler.source>
  74. <maven.compiler.target>1.8</maven.compiler.target>
  75. <maven.compiler.useIncrementalCompilation>false</maven.compiler.useIncrementalCompilation>
  76. <!-- Dependencies -->
  77. <airline.version>2.6.0</airline.version>
  78. <amqp-client.version>5.4.3</amqp-client.version>
  79. <antlr.version>4.7.1</antlr.version>
  80. <apache-directory-version>1.0.1</apache-directory-version>
  81. <auto-value.version>1.6.2</auto-value.version>
  82. <auto-value-javabean.version>1.0.0</auto-value-javabean.version>
  83. <bouncycastle.version>1.60</bouncycastle.version>
  84. <cef-parser.version>0.0.1.10</cef-parser.version>
  85. <commons-codec.version>1.11</commons-codec.version>
  86. <commons-email.version>1.5</commons-email.version>
  87. <commons-io.version>2.6</commons-io.version>
  88. <disruptor.version>3.4.2</disruptor.version>
  89. <elasticsearch.version>5.6.12</elasticsearch.version>
  90. <freemarker.version>2.3.28</freemarker.version>
  91. <jest.version>2.4.15+jackson</jest.version>
  92. <gelfclient.version>1.4.4</gelfclient.version>
  93. <geoip2.version>2.12.0</geoip2.version>
  94. <grok.version>0.1.9-graylog-2</grok.version>
  95. <guava-retrying.version>2.0.0</guava-retrying.version>
  96. <guava.version>25.1-jre</guava.version>
  97. <guice.version>4.2.0</guice.version>
  98. <HdrHistogram.version>2.1.10</HdrHistogram.version>
  99. <hibernate-validator.version>6.0.13.Final</hibernate-validator.version>
  100. <hk2.version>2.5.0-b32</hk2.version> <!-- The HK2 version should match the version being used by Jersey -->
  101. <jackson.version>2.9.9</jackson.version>
  102. <jadconfig.version>0.13.0</jadconfig.version>
  103. <java-semver.version>0.9.0</java-semver.version>
  104. <javapoet.version>1.11.1</javapoet.version>
  105. <javax.annotation-api.version>1.3.2</javax.annotation-api.version>
  106. <javax.el-api.version>3.0.0</javax.el-api.version>
  107. <javax.inject.version>1</javax.inject.version>
  108. <javax.ws.rs-api.version>2.1.1</javax.ws.rs-api.version>
  109. <jaxb-api.version>2.3.0</jaxb-api.version>
  110. <jbcrypt.version>0.4</jbcrypt.version>
  111. <jcip-annotations.version>1.0</jcip-annotations.version>
  112. <jdot.version>1.0</jdot.version>
  113. <jersey.version>2.25.1</jersey.version>
  114. <jmte.version>5.0.0</jmte.version>
  115. <joda-time.version>2.10</joda-time.version>
  116. <jool.version>0.9.14</jool.version>
  117. <json-path.version>2.4.0</json-path.version>
  118. <kafka.version>0.9.0.1</kafka.version>
  119. <log4j.version>2.11.0</log4j.version>
  120. <metrics.version>4.0.3</metrics.version>
  121. <mongodb-driver.version>3.6.4</mongodb-driver.version>
  122. <mongojack.version>2.10.0</mongojack.version>
  123. <natty.version>0.13</natty.version>
  124. <netty.version>4.1.42.Final</netty.version>
  125. <netty-tcnative-boringssl-static.version>2.0.26.Final</netty-tcnative-boringssl-static.version>
  126. <okhttp.version>3.14.2</okhttp.version>
  127. <opencsv.version>2.3</opencsv.version>
  128. <os-platform-finder.version>1.2.3</os-platform-finder.version>
  129. <pkts.version>3.0.3</pkts.version>
  130. <protobuf.version>3.6.1</protobuf.version>
  131. <reflections.version>0.9.11</reflections.version>
  132. <retrofit.version>2.6.0</retrofit.version>
  133. <scala.version>2.11.8</scala.version>
  134. <semver4j.version>2.2.0-graylog.1</semver4j.version>
  135. <shiro.version>1.4.0</shiro.version>
  136. <sigar.version>1.6.4</sigar.version>
  137. <slf4j.version>1.7.25</slf4j.version>
  138. <streamex.version>0.6.8</streamex.version>
  139. <swagger.version>1.5.13</swagger.version>
  140. <syslog4j.version>0.9.60</syslog4j.version>
  141. <ulid.version>8.2.0</ulid.version>
  142. <uuid.version>3.2.1</uuid.version>
  143. <validation-api.version>2.0.1.Final</validation-api.version>
  144. <zkclient.version>0.7</zkclient.version>
  145. <zookeeper.version>3.5.5</zookeeper.version>
  146. <!-- Test dependencies -->
  147. <apacheds-server.version>2.0.0-M24</apacheds-server.version>
  148. <assertj-core.version>3.10.0</assertj-core.version>
  149. <assertj-joda-time.version>2.2.0</assertj-joda-time.version>
  150. <assertj-json.version>1.2.0</assertj-json.version>
  151. <awaitility.version>3.1.3</awaitility.version>
  152. <equalsverifier.version>3.0</equalsverifier.version>
  153. <fongo.version>2.2.0-RC2</fongo.version>
  154. <jukito.version>1.5</jukito.version>
  155. <junit.version>4.12</junit.version>
  156. <mockito.version>2.23.4</mockito.version>
  157. <nosqlunit.version>1.0.0-rc.5</nosqlunit.version>
  158. <nosqlunit-elasticsearch-http.version>1.0.0-4+jackson</nosqlunit-elasticsearch-http.version>
  159. <restassured.version>2.9.0</restassured.version>
  160. <system-rules.version>1.18.0</system-rules.version>
  161. <!-- Nodejs dependencies -->
  162. <nodejs.version>v10.13.0</nodejs.version>
  163. <yarn.version>v1.12.3</yarn.version>
  164. <!-- Plugin versions -->
  165. <license-maven.version>2.11</license-maven.version>
  166. <!-- Downgraded to 1.3.0 because of this issue: https://github.com/maven-download-plugin/maven-download-plugin/issues/80 -->
  167. <download-maven-plugin.version>1.3.0</download-maven-plugin.version>
  168. </properties>
  169. <repositories>
  170. <!-- to make our snapshot releases work with Travis et al -->
  171. <repository>
  172. <id>sonatype-nexus-snapshots</id>
  173. <name>Sonatype Nexus Snapshots</name>
  174. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  175. <releases>
  176. <enabled>false</enabled>
  177. </releases>
  178. <snapshots>
  179. <enabled>true</enabled>
  180. </snapshots>
  181. </repository>
  182. <repository>
  183. <id>sonatype-nexus-releases</id>
  184. <name>Sonatype Nexus Releases</name>
  185. <url>https://oss.sonatype.org/content/repositories/releases</url>
  186. <releases>
  187. <enabled>true</enabled>
  188. </releases>
  189. <snapshots>
  190. <enabled>false</enabled>
  191. </snapshots>
  192. </repository>
  193. </repositories>
  194. <build>
  195. <pluginManagement>
  196. <plugins>
  197. <plugin>
  198. <groupId>org.apache.maven.plugins</groupId>
  199. <artifactId>maven-clean-plugin</artifactId>
  200. <version>3.1.0</version>
  201. </plugin>
  202. <plugin>
  203. <groupId>org.apache.maven.plugins</groupId>
  204. <artifactId>maven-install-plugin</artifactId>
  205. <version>2.5.2</version>
  206. </plugin>
  207. <plugin>
  208. <groupId>org.apache.maven.plugins</groupId>
  209. <artifactId>maven-resources-plugin</artifactId>
  210. <version>3.1.0</version>
  211. </plugin>
  212. <plugin>
  213. <groupId>org.apache.maven.plugins</groupId>
  214. <artifactId>maven-compiler-plugin</artifactId>
  215. <version>3.7.0</version>
  216. </plugin>
  217. <plugin>
  218. <groupId>org.apache.maven.plugins</groupId>
  219. <artifactId>maven-assembly-plugin</artifactId>
  220. <version>3.1.0</version>
  221. </plugin>
  222. <plugin>
  223. <groupId>org.apache.maven.plugins</groupId>
  224. <artifactId>maven-javadoc-plugin</artifactId>
  225. <version>3.0.1</version>
  226. </plugin>
  227. <plugin>
  228. <groupId>org.apache.maven.plugins</groupId>
  229. <artifactId>maven-jar-plugin</artifactId>
  230. <version>3.1.0</version>
  231. </plugin>
  232. <plugin>
  233. <groupId>org.apache.maven.plugins</groupId>
  234. <artifactId>maven-source-plugin</artifactId>
  235. <version>3.0.1</version>
  236. </plugin>
  237. <plugin>
  238. <groupId>org.apache.maven.plugins</groupId>
  239. <artifactId>maven-shade-plugin</artifactId>
  240. <version>3.1.1</version>
  241. </plugin>
  242. <plugin>
  243. <groupId>org.apache.maven.plugins</groupId>
  244. <artifactId>maven-deploy-plugin</artifactId>
  245. <version>2.8.2</version>
  246. </plugin>
  247. <plugin>
  248. <groupId>org.apache.maven.plugins</groupId>
  249. <artifactId>maven-release-plugin</artifactId>
  250. <version>2.5.3</version>
  251. </plugin>
  252. <plugin>
  253. <groupId>org.apache.maven.plugins</groupId>
  254. <artifactId>maven-pmd-plugin</artifactId>
  255. <version>3.10.0</version>
  256. </plugin>
  257. <plugin>
  258. <groupId>org.apache.maven.plugins</groupId>
  259. <artifactId>maven-gpg-plugin</artifactId>
  260. <version>1.6</version>
  261. </plugin>
  262. <plugin>
  263. <groupId>org.apache.maven.plugins</groupId>
  264. <artifactId>maven-surefire-plugin</artifactId>
  265. <version>2.22.1</version>
  266. </plugin>
  267. <plugin>
  268. <groupId>org.apache.maven.plugins</groupId>
  269. <artifactId>maven-failsafe-plugin</artifactId>
  270. <version>2.22.1</version>
  271. </plugin>
  272. <plugin>
  273. <groupId>org.codehaus.mojo</groupId>
  274. <artifactId>versions-maven-plugin</artifactId>
  275. <version>2.5</version>
  276. </plugin>
  277. <plugin>
  278. <groupId>com.github.spotbugs</groupId>
  279. <artifactId>spotbugs-maven-plugin</artifactId>
  280. <version>3.1.9</version>
  281. </plugin>
  282. <plugin>
  283. <groupId>de.thetaphi</groupId>
  284. <artifactId>forbiddenapis</artifactId>
  285. <version>2.5</version>
  286. </plugin>
  287. <plugin>
  288. <groupId>com.github.eirslett</groupId>
  289. <artifactId>frontend-maven-plugin</artifactId>
  290. <version>1.6</version>
  291. </plugin>
  292. <plugin>
  293. <groupId>com.github.alexcojocaru</groupId>
  294. <artifactId>elasticsearch-maven-plugin</artifactId>
  295. <version>6.6</version>
  296. <configuration>
  297. <skip>true</skip>
  298. </configuration>
  299. </plugin>
  300. <plugin>
  301. <groupId>org.antlr</groupId>
  302. <artifactId>antlr4-maven-plugin</artifactId>
  303. <version>${antlr.version}</version>
  304. </plugin>
  305. <plugin>
  306. <groupId>com.mycila</groupId>
  307. <artifactId>license-maven-plugin</artifactId>
  308. <version>${license-maven.version}</version>
  309. </plugin>
  310. </plugins>
  311. </pluginManagement>
  312. <plugins>
  313. <plugin>
  314. <groupId>org.apache.maven.plugins</groupId>
  315. <artifactId>maven-compiler-plugin</artifactId>
  316. <configuration>
  317. <showWarnings>true</showWarnings>
  318. <showDeprecation>true</showDeprecation>
  319. <compilerId>javac-with-errorprone</compilerId>
  320. <forceJavacCompilerUse>true</forceJavacCompilerUse>
  321. <compilerArgs>
  322. <arg>-XepDisableWarningsInGeneratedCode</arg>
  323. </compilerArgs>
  324. <annotationProcessors>
  325. <annotationProcessor>com.google.auto.value.processor.AutoValueProcessor</annotationProcessor>
  326. </annotationProcessors>
  327. </configuration>
  328. <dependencies>
  329. <dependency>
  330. <groupId>org.codehaus.plexus</groupId>
  331. <artifactId>plexus-compiler-javac-errorprone</artifactId>
  332. <version>2.8.4</version>
  333. </dependency>
  334. <dependency>
  335. <groupId>com.google.errorprone</groupId>
  336. <artifactId>error_prone_core</artifactId>
  337. <version>2.3.1</version>
  338. </dependency>
  339. </dependencies>
  340. </plugin>
  341. <plugin>
  342. <groupId>org.apache.maven.plugins</groupId>
  343. <artifactId>maven-release-plugin</artifactId>
  344. <configuration>
  345. <autoVersionSubmodules>true</autoVersionSubmodules>
  346. <mavenExecutorId>forked-path</mavenExecutorId>
  347. <tagNameFormat>@{project.version}</tagNameFormat>
  348. <preparationGoals>clean test</preparationGoals>
  349. <releaseProfiles>release-profile,release</releaseProfiles>
  350. </configuration>
  351. </plugin>
  352. <plugin>
  353. <groupId>org.apache.maven.plugins</groupId>
  354. <artifactId>maven-assembly-plugin</artifactId>
  355. <configuration>
  356. <attach>true</attach>
  357. <appendAssemblyId>false</appendAssemblyId>
  358. <!-- we don't care about assembling the parent, just run the goal on the project, pretty please -->
  359. <ignoreMissingDescriptor>true</ignoreMissingDescriptor>
  360. <tarLongFileMode>posix</tarLongFileMode>
  361. </configuration>
  362. </plugin>
  363. <plugin>
  364. <groupId>com.mycila</groupId>
  365. <artifactId>license-maven-plugin</artifactId>
  366. </plugin>
  367. </plugins>
  368. </build>
  369. <profiles>
  370. <profile>
  371. <id>release</id>
  372. <build>
  373. <plugins>
  374. <plugin>
  375. <groupId>org.apache.maven.plugins</groupId>
  376. <artifactId>maven-gpg-plugin</artifactId>
  377. <configuration>
  378. <keyname>B1606F22</keyname>
  379. </configuration>
  380. <executions>
  381. <execution>
  382. <id>sign-artifacts</id>
  383. <phase>verify</phase>
  384. <goals>
  385. <goal>sign</goal>
  386. </goals>
  387. </execution>
  388. </executions>
  389. </plugin>
  390. <plugin>
  391. <groupId>org.apache.maven.plugins</groupId>
  392. <artifactId>maven-release-plugin</artifactId>
  393. <configuration>
  394. <goals>deploy</goals>
  395. </configuration>
  396. </plugin>
  397. </plugins>
  398. </build>
  399. </profile>
  400. </profiles>
  401. </project>