netty-incubator-codec-parent-quic-0.0.51.Final.pom 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Copyright 2020 The Netty Project
  4. ~
  5. ~ The Netty Project licenses this file to you under the Apache License,
  6. ~ version 2.0 (the "License"); you may not use this file except in compliance
  7. ~ with the License. You may obtain a copy of the License at:
  8. ~
  9. ~ https://www.apache.org/licenses/LICENSE-2.0
  10. ~
  11. ~ Unless required by applicable law or agreed to in writing, software
  12. ~ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13. ~ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14. ~ License for the specific language governing permissions and limitations
  15. ~ under the License.
  16. -->
  17. <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 https://maven.apache.org/maven-v4_0_0.xsd">
  18. <modelVersion>4.0.0</modelVersion>
  19. <parent>
  20. <groupId>org.sonatype.oss</groupId>
  21. <artifactId>oss-parent</artifactId>
  22. <version>9</version>
  23. </parent>
  24. <groupId>io.netty.incubator</groupId>
  25. <artifactId>netty-incubator-codec-parent-quic</artifactId>
  26. <version>0.0.51.Final</version>
  27. <name>Netty/Incubator/Codec/Parent/Quic</name>
  28. <packaging>pom</packaging>
  29. <url>https://netty.io/</url>
  30. <description>
  31. Netty is an asynchronous event-driven network application framework for
  32. rapid development of maintainable high performance protocol servers and
  33. clients.
  34. </description>
  35. <organization>
  36. <name>The Netty Project</name>
  37. <url>https://netty.io/</url>
  38. </organization>
  39. <licenses>
  40. <license>
  41. <name>Apache License, Version 2.0</name>
  42. <url>https://www.apache.org/licenses/LICENSE-2.0</url>
  43. </license>
  44. </licenses>
  45. <inceptionYear>2020</inceptionYear>
  46. <scm>
  47. <url>https://github.com/netty/netty-incubator-codec-quic</url>
  48. <connection>scm:git:git://github.com/netty/netty-incubator-codec-quic.git</connection>
  49. <developerConnection>scm:git:ssh://git@github.com/netty/netty-incubator-codec-quic.git</developerConnection>
  50. <tag>netty-incubator-codec-parent-quic-0.0.51.Final</tag>
  51. </scm>
  52. <developers>
  53. <developer>
  54. <id>netty.io</id>
  55. <name>The Netty Project Contributors</name>
  56. <email>netty@googlegroups.com</email>
  57. <url>https://netty.io/</url>
  58. <organization>The Netty Project</organization>
  59. <organizationUrl>https://netty.io/</organizationUrl>
  60. </developer>
  61. </developers>
  62. <modules>
  63. <module>codec-classes-quic</module>
  64. <module>codec-native-quic</module>
  65. <module>testsuite-native-image</module>
  66. </modules>
  67. <properties>
  68. <javaModuleName />
  69. <skipTests>false</skipTests>
  70. <packaging.type>jar</packaging.type>
  71. <netty.version>4.1.99.Final</netty.version>
  72. <netty.build.version>31</netty.build.version>
  73. <netty.jni-util.version>0.0.9.Final</netty.jni-util.version>
  74. <junit.version>5.9.0</junit.version>
  75. <native.maven.plugin.version>0.9.27</native.maven.plugin.version>
  76. <test.argLine>-D_</test.argLine>
  77. <bundleNativeCode />
  78. <crossCompile />
  79. </properties>
  80. <build>
  81. <pluginManagement>
  82. <plugins>
  83. <plugin>
  84. <groupId>org.codehaus.mojo</groupId>
  85. <artifactId>build-helper-maven-plugin</artifactId>
  86. <version>3.2.0</version>
  87. </plugin>
  88. <plugin>
  89. <groupId>org.apache.maven.plugins</groupId>
  90. <artifactId>maven-dependency-plugin</artifactId>
  91. <version>3.1.2</version>
  92. </plugin>
  93. <plugin>
  94. <artifactId>maven-antrun-plugin</artifactId>
  95. <version>1.8</version>
  96. <dependencies>
  97. <dependency>
  98. <groupId>org.apache.ant</groupId>
  99. <artifactId>ant</artifactId>
  100. <version>1.10.11</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.apache.ant</groupId>
  104. <artifactId>ant-commons-net</artifactId>
  105. <version>1.9.6</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>ant-contrib</groupId>
  109. <artifactId>ant-contrib</artifactId>
  110. <version>1.0b3</version>
  111. </dependency>
  112. </dependencies>
  113. </plugin>
  114. <plugin>
  115. <artifactId>maven-compiler-plugin</artifactId>
  116. <version>3.8.0</version>
  117. </plugin>
  118. <plugin>
  119. <artifactId>maven-checkstyle-plugin</artifactId>
  120. <version>3.1.0</version>
  121. <dependencies>
  122. <dependency>
  123. <groupId>com.puppycrawl.tools</groupId>
  124. <artifactId>checkstyle</artifactId>
  125. <version>8.29</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>io.netty</groupId>
  129. <artifactId>netty-build-common</artifactId>
  130. <version>${netty.build.version}</version>
  131. </dependency>
  132. </dependencies>
  133. </plugin>
  134. <plugin>
  135. <artifactId>maven-surefire-plugin</artifactId>
  136. <version>2.22.1</version>
  137. </plugin>
  138. <plugin>
  139. <artifactId>maven-javadoc-plugin</artifactId>
  140. <version>2.10.4</version>
  141. </plugin>
  142. <plugin>
  143. <groupId>org.apache.felix</groupId>
  144. <artifactId>maven-bundle-plugin</artifactId>
  145. <version>2.5.4</version>
  146. </plugin>
  147. <plugin>
  148. <artifactId>maven-deploy-plugin</artifactId>
  149. <version>2.8.2</version>
  150. </plugin>
  151. <plugin>
  152. <artifactId>maven-source-plugin</artifactId>
  153. <version>3.2.1</version>
  154. </plugin>
  155. <plugin>
  156. <artifactId>maven-release-plugin</artifactId>
  157. <version>2.5.3</version>
  158. <dependencies>
  159. <dependency>
  160. <groupId>org.apache.maven.scm</groupId>
  161. <artifactId>maven-scm-api</artifactId>
  162. <version>1.9.4</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.apache.maven.scm</groupId>
  166. <artifactId>maven-scm-provider-gitexe</artifactId>
  167. <version>1.9.4</version>
  168. </dependency>
  169. </dependencies>
  170. </plugin>
  171. <plugin>
  172. <groupId>org.fusesource.hawtjni</groupId>
  173. <artifactId>hawtjni-maven-plugin</artifactId>
  174. <version>1.18</version>
  175. </plugin>
  176. <plugin>
  177. <artifactId>maven-jar-plugin</artifactId>
  178. <version>3.2.0</version>
  179. </plugin>
  180. <plugin>
  181. <groupId>com.simpligility.maven.plugins</groupId>
  182. <artifactId>android-maven-plugin</artifactId>
  183. <version>4.6.0</version>
  184. </plugin>
  185. </plugins>
  186. </pluginManagement>
  187. <extensions>
  188. <extension>
  189. <groupId>kr.motd.maven</groupId>
  190. <artifactId>os-maven-plugin</artifactId>
  191. <version>1.7.0</version>
  192. </extension>
  193. </extensions>
  194. <plugins>
  195. <plugin>
  196. <artifactId>maven-compiler-plugin</artifactId>
  197. <configuration>
  198. <compilerVersion>1.8</compilerVersion>
  199. <fork>true</fork>
  200. <source>1.8</source>
  201. <target>1.8</target>
  202. <debug>true</debug>
  203. <optimize>true</optimize>
  204. <showDeprecation>true</showDeprecation>
  205. <showWarnings>true</showWarnings>
  206. <compilerArgument>-Xlint:-options</compilerArgument>
  207. <meminitial>256m</meminitial>
  208. <maxmem>1024m</maxmem>
  209. <excludes>
  210. <exclude>**/package-info.java</exclude>
  211. </excludes>
  212. </configuration>
  213. </plugin>
  214. <plugin>
  215. <artifactId>maven-checkstyle-plugin</artifactId>
  216. <executions>
  217. <execution>
  218. <id>check-style</id>
  219. <goals>
  220. <goal>check</goal>
  221. </goals>
  222. <phase>validate</phase>
  223. <configuration>
  224. <consoleOutput>true</consoleOutput>
  225. <logViolationsToConsole>true</logViolationsToConsole>
  226. <failsOnError>true</failsOnError>
  227. <failOnViolation>true</failOnViolation>
  228. <configLocation>io/netty/checkstyle.xml</configLocation>
  229. <sourceDirectories>
  230. <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
  231. <sourceDirectory>${project.build.testSourceDirectory}</sourceDirectory>
  232. </sourceDirectories>
  233. </configuration>
  234. <inherited>false</inherited>
  235. </execution>
  236. </executions>
  237. </plugin>
  238. <plugin>
  239. <artifactId>maven-surefire-plugin</artifactId>
  240. <configuration>
  241. <includes>
  242. <include>**/*Test*.java</include>
  243. </includes>
  244. <excludes>
  245. <exclude>**/Abstract*</exclude>
  246. </excludes>
  247. <runOrder>random</runOrder>
  248. <systemPropertyVariables>
  249. <logback.configurationFile>src/test/resources/logback-test.xml</logback.configurationFile>
  250. <logLevel>info</logLevel>
  251. </systemPropertyVariables>
  252. <!-- Ensure the whole stacktrace is preserved when an exception is thrown. See https://issues.apache.org/jira/browse/SUREFIRE-1457 -->
  253. <trimStackTrace>false</trimStackTrace>
  254. <!-- Always check JNI during test run so we catch bugs that could cause crashes -->
  255. <argLine>-ea -Xcheck:jni ${test.argLine}</argLine>
  256. </configuration>
  257. </plugin>
  258. <!-- always produce osgi bundles -->
  259. <plugin>
  260. <groupId>org.apache.felix</groupId>
  261. <artifactId>maven-bundle-plugin</artifactId>
  262. <executions>
  263. <execution>
  264. <id>generate-manifest</id>
  265. <phase>process-classes</phase>
  266. <goals>
  267. <goal>manifest</goal>
  268. </goals>
  269. <configuration>
  270. <supportedProjectTypes>
  271. <supportedProjectType>jar</supportedProjectType>
  272. <supportedProjectType>bundle</supportedProjectType>
  273. </supportedProjectTypes>
  274. <instructions>
  275. <Export-Package>${project.groupId}.*</Export-Package>
  276. </instructions>
  277. </configuration>
  278. </execution>
  279. </executions>
  280. </plugin>
  281. <plugin>
  282. <artifactId>maven-source-plugin</artifactId>
  283. <!-- Eclipse-related OSGi manifests
  284. See https://github.com/netty/netty/issues/3886
  285. More information: https://rajakannappan.blogspot.ie/2010/03/automating-eclipse-source-bundle.html -->
  286. <configuration>
  287. <archive>
  288. <manifestEntries>
  289. <Bundle-ManifestVersion>2</Bundle-ManifestVersion>
  290. <Bundle-Name>${project.name}</Bundle-Name>
  291. <Bundle-SymbolicName>${project.groupId}.${project.artifactId}.source</Bundle-SymbolicName>
  292. <Bundle-Vendor>${project.organization.name}</Bundle-Vendor>
  293. <Bundle-Version>${parsedVersion.osgiVersion}</Bundle-Version>
  294. <Eclipse-SourceBundle>${project.groupId}.${project.artifactId};version="${parsedVersion.osgiVersion}";roots:="."</Eclipse-SourceBundle>
  295. </manifestEntries>
  296. </archive>
  297. </configuration>
  298. <executions>
  299. <execution>
  300. <id>attach-sources</id>
  301. <phase>prepare-package</phase>
  302. <goals>
  303. <goal>jar-no-fork</goal>
  304. </goals>
  305. </execution>
  306. <execution>
  307. <id>attach-test-sources</id>
  308. <phase>prepare-package</phase>
  309. <goals>
  310. <goal>test-jar-no-fork</goal>
  311. </goals>
  312. </execution>
  313. </executions>
  314. </plugin>
  315. <plugin>
  316. <artifactId>maven-javadoc-plugin</artifactId>
  317. <configuration>
  318. <detectOfflineLinks>false</detectOfflineLinks>
  319. <breakiterator>true</breakiterator>
  320. <version>false</version>
  321. <author>false</author>
  322. <keywords>true</keywords>
  323. <source>8</source>
  324. </configuration>
  325. </plugin>
  326. <plugin>
  327. <artifactId>maven-deploy-plugin</artifactId>
  328. <configuration>
  329. <retryFailedDeploymentCount>10</retryFailedDeploymentCount>
  330. </configuration>
  331. </plugin>
  332. <plugin>
  333. <artifactId>maven-release-plugin</artifactId>
  334. <configuration>
  335. <useReleaseProfile>false</useReleaseProfile>
  336. <arguments>-P restricted-release,sonatype-oss-release,full</arguments>
  337. <autoVersionSubmodules>true</autoVersionSubmodules>
  338. <allowTimestampedSnapshots>false</allowTimestampedSnapshots>
  339. <tagNameFormat>${project.artifactId}-@{project.version}</tagNameFormat>
  340. </configuration>
  341. </plugin>
  342. </plugins>
  343. </build>
  344. <dependencyManagement>
  345. <dependencies>
  346. <dependency>
  347. <groupId>io.netty</groupId>
  348. <artifactId>netty-jni-util</artifactId>
  349. <version>${netty.jni-util.version}</version>
  350. <classifier>sources</classifier>
  351. <optional>true</optional>
  352. </dependency>
  353. <dependency>
  354. <groupId>io.netty</groupId>
  355. <artifactId>netty-common</artifactId>
  356. <version>${netty.version}</version>
  357. </dependency>
  358. <dependency>
  359. <groupId>io.netty</groupId>
  360. <artifactId>netty-buffer</artifactId>
  361. <version>${netty.version}</version>
  362. </dependency>
  363. <dependency>
  364. <groupId>io.netty</groupId>
  365. <artifactId>netty-codec</artifactId>
  366. <version>${netty.version}</version>
  367. </dependency>
  368. <dependency>
  369. <groupId>io.netty</groupId>
  370. <artifactId>netty-handler</artifactId>
  371. <version>${netty.version}</version>
  372. </dependency>
  373. <dependency>
  374. <groupId>io.netty</groupId>
  375. <artifactId>netty-transport</artifactId>
  376. <version>${netty.version}</version>
  377. </dependency>
  378. <dependency>
  379. <groupId>io.netty</groupId>
  380. <artifactId>netty-transport-classes-epoll</artifactId>
  381. <version>${netty.version}</version>
  382. <scope>compile</scope>
  383. <!-- Let's mark as optional as it is not strictly needed -->
  384. <optional>true</optional>
  385. </dependency>
  386. <dependency>
  387. <groupId>io.netty</groupId>
  388. <artifactId>netty-transport-native-epoll</artifactId>
  389. <version>${netty.version}</version>
  390. <classifier>linux-x86_64</classifier>
  391. <scope>test</scope>
  392. </dependency>
  393. <dependency>
  394. <groupId>org.junit.jupiter</groupId>
  395. <artifactId>junit-jupiter-api</artifactId>
  396. <version>${junit.version}</version>
  397. <scope>test</scope>
  398. </dependency>
  399. <dependency>
  400. <groupId>org.junit.jupiter</groupId>
  401. <artifactId>junit-jupiter-engine</artifactId>
  402. <version>${junit.version}</version>
  403. <scope>test</scope>
  404. </dependency>
  405. <dependency>
  406. <groupId>org.junit.jupiter</groupId>
  407. <artifactId>junit-jupiter-params</artifactId>
  408. <version>${junit.version}</version>
  409. <scope>test</scope>
  410. </dependency>
  411. <dependency>
  412. <groupId>org.hamcrest</groupId>
  413. <artifactId>hamcrest-library</artifactId>
  414. <version>1.3</version>
  415. <scope>test</scope>
  416. </dependency>
  417. <dependency>
  418. <groupId>io.netty</groupId>
  419. <artifactId>netty-build-common</artifactId>
  420. <version>${netty.build.version}</version>
  421. <scope>test</scope>
  422. </dependency>
  423. <dependency>
  424. <groupId>ch.qos.logback</groupId>
  425. <artifactId>logback-classic</artifactId>
  426. <version>1.3.8.</version>
  427. <scope>test</scope>
  428. </dependency>
  429. <!-- Also include bouncycastle so we can use SelfSignedCertificate even on more recent JDKs during testing -->
  430. <dependency>
  431. <groupId>org.bouncycastle</groupId>
  432. <artifactId>bcpkix-jdk15on</artifactId>
  433. <version>1.70</version>
  434. <scope>test</scope>
  435. </dependency>
  436. <dependency>
  437. <groupId>org.assertj</groupId>
  438. <artifactId>assertj-core</artifactId>
  439. <version>3.20.2</version>
  440. <scope>test</scope>
  441. </dependency>
  442. </dependencies>
  443. </dependencyManagement>
  444. </project>