logstash-logback-encoder-6.6.pom 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438
  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/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>net.logstash.logback</groupId>
  5. <artifactId>logstash-logback-encoder</artifactId>
  6. <name>Logstash Logback Encoder</name>
  7. <version>6.6</version>
  8. <description>Logback encoder which will output events as Logstash-compatible JSON</description>
  9. <url>https://github.com/logstash/logstash-logback-encoder</url>
  10. <developers>
  11. <developer>
  12. <id>neilprosser</id>
  13. <name>Neil Prosser</name>
  14. <email>neil.prosser@gmail.com</email>
  15. <organization>Nokia</organization>
  16. <organizationUrl>http://music.nokia.com</organizationUrl>
  17. </developer>
  18. <developer>
  19. <id>philsttr</id>
  20. <name>Phil Clay</name>
  21. </developer>
  22. <developer>
  23. <id>lusis</id>
  24. <name>John E. Vincent</name>
  25. <email>lusis.org+github.com@gmail.com</email>
  26. </developer>
  27. </developers>
  28. <licenses>
  29. <license>
  30. <name>Apache License, Version 2.0</name>
  31. <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  32. </license>
  33. <license>
  34. <name>MIT License</name>
  35. <url>http://www.slf4j.org/license.html</url>
  36. <comments>The portion of LogstashBasicMarker.java that has been copied from
  37. org.slf4j.helpers.BasicMarker is released under the MIT License.</comments>
  38. </license>
  39. </licenses>
  40. <scm>
  41. <connection>scm:git:https://github.com/logstash/logstash-logback-encoder</connection>
  42. <developerConnection>scm:git:https://github.com/logstash/logstash-logback-encoder</developerConnection>
  43. <tag>logstash-logback-encoder-6.6</tag>
  44. <url>https://github.com/logstash/logstash-logback-encoder</url>
  45. </scm>
  46. <build>
  47. <pluginManagement>
  48. <plugins>
  49. <plugin>
  50. <artifactId>maven-source-plugin</artifactId>
  51. <version>${maven-source-plugin.version}</version>
  52. </plugin>
  53. <plugin>
  54. <artifactId>maven-surefire-plugin</artifactId>
  55. <version>${maven-surefire-plugin.version}</version>
  56. </plugin>
  57. <plugin>
  58. <artifactId>maven-javadoc-plugin</artifactId>
  59. <version>${maven-javadoc-plugin.version}</version>
  60. <configuration>
  61. <doclint>none</doclint>
  62. <links>
  63. <link>http://logback.qos.ch/apidocs</link>
  64. <link>https://fasterxml.github.io/jackson-core/javadoc/2.10</link>
  65. <link>https://fasterxml.github.io/jackson-databind/javadoc/2.10</link>
  66. </links>
  67. </configuration>
  68. </plugin>
  69. </plugins>
  70. </pluginManagement>
  71. <plugins>
  72. <plugin>
  73. <artifactId>maven-compiler-plugin</artifactId>
  74. <version>${maven-compiler-plugin.version}</version>
  75. <configuration>
  76. <source>${java.version}</source>
  77. <target>${java.version}</target>
  78. </configuration>
  79. </plugin>
  80. <plugin>
  81. <artifactId>maven-enforcer-plugin</artifactId>
  82. <version>${maven-enforcer-plugin.version}</version>
  83. <goals>
  84. <goal>enforce</goal>
  85. </goals>
  86. <configuration>
  87. <rules>
  88. <requireJavaVersion>
  89. <version>[1.8,)</version>
  90. </requireJavaVersion>
  91. <requireMavenVersion>
  92. <version>[2.2.1,)</version>
  93. </requireMavenVersion>
  94. </rules>
  95. </configuration>
  96. </plugin>
  97. <plugin>
  98. <groupId>org.codehaus.mojo</groupId>
  99. <artifactId>animal-sniffer-maven-plugin</artifactId>
  100. <version>${animal-sniffer-maven-plugin.version}</version>
  101. <executions>
  102. <execution>
  103. <id>ensure-java-1.8-compatible</id>
  104. <phase>test</phase>
  105. <goals>
  106. <goal>check</goal>
  107. </goals>
  108. </execution>
  109. </executions>
  110. <configuration>
  111. <signature>
  112. <groupId>org.codehaus.mojo.signature</groupId>
  113. <artifactId>java18</artifactId>
  114. <version>1.0</version>
  115. </signature>
  116. </configuration>
  117. </plugin>
  118. <plugin>
  119. <artifactId>maven-release-plugin</artifactId>
  120. <version>${maven-release-plugin.version}</version>
  121. </plugin>
  122. <plugin>
  123. <groupId>com.mycila.maven-license-plugin</groupId>
  124. <artifactId>maven-license-plugin</artifactId>
  125. <version>${maven-license-plugin.version}</version>
  126. <executions>
  127. <execution>
  128. <phase>process-sources</phase>
  129. <goals>
  130. <goal>format</goal>
  131. </goals>
  132. </execution>
  133. </executions>
  134. <configuration>
  135. <header>license-header.txt</header>
  136. <strictCheck>true</strictCheck>
  137. <aggregate>true</aggregate>
  138. <encoding>UTF-8</encoding>
  139. <failIfMissing>true</failIfMissing>
  140. <skipExistingHeaders>true</skipExistingHeaders>
  141. <includes>
  142. <include>**/src/main/java/**</include>
  143. <include>**/src/test/java/**</include>
  144. </includes>
  145. </configuration>
  146. </plugin>
  147. <plugin>
  148. <artifactId>maven-jar-plugin</artifactId>
  149. <version>${maven-jar-plugin.version}</version>
  150. <configuration>
  151. <archive>
  152. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  153. <manifestEntries>
  154. <Automatic-Module-Name>logstash.logback.encoder</Automatic-Module-Name>
  155. </manifestEntries>
  156. </archive>
  157. </configuration>
  158. </plugin>
  159. <plugin>
  160. <artifactId>maven-shade-plugin</artifactId>
  161. <version>${maven-shade-plugin.version}</version>
  162. <executions>
  163. <execution>
  164. <goals>
  165. <goal>shade</goal>
  166. </goals>
  167. </execution>
  168. </executions>
  169. <configuration>
  170. <shadedArtifactAttached>false</shadedArtifactAttached>
  171. <createDependencyReducedPom>true</createDependencyReducedPom>
  172. <minimizeJar>true</minimizeJar>
  173. <artifactSet>
  174. <excludes>
  175. <exclude>ch.qos.logback:*</exclude>
  176. <exclude>org.slf4j:*</exclude>
  177. <exclude>org.yaml:*</exclude>
  178. <exclude>com.fasterxml.jackson.core:*</exclude>
  179. <exclude>com.fasterxml.jackson.dataformat:*</exclude>
  180. <exclude>com.fasterxml.uuid:*</exclude>
  181. </excludes>
  182. </artifactSet>
  183. <relocations>
  184. <relocation>
  185. <pattern>org.apache.commons.lang3</pattern>
  186. <shadedPattern>${project.groupId}.encoder.org.apache.commons.lang3</shadedPattern>
  187. </relocation>
  188. <relocation>
  189. <pattern>com.lmax.disruptor</pattern>
  190. <shadedPattern>${project.groupId}.encoder.com.lmax.disruptor</shadedPattern>
  191. </relocation>
  192. </relocations>
  193. </configuration>
  194. </plugin>
  195. <plugin>
  196. <groupId>org.apache.felix</groupId>
  197. <artifactId>maven-bundle-plugin</artifactId>
  198. <version>${maven-bundle-plugin.version}</version>
  199. <extensions>true</extensions>
  200. <executions>
  201. <execution>
  202. <id>bundle-manifest</id>
  203. <phase>process-classes</phase>
  204. <goals>
  205. <goal>manifest</goal>
  206. </goals>
  207. </execution>
  208. </executions>
  209. <configuration>
  210. <instructions>
  211. <Export-Package>net.logstash.logback.*</Export-Package>
  212. <Fragment-Host>ch.qos.logback.classic</Fragment-Host>
  213. <Import-Package>!org.apache.commons.*,!com.lmax.disruptor.*,!ch.qos.logback.classic.*,!ch.qos.logback.core.*,!org.slf4j.*,*</Import-Package>
  214. </instructions>
  215. </configuration>
  216. </plugin>
  217. </plugins>
  218. </build>
  219. <profiles>
  220. <profile>
  221. <id>ossrh</id>
  222. <build>
  223. <plugins>
  224. <plugin>
  225. <artifactId>maven-gpg-plugin</artifactId>
  226. <version>1.6</version>
  227. <executions>
  228. <execution>
  229. <id>sign-artifacts</id>
  230. <goals>
  231. <goal>sign</goal>
  232. </goals>
  233. </execution>
  234. </executions>
  235. </plugin>
  236. <plugin>
  237. <groupId>org.sonatype.plugins</groupId>
  238. <artifactId>nexus-staging-maven-plugin</artifactId>
  239. <version>1.6.8</version>
  240. <extensions>true</extensions>
  241. <executions>
  242. <execution>
  243. <id>injected-nexus-deploy</id>
  244. <phase>deploy</phase>
  245. <goals>
  246. <goal>deploy</goal>
  247. </goals>
  248. <configuration>
  249. <serverId>ossrh</serverId>
  250. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  251. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  252. </configuration>
  253. </execution>
  254. </executions>
  255. <configuration>
  256. <serverId>ossrh</serverId>
  257. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  258. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  259. </configuration>
  260. </plugin>
  261. </plugins>
  262. </build>
  263. </profile>
  264. </profiles>
  265. <dependencies>
  266. <dependency>
  267. <groupId>ch.qos.logback</groupId>
  268. <artifactId>logback-classic</artifactId>
  269. <version>1.2.3</version>
  270. <scope>compile</scope>
  271. <optional>true</optional>
  272. </dependency>
  273. <dependency>
  274. <groupId>ch.qos.logback</groupId>
  275. <artifactId>logback-access</artifactId>
  276. <version>1.2.3</version>
  277. <scope>compile</scope>
  278. <optional>true</optional>
  279. </dependency>
  280. <dependency>
  281. <groupId>ch.qos.logback</groupId>
  282. <artifactId>logback-core</artifactId>
  283. <version>1.2.3</version>
  284. <scope>provided</scope>
  285. </dependency>
  286. <dependency>
  287. <groupId>javax.servlet</groupId>
  288. <artifactId>servlet-api</artifactId>
  289. <version>2.5</version>
  290. <scope>provided</scope>
  291. </dependency>
  292. <dependency>
  293. <groupId>com.fasterxml.jackson.core</groupId>
  294. <artifactId>jackson-databind</artifactId>
  295. <version>2.12.0</version>
  296. <scope>compile</scope>
  297. </dependency>
  298. <dependency>
  299. <groupId>com.fasterxml.jackson.dataformat</groupId>
  300. <artifactId>jackson-dataformat-cbor</artifactId>
  301. <version>2.12.0</version>
  302. <scope>compile</scope>
  303. <optional>true</optional>
  304. </dependency>
  305. <dependency>
  306. <groupId>com.fasterxml.jackson.dataformat</groupId>
  307. <artifactId>jackson-dataformat-smile</artifactId>
  308. <version>2.12.0</version>
  309. <scope>compile</scope>
  310. <optional>true</optional>
  311. </dependency>
  312. <dependency>
  313. <groupId>com.fasterxml.jackson.dataformat</groupId>
  314. <artifactId>jackson-dataformat-yaml</artifactId>
  315. <version>2.12.0</version>
  316. <scope>compile</scope>
  317. <optional>true</optional>
  318. </dependency>
  319. <dependency>
  320. <groupId>com.fasterxml.uuid</groupId>
  321. <artifactId>java-uuid-generator</artifactId>
  322. <version>4.0.1</version>
  323. <scope>compile</scope>
  324. <optional>true</optional>
  325. </dependency>
  326. <dependency>
  327. <groupId>org.junit.jupiter</groupId>
  328. <artifactId>junit-jupiter</artifactId>
  329. <version>5.7.0</version>
  330. <scope>test</scope>
  331. <exclusions>
  332. <exclusion>
  333. <artifactId>junit-jupiter-api</artifactId>
  334. <groupId>org.junit.jupiter</groupId>
  335. </exclusion>
  336. <exclusion>
  337. <artifactId>junit-jupiter-params</artifactId>
  338. <groupId>org.junit.jupiter</groupId>
  339. </exclusion>
  340. <exclusion>
  341. <artifactId>junit-jupiter-engine</artifactId>
  342. <groupId>org.junit.jupiter</groupId>
  343. </exclusion>
  344. </exclusions>
  345. </dependency>
  346. <dependency>
  347. <groupId>org.assertj</groupId>
  348. <artifactId>assertj-core</artifactId>
  349. <version>3.18.1</version>
  350. <scope>test</scope>
  351. </dependency>
  352. <dependency>
  353. <groupId>org.mockito</groupId>
  354. <artifactId>mockito-core</artifactId>
  355. <version>3.6.28</version>
  356. <scope>test</scope>
  357. <exclusions>
  358. <exclusion>
  359. <artifactId>byte-buddy</artifactId>
  360. <groupId>net.bytebuddy</groupId>
  361. </exclusion>
  362. <exclusion>
  363. <artifactId>byte-buddy-agent</artifactId>
  364. <groupId>net.bytebuddy</groupId>
  365. </exclusion>
  366. <exclusion>
  367. <artifactId>objenesis</artifactId>
  368. <groupId>org.objenesis</groupId>
  369. </exclusion>
  370. </exclusions>
  371. </dependency>
  372. <dependency>
  373. <groupId>org.mockito</groupId>
  374. <artifactId>mockito-junit-jupiter</artifactId>
  375. <version>3.6.28</version>
  376. <scope>test</scope>
  377. <exclusions>
  378. <exclusion>
  379. <artifactId>junit-jupiter-api</artifactId>
  380. <groupId>org.junit.jupiter</groupId>
  381. </exclusion>
  382. </exclusions>
  383. </dependency>
  384. </dependencies>
  385. <dependencyManagement>
  386. <dependencies>
  387. <dependency>
  388. <groupId>com.fasterxml.jackson</groupId>
  389. <artifactId>jackson-bom</artifactId>
  390. <version>${com.fasterxml.jackson.version}</version>
  391. <type>pom</type>
  392. <scope>import</scope>
  393. </dependency>
  394. <dependency>
  395. <groupId>org.junit</groupId>
  396. <artifactId>junit-bom</artifactId>
  397. <version>${junit.version}</version>
  398. <type>pom</type>
  399. <scope>import</scope>
  400. </dependency>
  401. </dependencies>
  402. </dependencyManagement>
  403. <distributionManagement>
  404. <repository>
  405. <id>ossrh</id>
  406. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  407. </repository>
  408. <snapshotRepository>
  409. <id>ossrh</id>
  410. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  411. </snapshotRepository>
  412. </distributionManagement>
  413. <properties>
  414. <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
  415. <org.assertj.version>3.18.1</org.assertj.version>
  416. <animal-sniffer-maven-plugin.version>1.19</animal-sniffer-maven-plugin.version>
  417. <org.mockito.version>3.6.28</org.mockito.version>
  418. <maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version>
  419. <maven-source-plugin.version>3.2.1</maven-source-plugin.version>
  420. <ch.qos.logback.version>1.2.3</ch.qos.logback.version>
  421. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  422. <com.fasterxml.jackson.version>2.12.0</com.fasterxml.jackson.version>
  423. <maven-license-plugin.version>1.9.0</maven-license-plugin.version>
  424. <com.fasterxml.uuid.version>4.0.1</com.fasterxml.uuid.version>
  425. <junit.version>5.7.0</junit.version>
  426. <maven-bundle-plugin.version>5.1.1</maven-bundle-plugin.version>
  427. <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
  428. <java.version>1.8</java.version>
  429. <maven-shade-plugin.version>3.2.4</maven-shade-plugin.version>
  430. <commons-lang3.version>3.11</commons-lang3.version>
  431. <nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
  432. <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
  433. <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
  434. <maven-release-plugin.version>2.5.3</maven-release-plugin.version>
  435. <maven-enforcer-plugin.version>1.4.1</maven-enforcer-plugin.version>
  436. <com.lmax.disruptor.version>3.4.2</com.lmax.disruptor.version>
  437. </properties>
  438. </project>