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.

220 lines
8.6KB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3. <modelVersion>4.0.0</modelVersion>
  4. <prerequisites>
  5. <maven>3.0</maven>
  6. </prerequisites>
  7. <parent>
  8. <groupId>org.graylog.plugins</groupId>
  9. <artifactId>graylog-plugin-web-parent</artifactId>
  10. <version>3.2.0-SNAPSHOT</version>
  11. <relativePath>../graylog2-server/graylog-plugin-parent/graylog-plugin-web-parent</relativePath>
  12. </parent>
  13. <artifactId>graylog-plugin-aws</artifactId>
  14. <version>3.2.0-SNAPSHOT</version>
  15. <packaging>jar</packaging>
  16. <name>${project.artifactId}</name>
  17. <description>Graylog AWS plugin.</description>
  18. <url>https://www.graylog.org</url>
  19. <scm>
  20. <connection>scm:git:git@github.com:Graylog2/graylog-plugin-aws.git</connection>
  21. <developerConnection>scm:git:git@github.com:Graylog2/graylog-plugin-aws.git</developerConnection>
  22. <url>https://github.com/Graylog2/graylog-plugin-aws</url>
  23. <tag>HEAD</tag>
  24. </scm>
  25. <properties>
  26. <maven.source.skip>true</maven.source.skip>
  27. <maven.javadoc.skip>true</maven.javadoc.skip>
  28. <maven.install.skip>true</maven.install.skip>
  29. <maven.deploy.skip>true</maven.deploy.skip>
  30. <maven.site.skip>true</maven.site.skip>
  31. <graylog.version>3.2.0-SNAPSHOT</graylog.version>
  32. <aws-java-sdk.version>1.11.587</aws-java-sdk.version>
  33. <aws-kinesis-client.version>1.10.0</aws-kinesis-client.version>
  34. </properties>
  35. <dependencyManagement>
  36. <dependencies>
  37. <dependency>
  38. <groupId>com.fasterxml.jackson</groupId>
  39. <artifactId>jackson-bom</artifactId>
  40. <version>${jackson.version}</version>
  41. <type>pom</type>
  42. <scope>import</scope>
  43. </dependency>
  44. </dependencies>
  45. </dependencyManagement>
  46. <dependencies>
  47. <dependency>
  48. <groupId>org.graylog2</groupId>
  49. <artifactId>graylog2-server</artifactId>
  50. <version>${graylog.version}</version>
  51. <scope>provided</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.amazonaws</groupId>
  55. <artifactId>aws-java-sdk-s3</artifactId>
  56. <version>${aws-java-sdk.version}</version>
  57. <exclusions>
  58. <exclusion>
  59. <groupId>commons-logging</groupId>
  60. <artifactId>commons-logging</artifactId>
  61. </exclusion>
  62. </exclusions>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.amazonaws</groupId>
  66. <artifactId>aws-java-sdk-sqs</artifactId>
  67. <version>${aws-java-sdk.version}</version>
  68. <exclusions>
  69. <exclusion>
  70. <groupId>commons-logging</groupId>
  71. <artifactId>commons-logging</artifactId>
  72. </exclusion>
  73. </exclusions>
  74. </dependency>
  75. <dependency>
  76. <groupId>com.amazonaws</groupId>
  77. <artifactId>aws-java-sdk-logs</artifactId>
  78. <version>${aws-java-sdk.version}</version>
  79. <exclusions>
  80. <exclusion>
  81. <groupId>commons-logging</groupId>
  82. <artifactId>commons-logging</artifactId>
  83. </exclusion>
  84. </exclusions>
  85. </dependency>
  86. <dependency>
  87. <groupId>com.amazonaws</groupId>
  88. <artifactId>aws-java-sdk-ec2</artifactId>
  89. <version>${aws-java-sdk.version}</version>
  90. <exclusions>
  91. <exclusion>
  92. <groupId>commons-logging</groupId>
  93. <artifactId>commons-logging</artifactId>
  94. </exclusion>
  95. </exclusions>
  96. </dependency>
  97. <dependency>
  98. <groupId>com.amazonaws</groupId>
  99. <artifactId>aws-java-sdk-elasticloadbalancing</artifactId>
  100. <version>${aws-java-sdk.version}</version>
  101. <exclusions>
  102. <exclusion>
  103. <groupId>commons-logging</groupId>
  104. <artifactId>commons-logging</artifactId>
  105. </exclusion>
  106. </exclusions>
  107. </dependency>
  108. <dependency>
  109. <groupId>com.amazonaws</groupId>
  110. <artifactId>aws-java-sdk-sts</artifactId>
  111. <version>${aws-java-sdk.version}</version>
  112. <exclusions>
  113. <exclusion>
  114. <groupId>commons-logging</groupId>
  115. <artifactId>commons-logging</artifactId>
  116. </exclusion>
  117. </exclusions>
  118. </dependency>
  119. <dependency>
  120. <groupId>com.amazonaws</groupId>
  121. <artifactId>amazon-kinesis-client</artifactId>
  122. <version>${aws-kinesis-client.version}</version>
  123. <exclusions>
  124. <exclusion>
  125. <groupId>commons-logging</groupId>
  126. <artifactId>commons-logging</artifactId>
  127. </exclusion>
  128. </exclusions>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.google.auto.value</groupId>
  132. <artifactId>auto-value</artifactId>
  133. <version>${auto-value.version}</version>
  134. <scope>provided</scope>
  135. </dependency>
  136. <dependency>
  137. <groupId>com.google.auto.service</groupId>
  138. <artifactId>auto-service</artifactId>
  139. <version>${auto-service.version}</version>
  140. <scope>provided</scope>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.assertj</groupId>
  144. <artifactId>assertj-core</artifactId>
  145. <version>${assertj-core.version}</version>
  146. </dependency>
  147. </dependencies>
  148. <build>
  149. <resources>
  150. <resource>
  151. <directory>${web.build-dir}</directory>
  152. </resource>
  153. <resource>
  154. <directory>src/main/resources</directory>
  155. <filtering>true</filtering>
  156. </resource>
  157. </resources>
  158. <plugins>
  159. <plugin>
  160. <groupId>org.apache.maven.plugins</groupId>
  161. <artifactId>maven-jar-plugin</artifactId>
  162. <configuration>
  163. <archive>
  164. <manifestEntries>
  165. <Graylog-Plugin-Properties-Path>${project.groupId}.${project.artifactId}</Graylog-Plugin-Properties-Path>
  166. </manifestEntries>
  167. </archive>
  168. </configuration>
  169. </plugin>
  170. <plugin>
  171. <groupId>org.apache.maven.plugins</groupId>
  172. <artifactId>maven-compiler-plugin</artifactId>
  173. <configuration>
  174. <annotationProcessors>
  175. <annotationProcessor>com.google.auto.value.processor.AutoValueProcessor</annotationProcessor>
  176. <annotationProcessor>com.google.auto.service.processor.AutoServiceProcessor</annotationProcessor>
  177. </annotationProcessors>
  178. </configuration>
  179. </plugin>
  180. <plugin>
  181. <groupId>org.apache.maven.plugins</groupId>
  182. <artifactId>maven-shade-plugin</artifactId>
  183. <configuration>
  184. <createDependencyReducedPom>false</createDependencyReducedPom>
  185. <minimizeJar>false</minimizeJar>
  186. <transformers>
  187. <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
  188. </transformers>
  189. <artifactSet>
  190. <excludes>
  191. <exclude>com.google.guava:guava</exclude>
  192. <exclude>com.fasterxml.jackson.core:*</exclude>
  193. <exclude>org.apache.httpcomponents:httpclient</exclude>
  194. <exclude>joda-time:joda-time</exclude>
  195. <exclude>commons-codec:commons-codec</exclude>
  196. <exclude>com.google.protobuf:protobuf-java</exclude>
  197. </excludes>
  198. </artifactSet>
  199. </configuration>
  200. <executions>
  201. <execution>
  202. <phase>package</phase>
  203. <goals>
  204. <goal>shade</goal>
  205. </goals>
  206. </execution>
  207. </executions>
  208. </plugin>
  209. </plugins>
  210. </build>
  211. </project>