pom.xml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright 2017-2022 Adobe.
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License.
  13. -->
  14. <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">
  15. <modelVersion>4.0.0</modelVersion>
  16. <groupId>com.adobe.testing</groupId>
  17. <artifactId>s3mock-parent</artifactId>
  18. <version>2.4.16-SNAPSHOT</version>
  19. <packaging>pom</packaging>
  20. <name>S3Mock - Parent</name>
  21. <description>S3 mock implementation to be used for hermetic testing</description>
  22. <url>https://www.github.com/adobe/S3Mock</url>
  23. <!-- required metadata for publishing the Maven artifacts -->
  24. <organization>
  25. <name>Adobe</name>
  26. <url>https://www.adobe.com</url>
  27. </organization>
  28. <licenses>
  29. <license>
  30. <name>The Apache License, Version 2.0</name>
  31. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  32. </license>
  33. </licenses>
  34. <modules>
  35. <module>build-config</module>
  36. <module>server</module>
  37. </modules>
  38. <scm>
  39. <connection>scm:git:https://github.com/adobe/S3Mock.git</connection>
  40. <developerConnection>scm:git:https://github.com/adobe/S3Mock.git</developerConnection>
  41. <tag>HEAD</tag>
  42. <url>http://github.com/adobe/S3Mock/tree/main</url>
  43. </scm>
  44. <distributionManagement>
  45. <repository>
  46. <id>ossrh</id>
  47. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  48. </repository>
  49. <snapshotRepository>
  50. <id>ossrh</id>
  51. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  52. </snapshotRepository>
  53. </distributionManagement>
  54. <properties>
  55. <aws-v2.version>2.17.243</aws-v2.version>
  56. <aws.version>1.12.271</aws.version>
  57. <checkstyle.version>10.3.1</checkstyle.version>
  58. <commons-codec.version>1.15</commons-codec.version>
  59. <commons-io.version>2.11.0</commons-io.version>
  60. <docker-builder.image.name>s3mock-buildx</docker-builder.image.name>
  61. <docker-maven-plugin.version>0.40.2</docker-maven-plugin.version>
  62. <docker.image.name>adobe/s3mock</docker.image.name>
  63. <java.version>8</java.version>
  64. <junit-jupiter.version>5.7.2</junit-jupiter.version>
  65. <junit.version>4.13.2</junit.version>
  66. <kotlin.version>1.7.10</kotlin.version>
  67. <license-maven-plugin-git.version>4.1</license-maven-plugin-git.version>
  68. <maven-checkstyle-plugin.version>3.1.2</maven-checkstyle-plugin.version>
  69. <maven-clean-plugin.version>3.2.0</maven-clean-plugin.version>
  70. <maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
  71. <maven-deploy-plugin.version>3.0.0</maven-deploy-plugin.version>
  72. <maven-enforcer-plugin.version>3.1.0</maven-enforcer-plugin.version>
  73. <maven-failsafe-plugin.version>3.0.0-M7</maven-failsafe-plugin.version>
  74. <maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version>
  75. <maven-install-plugin.version>3.0.1</maven-install-plugin.version>
  76. <maven-jar-plugin.version>3.2.2</maven-jar-plugin.version>
  77. <maven-javadoc-plugin.version>3.4.0</maven-javadoc-plugin.version>
  78. <maven-release-plugin.version>3.0.0-M6</maven-release-plugin.version>
  79. <maven-resources-plugin.version>3.3.0</maven-resources-plugin.version>
  80. <maven-source-plugin.version>3.2.1</maven-source-plugin.version>
  81. <maven-surefire-plugin.version>3.0.0-M7</maven-surefire-plugin.version>
  82. <mockito-kotlin.version>4.0.0</mockito-kotlin.version>
  83. <nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version>
  84. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  85. <!-- Run Docker build by default -->
  86. <skipDocker>false</skipDocker>
  87. <sortpom-maven-plugin.version>3.2.0</sortpom-maven-plugin.version>
  88. <spring-boot.version>2.7.2</spring-boot.version>
  89. <spring-security-oauth2.version>2.5.2.RELEASE</spring-security-oauth2.version>
  90. <testcontainers.version>1.17.3</testcontainers.version>
  91. <testng.version>7.6.1</testng.version>
  92. <xmlunit-assertj3.version>2.9.0</xmlunit-assertj3.version>
  93. </properties>
  94. <dependencyManagement>
  95. <dependencies>
  96. <dependency>
  97. <groupId>com.adobe.testing</groupId>
  98. <artifactId>s3mock</artifactId>
  99. <version>${project.version}</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>com.adobe.testing</groupId>
  103. <artifactId>s3mock</artifactId>
  104. <version>${project.version}</version>
  105. <classifier>exec</classifier>
  106. </dependency>
  107. <dependency>
  108. <groupId>com.adobe.testing</groupId>
  109. <artifactId>s3mock-docker</artifactId>
  110. <version>${project.version}</version>
  111. <type>pom</type>
  112. </dependency>
  113. <dependency>
  114. <groupId>com.adobe.testing</groupId>
  115. <artifactId>s3mock-testsupport-common</artifactId>
  116. <version>${project.version}</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>com.amazonaws</groupId>
  120. <artifactId>aws-java-sdk-s3</artifactId>
  121. <version>${aws.version}</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>commons-io</groupId>
  125. <artifactId>commons-io</artifactId>
  126. <version>${commons-io.version}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>junit</groupId>
  130. <artifactId>junit</artifactId>
  131. <version>${junit.version}</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.jetbrains.kotlin</groupId>
  135. <artifactId>kotlin-stdlib-jdk8</artifactId>
  136. <version>${kotlin.version}</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.jetbrains.kotlin</groupId>
  140. <artifactId>kotlin-test</artifactId>
  141. <version>${kotlin.version}</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.jetbrains.kotlin</groupId>
  145. <artifactId>kotlin-test-junit</artifactId>
  146. <version>${kotlin.version}</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.mockito.kotlin</groupId>
  150. <artifactId>mockito-kotlin</artifactId>
  151. <version>${mockito-kotlin.version}</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.springframework.boot</groupId>
  155. <artifactId>spring-boot-starter-parent</artifactId>
  156. <version>${spring-boot.version}</version>
  157. <type>pom</type>
  158. <scope>import</scope>
  159. </dependency>
  160. <!--
  161. S3 Mock doesn't need spring-security-oauth2. We ran into trouble
  162. when dependency was on classpath where server did not accept any
  163. requests (see https://github.com/adobe/S3Mock/issues/59).
  164. spring-security-oauth2 is referenced by s3mock-junit4, S3MockRuleTest needs
  165. to turn green.
  166. -->
  167. <dependency>
  168. <groupId>org.springframework.security.oauth</groupId>
  169. <artifactId>spring-security-oauth2</artifactId>
  170. <version>${spring-security-oauth2.version}</version>
  171. <scope>test</scope>
  172. </dependency>
  173. <dependency>
  174. <groupId>org.testcontainers</groupId>
  175. <artifactId>junit-jupiter</artifactId>
  176. <version>${testcontainers.version}</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>org.testcontainers</groupId>
  180. <artifactId>testcontainers</artifactId>
  181. <version>${testcontainers.version}</version>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.testng</groupId>
  185. <artifactId>testng</artifactId>
  186. <version>${testng.version}</version>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.xmlunit</groupId>
  190. <artifactId>xmlunit-assertj3</artifactId>
  191. <version>${xmlunit-assertj3.version}</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>software.amazon.awssdk</groupId>
  195. <artifactId>aws-query-protocol</artifactId>
  196. <version>${aws-v2.version}</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>software.amazon.awssdk</groupId>
  200. <artifactId>aws-xml-protocol</artifactId>
  201. <version>${aws-v2.version}</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>software.amazon.awssdk</groupId>
  205. <artifactId>s3</artifactId>
  206. <version>${aws-v2.version}</version>
  207. </dependency>
  208. <dependency>
  209. <groupId>software.amazon.awssdk</groupId>
  210. <artifactId>url-connection-client</artifactId>
  211. <version>${aws-v2.version}</version>
  212. </dependency>
  213. </dependencies>
  214. </dependencyManagement>
  215. <build>
  216. <pluginManagement>
  217. <plugins>
  218. <plugin>
  219. <groupId>com.github.ekryd.sortpom</groupId>
  220. <artifactId>sortpom-maven-plugin</artifactId>
  221. <version>${sortpom-maven-plugin.version}</version>
  222. <configuration>
  223. <encoding>${project.build.sourceEncoding}</encoding>
  224. <keepBlankLines>true</keepBlankLines>
  225. <predefinedSortOrder>recommended_2008_06</predefinedSortOrder>
  226. <sortDependencies>groupId,artifactId,scope</sortDependencies>
  227. <sortModules>true</sortModules>
  228. <sortPlugins>groupId,artifactId,scope</sortPlugins>
  229. <sortProperties>true</sortProperties>
  230. </configuration>
  231. <executions>
  232. <execution>
  233. <goals>
  234. <goal>sort</goal>
  235. </goals>
  236. <phase>verify</phase>
  237. </execution>
  238. </executions>
  239. </plugin>
  240. <plugin>
  241. <groupId>com.mycila</groupId>
  242. <artifactId>license-maven-plugin</artifactId>
  243. <version>${license-maven-plugin-git.version}</version>
  244. <configuration>
  245. <header>etc/license-template.txt</header>
  246. <strictCheck>true</strictCheck>
  247. <excludes>
  248. <exclude>.idea/**</exclude>
  249. <exclude>.springBeans</exclude>
  250. <exclude>.editorconfig</exclude>
  251. <exclude>**/*.jks</exclude>
  252. <exclude>**/sample*.txt</exclude>
  253. <exclude>COPYRIGHT</exclude>
  254. <exclude>LICENSE</exclude>
  255. <exclude>AUTHORS</exclude>
  256. <exclude>README.md</exclude>
  257. <exclude>.github/workflows/**</exclude>
  258. <exclude>CONTRIBUTING.md</exclude>
  259. <exclude>.gitattributes</exclude>
  260. <exclude>.gitignore</exclude>
  261. <exclude>src/main/resources/banner.txt</exclude>
  262. </excludes>
  263. <mapping>
  264. <java>SLASHSTAR_STYLE</java>
  265. </mapping>
  266. <properties>
  267. <project.inceptionYear>2017</project.inceptionYear>
  268. </properties>
  269. <!-- Do not execute when skipping tests.
  270. This also disables execution during a release. -->
  271. <skip>${skipTests}</skip>
  272. </configuration>
  273. <dependencies>
  274. <dependency>
  275. <groupId>com.mycila</groupId>
  276. <artifactId>license-maven-plugin-git</artifactId>
  277. <!-- make sure you use the same version as license-maven-plugin -->
  278. <version>${license-maven-plugin-git.version}</version>
  279. </dependency>
  280. </dependencies>
  281. <executions>
  282. <execution>
  283. <goals>
  284. <goal>check</goal>
  285. </goals>
  286. </execution>
  287. </executions>
  288. </plugin>
  289. <plugin>
  290. <groupId>io.fabric8</groupId>
  291. <artifactId>docker-maven-plugin</artifactId>
  292. <version>${docker-maven-plugin.version}</version>
  293. <configuration>
  294. <skip>true</skip>
  295. </configuration>
  296. </plugin>
  297. <plugin>
  298. <groupId>org.apache.maven.plugins</groupId>
  299. <artifactId>maven-checkstyle-plugin</artifactId>
  300. <version>${maven-checkstyle-plugin.version}</version>
  301. <configuration>
  302. <consoleOutput>false</consoleOutput>
  303. <failOnViolation>true</failOnViolation>
  304. <violationSeverity>info</violationSeverity>
  305. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  306. <configLocation>build-config/checkstyle.xml</configLocation>
  307. </configuration>
  308. <dependencies>
  309. <dependency>
  310. <groupId>com.adobe.testing</groupId>
  311. <artifactId>s3mock-build-config</artifactId>
  312. <version>${project.version}</version>
  313. </dependency>
  314. <dependency>
  315. <groupId>com.puppycrawl.tools</groupId>
  316. <artifactId>checkstyle</artifactId>
  317. <version>${checkstyle.version}</version>
  318. </dependency>
  319. </dependencies>
  320. <executions>
  321. <execution>
  322. <id>check-style</id>
  323. <goals>
  324. <goal>check</goal>
  325. </goals>
  326. <phase>validate</phase>
  327. </execution>
  328. </executions>
  329. </plugin>
  330. <plugin>
  331. <artifactId>maven-clean-plugin</artifactId>
  332. <version>${maven-clean-plugin.version}</version>
  333. </plugin>
  334. <plugin>
  335. <!--
  336. Config from https://kotlinlang.org/docs/maven.html#compile-kotlin-and-java-sources
  337. -->
  338. <groupId>org.apache.maven.plugins</groupId>
  339. <artifactId>maven-compiler-plugin</artifactId>
  340. <version>${maven-compiler-plugin.version}</version>
  341. <configuration>
  342. <release>${java.version}</release>
  343. <encoding>${project.build.sourceEncoding}</encoding>
  344. </configuration>
  345. <executions>
  346. <!-- Replacing default-compile as it is treated specially by maven -->
  347. <execution>
  348. <id>default-compile</id>
  349. <phase>none</phase>
  350. </execution>
  351. <!-- Replacing default-testCompile as it is treated specially by maven -->
  352. <execution>
  353. <id>default-testCompile</id>
  354. <phase>none</phase>
  355. </execution>
  356. <execution>
  357. <id>java-compile</id>
  358. <goals>
  359. <goal>compile</goal>
  360. </goals>
  361. <phase>compile</phase>
  362. </execution>
  363. <execution>
  364. <id>java-test-compile</id>
  365. <goals>
  366. <goal>testCompile</goal>
  367. </goals>
  368. <phase>test-compile</phase>
  369. </execution>
  370. </executions>
  371. </plugin>
  372. <plugin>
  373. <artifactId>maven-deploy-plugin</artifactId>
  374. <version>${maven-deploy-plugin.version}</version>
  375. </plugin>
  376. <plugin>
  377. <artifactId>maven-enforcer-plugin</artifactId>
  378. <version>${maven-enforcer-plugin.version}</version>
  379. <configuration>
  380. <rules>
  381. <requireMavenVersion>
  382. <version>[3.5,)</version>
  383. </requireMavenVersion>
  384. <requireJavaVersion>
  385. <version>${java.version}</version>
  386. </requireJavaVersion>
  387. </rules>
  388. </configuration>
  389. </plugin>
  390. <plugin>
  391. <artifactId>maven-failsafe-plugin</artifactId>
  392. <version>${maven-failsafe-plugin.version}</version>
  393. <configuration>
  394. <failIfNoTests>true</failIfNoTests>
  395. </configuration>
  396. </plugin>
  397. <plugin>
  398. <artifactId>maven-gpg-plugin</artifactId>
  399. <version>${maven-gpg-plugin.version}</version>
  400. <configuration>
  401. <gpgArguments>
  402. <arg>--pinentry-mode</arg>
  403. <arg>loopback</arg>
  404. </gpgArguments>
  405. </configuration>
  406. <executions>
  407. <execution>
  408. <id>sign-artifacts</id>
  409. <goals>
  410. <goal>sign</goal>
  411. </goals>
  412. <phase>verify</phase>
  413. </execution>
  414. </executions>
  415. </plugin>
  416. <plugin>
  417. <artifactId>maven-install-plugin</artifactId>
  418. <version>${maven-install-plugin.version}</version>
  419. </plugin>
  420. <plugin>
  421. <artifactId>maven-jar-plugin</artifactId>
  422. <version>${maven-jar-plugin.version}</version>
  423. </plugin>
  424. <plugin>
  425. <artifactId>maven-javadoc-plugin</artifactId>
  426. <version>${maven-javadoc-plugin.version}</version>
  427. <configuration>
  428. <quiet>true</quiet>
  429. <source>${java.version}</source>
  430. <detectJavaApiLink>false</detectJavaApiLink>
  431. </configuration>
  432. <executions>
  433. <execution>
  434. <id>javadoc</id>
  435. <goals>
  436. <goal>jar</goal>
  437. </goals>
  438. <phase>package</phase>
  439. </execution>
  440. </executions>
  441. </plugin>
  442. <plugin>
  443. <artifactId>maven-release-plugin</artifactId>
  444. <version>${maven-release-plugin.version}</version>
  445. <configuration>
  446. <autoVersionSubmodules>true</autoVersionSubmodules>
  447. <goals>deploy -DskipTests -Prelease -P!build-docker-image -Ppush-docker-image</goals>
  448. <preparationGoals>clean install</preparationGoals>
  449. <tagNameFormat>@{project.version}</tagNameFormat>
  450. </configuration>
  451. </plugin>
  452. <plugin>
  453. <artifactId>maven-resources-plugin</artifactId>
  454. <version>${maven-resources-plugin.version}</version>
  455. </plugin>
  456. <plugin>
  457. <artifactId>maven-source-plugin</artifactId>
  458. <version>${maven-source-plugin.version}</version>
  459. <executions>
  460. <execution>
  461. <id>sources</id>
  462. <goals>
  463. <goal>jar</goal>
  464. </goals>
  465. <phase>package</phase>
  466. </execution>
  467. </executions>
  468. </plugin>
  469. <plugin>
  470. <artifactId>maven-surefire-plugin</artifactId>
  471. <version>${maven-surefire-plugin.version}</version>
  472. <configuration>
  473. <failIfNoTests>true</failIfNoTests>
  474. </configuration>
  475. </plugin>
  476. <plugin>
  477. <groupId>org.codehaus.mojo</groupId>
  478. <artifactId>exec-maven-plugin</artifactId>
  479. <version>3.1.0</version>
  480. </plugin>
  481. <plugin>
  482. <!--
  483. Config from https://kotlinlang.org/docs/maven.html#compile-kotlin-and-java-sources
  484. -->
  485. <groupId>org.jetbrains.kotlin</groupId>
  486. <artifactId>kotlin-maven-plugin</artifactId>
  487. <version>${kotlin.version}</version>
  488. <configuration>
  489. <jvmTarget>1.8</jvmTarget>
  490. </configuration>
  491. <executions>
  492. <execution>
  493. <id>compile</id>
  494. <goals>
  495. <goal>compile</goal>
  496. </goals>
  497. <configuration>
  498. <sourceDirs>
  499. <sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
  500. <sourceDir>${project.basedir}/src/main/java</sourceDir>
  501. </sourceDirs>
  502. </configuration>
  503. </execution>
  504. <execution>
  505. <id>test-compile</id>
  506. <goals>
  507. <goal>test-compile</goal>
  508. </goals>
  509. <configuration>
  510. <sourceDirs>
  511. <sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
  512. <sourceDir>${project.basedir}/src/test/java</sourceDir>
  513. </sourceDirs>
  514. </configuration>
  515. </execution>
  516. </executions>
  517. </plugin>
  518. <plugin>
  519. <groupId>org.sonatype.plugins</groupId>
  520. <artifactId>nexus-staging-maven-plugin</artifactId>
  521. <version>${nexus-staging-maven-plugin.version}</version>
  522. <extensions>true</extensions>
  523. <configuration>
  524. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  525. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  526. <serverId>ossrh</serverId>
  527. </configuration>
  528. </plugin>
  529. <plugin>
  530. <groupId>org.springframework.boot</groupId>
  531. <artifactId>spring-boot-maven-plugin</artifactId>
  532. <version>${spring-boot.version}</version>
  533. </plugin>
  534. </plugins>
  535. </pluginManagement>
  536. <plugins>
  537. <plugin>
  538. <groupId>com.mycila</groupId>
  539. <artifactId>license-maven-plugin</artifactId>
  540. </plugin>
  541. <plugin>
  542. <artifactId>maven-enforcer-plugin</artifactId>
  543. <executions>
  544. <execution>
  545. <id>enforce-maven-and-jdk</id>
  546. <goals>
  547. <goal>enforce</goal>
  548. </goals>
  549. </execution>
  550. </executions>
  551. </plugin>
  552. <plugin>
  553. <artifactId>maven-javadoc-plugin</artifactId>
  554. </plugin>
  555. <plugin>
  556. <artifactId>maven-source-plugin</artifactId>
  557. </plugin>
  558. <plugin>
  559. <groupId>org.sonatype.plugins</groupId>
  560. <artifactId>nexus-staging-maven-plugin</artifactId>
  561. </plugin>
  562. </plugins>
  563. </build>
  564. <profiles>
  565. <profile>
  566. <id>release</id>
  567. <activation>
  568. <activeByDefault>false</activeByDefault>
  569. </activation>
  570. <build>
  571. <plugins>
  572. <plugin>
  573. <artifactId>maven-gpg-plugin</artifactId>
  574. </plugin>
  575. </plugins>
  576. </build>
  577. </profile>
  578. <!-- add JAXB to classpath in Java 9 -->
  579. <profile>
  580. <id>java9+</id>
  581. <activation>
  582. <jdk>[9,)</jdk>
  583. </activation>
  584. <properties>
  585. <jaxb.version>2.3.1</jaxb.version>
  586. </properties>
  587. <dependencies>
  588. <dependency>
  589. <groupId>javax.xml.bind</groupId>
  590. <artifactId>jaxb-api</artifactId>
  591. <version>${jaxb.version}</version>
  592. <scope>provided</scope>
  593. </dependency>
  594. </dependencies>
  595. </profile>
  596. </profiles>
  597. </project>