parent-11.10.pom 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright 2012-2022 The Feign Authors
  4. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
  5. in compliance with the License. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software distributed under the License
  8. is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
  9. or implied. See the License for the specific language governing permissions and limitations under
  10. the License.
  11. -->
  12. <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">
  13. <modelVersion>4.0.0</modelVersion>
  14. <groupId>io.github.openfeign</groupId>
  15. <artifactId>parent</artifactId>
  16. <version>11.10</version>
  17. <packaging>pom</packaging>
  18. <name>Feign (Parent)</name>
  19. <description>Feign makes writing java http clients easier</description>
  20. <modules>
  21. <module>core</module>
  22. <module>gson</module>
  23. <module>httpclient</module>
  24. <module>hc5</module>
  25. <module>hystrix</module>
  26. <module>jackson</module>
  27. <module>jackson-jaxb</module>
  28. <module>jackson-jr</module>
  29. <module>jaxb</module>
  30. <module>jaxrs</module>
  31. <module>jaxrs2</module>
  32. <module>json</module>
  33. <module>okhttp</module>
  34. <module>googlehttpclient</module>
  35. <module>ribbon</module>
  36. <module>sax</module>
  37. <module>slf4j</module>
  38. <module>spring4</module>
  39. <module>soap</module>
  40. <module>reactive</module>
  41. <module>dropwizard-metrics4</module>
  42. <module>dropwizard-metrics5</module>
  43. <module>micrometer</module>
  44. <module>example-github</module>
  45. <module>example-wikipedia</module>
  46. <module>mock</module>
  47. <module>apt-test-generator</module>
  48. <module>benchmark</module>
  49. <module>annotation-error-decoder</module>
  50. </modules>
  51. <properties>
  52. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  53. <project.build.resourceEncoding>UTF-8</project.build.resourceEncoding>
  54. <!-- specifying jvm arguments -->
  55. <jvm.options>-Duser.language=en</jvm.options>
  56. <!-- default bytecode version for src/main -->
  57. <main.java.version>1.8</main.java.version>
  58. <main.signature.artifact>java18</main.signature.artifact>
  59. <!-- default bytecode version for src/test -->
  60. <maven.compiler.source>${main.java.version}</maven.compiler.source>
  61. <maven.compiler.target>${main.java.version}</maven.compiler.target>
  62. <main.basedir>${project.basedir}</main.basedir>
  63. <okhttp3.version>4.10.0</okhttp3.version>
  64. <guava.version>31.1-jre</guava.version>
  65. <googlehttpclient.version>1.42.2</googlehttpclient.version>
  66. <gson.version>2.9.1</gson.version>
  67. <slf4j.version>1.7.36</slf4j.version>
  68. <bouncy.version>1.70</bouncy.version>
  69. <json.version>20220320</json.version>
  70. <junit.version>4.13.2</junit.version>
  71. <jackson.version>2.13.4</jackson.version>
  72. <jackson-databind.version>2.13.4</jackson-databind.version>
  73. <assertj.version>3.23.1</assertj.version>
  74. <hamcrest.version>2.2</hamcrest.version>
  75. <mockito.version>4.8.0</mockito.version>
  76. <animal-sniffer-maven-plugin.version>1.22</animal-sniffer-maven-plugin.version>
  77. <maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
  78. <maven-install-plugin.version>3.0.1</maven-install-plugin.version>
  79. <maven-source-plugin.version>3.2.1</maven-source-plugin.version>
  80. <maven-javadoc-plugin.version>3.4.1</maven-javadoc-plugin.version>
  81. <license-maven-plugin.version>4.1</license-maven-plugin.version>
  82. <maven-jar-plugin.version>3.2.2</maven-jar-plugin.version>
  83. <maven-release-plugin.version>2.5.3</maven-release-plugin.version>
  84. <maven-bundle-plugin.version>5.1.8</maven-bundle-plugin.version>
  85. <centralsync-maven-plugin.version>0.1.1</centralsync-maven-plugin.version>
  86. <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
  87. <bom-generator.version>0.40.1</bom-generator.version>
  88. <bom.template.file.path>file://${project.basedir}/src/config/bom.xml</bom.template.file.path>
  89. <maven-scm-plugin.version>1.13.0</maven-scm-plugin.version>
  90. <maven-versions-plugin.version>2.12.0</maven-versions-plugin.version>
  91. <maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version>
  92. <maven-deploy-plugin.version>3.0.0</maven-deploy-plugin.version>
  93. <docker-maven-plugin.version>1.2.2</docker-maven-plugin.version>
  94. </properties>
  95. <url>https://github.com/openfeign/feign</url>
  96. <inceptionYear>2012</inceptionYear>
  97. <organization>
  98. <name>OpenFeign</name>
  99. <url>https://github.com/openfeign</url>
  100. </organization>
  101. <licenses>
  102. <license>
  103. <name>The Apache Software License, Version 2.0</name>
  104. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  105. <distribution>repo</distribution>
  106. </license>
  107. </licenses>
  108. <scm>
  109. <url>https://github.com/openfeign/feign</url>
  110. <connection>scm:git:git@github.com:OpenFeign/feign.git</connection>
  111. <developerConnection>scm:git:git@github.com:OpenFeign/feign.git</developerConnection>
  112. <tag>HEAD</tag>
  113. </scm>
  114. <developers>
  115. <developer>
  116. <id>adriancole</id>
  117. <name>Adrian Cole</name>
  118. <email>acole@pivotal.io</email>
  119. </developer>
  120. <developer>
  121. <id>spencergibb</id>
  122. <name>Spencer Gibb</name>
  123. <email>spencer@gibb.us</email>
  124. </developer>
  125. <developer>
  126. <id>velo</id>
  127. <name>Marvin Herman Froeder</name>
  128. <email>velo br at gmail dot com</email>
  129. <url>about.me/velo</url>
  130. </developer>
  131. <developer>
  132. <id>kdavisk6</id>
  133. <name>Kevin Davis</name>
  134. <email>kdavisk6@gmail.com</email>
  135. </developer>
  136. </developers>
  137. <distributionManagement>
  138. <repository>
  139. <id>ossrh</id>
  140. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  141. </repository>
  142. <snapshotRepository>
  143. <id>ossrh</id>
  144. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  145. </snapshotRepository>
  146. </distributionManagement>
  147. <issueManagement>
  148. <system>Github</system>
  149. <url>https://github.com/openfeign/feign/issues</url>
  150. </issueManagement>
  151. <dependencyManagement>
  152. <dependencies>
  153. <dependency>
  154. <groupId>${project.groupId}</groupId>
  155. <artifactId>feign-core</artifactId>
  156. <version>${project.version}</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>${project.groupId}</groupId>
  160. <artifactId>feign-core</artifactId>
  161. <version>${project.version}</version>
  162. <type>test-jar</type>
  163. <scope>test</scope>
  164. </dependency>
  165. <dependency>
  166. <groupId>${project.groupId}</groupId>
  167. <artifactId>feign-gson</artifactId>
  168. <version>${project.version}</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>${project.groupId}</groupId>
  172. <artifactId>feign-httpclient</artifactId>
  173. <version>${project.version}</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>${project.groupId}</groupId>
  177. <artifactId>feign-hystrix</artifactId>
  178. <version>${project.version}</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>${project.groupId}</groupId>
  182. <artifactId>feign-jackson-jaxb</artifactId>
  183. <version>${project.version}</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>${project.groupId}</groupId>
  187. <artifactId>feign-jackson</artifactId>
  188. <version>${project.version}</version>
  189. </dependency>
  190. <dependency>
  191. <groupId>${project.groupId}</groupId>
  192. <artifactId>feign-jaxb</artifactId>
  193. <version>${project.version}</version>
  194. </dependency>
  195. <dependency>
  196. <groupId>${project.groupId}</groupId>
  197. <artifactId>feign-jaxrs</artifactId>
  198. <version>${project.version}</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>${project.groupId}</groupId>
  202. <artifactId>feign-jaxrs</artifactId>
  203. <version>${project.version}</version>
  204. <type>test-jar</type>
  205. <scope>test</scope>
  206. </dependency>
  207. <dependency>
  208. <groupId>${project.groupId}</groupId>
  209. <artifactId>feign-jaxrs2</artifactId>
  210. <version>${project.version}</version>
  211. </dependency>
  212. <dependency>
  213. <groupId>${project.groupId}</groupId>
  214. <artifactId>feign-mock</artifactId>
  215. <version>${project.version}</version>
  216. <scope>test</scope>
  217. </dependency>
  218. <dependency>
  219. <groupId>${project.groupId}</groupId>
  220. <artifactId>feign-okhttp</artifactId>
  221. <version>${project.version}</version>
  222. </dependency>
  223. <dependency>
  224. <groupId>${project.groupId}</groupId>
  225. <artifactId>feign-ribbon</artifactId>
  226. <version>${project.version}</version>
  227. </dependency>
  228. <dependency>
  229. <groupId>${project.groupId}</groupId>
  230. <artifactId>feign-sax</artifactId>
  231. <version>${project.version}</version>
  232. </dependency>
  233. <dependency>
  234. <groupId>${project.groupId}</groupId>
  235. <artifactId>feign-slf4j</artifactId>
  236. <version>${project.version}</version>
  237. </dependency>
  238. <dependency>
  239. <groupId>${project.groupId}</groupId>
  240. <artifactId>feign-micrometer</artifactId>
  241. <version>${project.version}</version>
  242. <type>test-jar</type>
  243. <scope>test</scope>
  244. </dependency>
  245. <dependency>
  246. <groupId>junit</groupId>
  247. <artifactId>junit</artifactId>
  248. <version>${junit.version}</version>
  249. </dependency>
  250. <dependency>
  251. <groupId>org.hamcrest</groupId>
  252. <artifactId>hamcrest</artifactId>
  253. <version>${hamcrest.version}</version>
  254. </dependency>
  255. <dependency>
  256. <groupId>org.jvnet</groupId>
  257. <artifactId>animal-sniffer-annotation</artifactId>
  258. <version>1.0</version>
  259. </dependency>
  260. <dependency>
  261. <groupId>com.google.code.gson</groupId>
  262. <artifactId>gson</artifactId>
  263. <version>${gson.version}</version>
  264. </dependency>
  265. <dependency>
  266. <groupId>org.assertj</groupId>
  267. <artifactId>assertj-core</artifactId>
  268. <version>${assertj.version}</version>
  269. </dependency>
  270. <dependency>
  271. <groupId>com.squareup.okhttp3</groupId>
  272. <artifactId>okhttp-bom</artifactId>
  273. <version>${okhttp3.version}</version>
  274. <type>pom</type>
  275. <scope>import</scope>
  276. </dependency>
  277. <dependency>
  278. <groupId>com.google.http-client</groupId>
  279. <artifactId>google-http-client</artifactId>
  280. <version>${googlehttpclient.version}</version>
  281. </dependency>
  282. <dependency>
  283. <groupId>org.bouncycastle</groupId>
  284. <artifactId>bcprov-jdk15on</artifactId>
  285. <version>${bouncy.version}</version>
  286. </dependency>
  287. <dependency>
  288. <groupId>org.json</groupId>
  289. <artifactId>json</artifactId>
  290. <version>${json.version}</version>
  291. </dependency>
  292. <dependency>
  293. <groupId>com.fasterxml.jackson.core</groupId>
  294. <artifactId>jackson-databind</artifactId>
  295. <version>${jackson-databind.version}</version>
  296. </dependency>
  297. <dependency>
  298. <groupId>com.fasterxml.jackson.core</groupId>
  299. <artifactId>jackson-core</artifactId>
  300. <version>${jackson.version}</version>
  301. </dependency>
  302. <dependency>
  303. <groupId>com.fasterxml.jackson.core</groupId>
  304. <artifactId>jackson-annotations</artifactId>
  305. <version>${jackson.version}</version>
  306. </dependency>
  307. <dependency>
  308. <groupId>com.fasterxml.jackson.jr</groupId>
  309. <artifactId>jackson-jr-objects</artifactId>
  310. <version>${jackson.version}</version>
  311. </dependency>
  312. <dependency>
  313. <groupId>com.fasterxml.jackson.jr</groupId>
  314. <artifactId>jackson-jr-annotation-support</artifactId>
  315. <version>${jackson.version}</version>
  316. </dependency>
  317. <dependency>
  318. <groupId>org.slf4j</groupId>
  319. <artifactId>slf4j-simple</artifactId>
  320. <version>${slf4j.version}</version>
  321. </dependency>
  322. <dependency>
  323. <groupId>org.slf4j</groupId>
  324. <artifactId>slf4j-nop</artifactId>
  325. <version>${slf4j.version}</version>
  326. </dependency>
  327. </dependencies>
  328. </dependencyManagement>
  329. <dependencies>
  330. <dependency>
  331. <groupId>junit</groupId>
  332. <artifactId>junit</artifactId>
  333. <scope>test</scope>
  334. </dependency>
  335. <dependency>
  336. <groupId>org.assertj</groupId>
  337. <artifactId>assertj-core</artifactId>
  338. <scope>test</scope>
  339. </dependency>
  340. </dependencies>
  341. <build>
  342. <pluginManagement>
  343. <plugins>
  344. <!-- mvn -N io.takari:maven:wrapper -Dmaven=3.5.0 -->
  345. <plugin>
  346. <groupId>io.takari</groupId>
  347. <artifactId>maven</artifactId>
  348. <version>0.7.7</version>
  349. </plugin>
  350. <plugin>
  351. <artifactId>maven-compiler-plugin</artifactId>
  352. <version>${maven-compiler-plugin.version}</version>
  353. </plugin>
  354. <plugin>
  355. <artifactId>maven-jar-plugin</artifactId>
  356. <version>${maven-jar-plugin.version}</version>
  357. <configuration>
  358. <archive>
  359. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  360. </archive>
  361. </configuration>
  362. </plugin>
  363. <plugin>
  364. <groupId>org.apache.maven.plugins</groupId>
  365. <artifactId>maven-surefire-plugin</artifactId>
  366. <version>${maven-surefire-plugin.version}</version>
  367. <configuration>
  368. <redirectTestOutputToFile>true</redirectTestOutputToFile>
  369. <trimStackTrace>false</trimStackTrace>
  370. <argLine>${jvm.options}</argLine>
  371. </configuration>
  372. <dependencies>
  373. <dependency>
  374. <!-- surefire uses ASM to do some bytecode magic... need to bump version to be java 11 compatible -->
  375. <groupId>org.ow2.asm</groupId>
  376. <artifactId>asm</artifactId>
  377. <version>9.3</version>
  378. </dependency>
  379. </dependencies>
  380. </plugin>
  381. </plugins>
  382. </pluginManagement>
  383. <plugins>
  384. <plugin>
  385. <artifactId>maven-compiler-plugin</artifactId>
  386. <inherited>true</inherited>
  387. <configuration>
  388. <source>${main.java.version}</source>
  389. <target>${main.java.version}</target>
  390. </configuration>
  391. <executions>
  392. <!-- Ensure main source tree compiles to Java ${main.java.version} bytecode. -->
  393. <execution>
  394. <id>default-compile</id>
  395. <phase>compile</phase>
  396. <goals>
  397. <goal>compile</goal>
  398. </goals>
  399. <configuration>
  400. <source>${main.java.version}</source>
  401. <target>${main.java.version}</target>
  402. </configuration>
  403. </execution>
  404. <execution>
  405. <id>default-testCompile</id>
  406. <phase>test-compile</phase>
  407. <goals>
  408. <goal>testCompile</goal>
  409. </goals>
  410. <configuration>
  411. <fork>true</fork>
  412. <compilerArgs>
  413. <arg>-parameters</arg>
  414. </compilerArgs>
  415. <source>${main.java.version}</source>
  416. <target>${main.java.version}</target>
  417. </configuration>
  418. </execution>
  419. </executions>
  420. </plugin>
  421. <plugin>
  422. <groupId>org.codehaus.mojo</groupId>
  423. <artifactId>animal-sniffer-maven-plugin</artifactId>
  424. <version>${animal-sniffer-maven-plugin.version}</version>
  425. <configuration>
  426. <signature>
  427. <groupId>org.codehaus.mojo.signature</groupId>
  428. <artifactId>${main.signature.artifact}</artifactId>
  429. <version>1.0</version>
  430. </signature>
  431. </configuration>
  432. <executions>
  433. <execution>
  434. <goals>
  435. <goal>check</goal>
  436. </goals>
  437. </execution>
  438. </executions>
  439. <dependencies>
  440. <dependency>
  441. <groupId>org.ow2.asm</groupId>
  442. <artifactId>asm</artifactId>
  443. <version>9.3</version>
  444. </dependency>
  445. </dependencies>
  446. </plugin>
  447. <!-- Ensures checksums are added to published jars -->
  448. <plugin>
  449. <artifactId>maven-install-plugin</artifactId>
  450. <version>${maven-install-plugin.version}</version>
  451. <configuration>
  452. <createChecksum>true</createChecksum>
  453. </configuration>
  454. </plugin>
  455. <plugin>
  456. <artifactId>maven-release-plugin</artifactId>
  457. <version>${maven-release-plugin.version}</version>
  458. <configuration>
  459. <useReleaseProfile>false</useReleaseProfile>
  460. <releaseProfiles>release</releaseProfiles>
  461. <autoVersionSubmodules>true</autoVersionSubmodules>
  462. <tagNameFormat>@{project.version}</tagNameFormat>
  463. </configuration>
  464. </plugin>
  465. <plugin>
  466. <groupId>io.zipkin.centralsync-maven-plugin</groupId>
  467. <artifactId>centralsync-maven-plugin</artifactId>
  468. <version>${centralsync-maven-plugin.version}</version>
  469. <configuration>
  470. <subject>openfeign</subject>
  471. <repo>maven</repo>
  472. <packageName>feign</packageName>
  473. </configuration>
  474. </plugin>
  475. <plugin>
  476. <groupId>org.apache.felix</groupId>
  477. <artifactId>maven-bundle-plugin</artifactId>
  478. <version>${maven-bundle-plugin.version}</version>
  479. <executions>
  480. <execution>
  481. <id>bundle-manifest</id>
  482. <phase>process-classes</phase>
  483. <goals>
  484. <goal>manifest</goal>
  485. </goals>
  486. </execution>
  487. </executions>
  488. </plugin>
  489. <plugin>
  490. <groupId>com.mycila</groupId>
  491. <artifactId>license-maven-plugin</artifactId>
  492. <version>${license-maven-plugin.version}</version>
  493. <configuration>
  494. <!-- session.executionRootDirectory resolves properly even with nested modules -->
  495. <header>${main.basedir}/src/etc/header.txt</header>
  496. <excludes>
  497. <exclude>.travis.yml</exclude>
  498. <exclude>.editorconfig</exclude>
  499. <exclude>.gitattributes</exclude>
  500. <exclude>.gitignore</exclude>
  501. <exclude>.mvn/**</exclude>
  502. <exclude>mvnw*</exclude>
  503. <exclude>etc/header.txt</exclude>
  504. <exclude>**/.idea/**</exclude>
  505. <exclude>**/target/**</exclude>
  506. <exclude>LICENSE</exclude>
  507. <exclude>NOTICE</exclude>
  508. <exclude>OSSMETADATA</exclude>
  509. <exclude>**/*.md</exclude>
  510. <exclude>bnd.bnd</exclude>
  511. <exclude>travis/**</exclude>
  512. <exclude>src/test/resources/**</exclude>
  513. <exclude>src/main/resources/**</exclude>
  514. <exclude>.circleci/**</exclude>
  515. </excludes>
  516. <strictCheck>true</strictCheck>
  517. <mapping>
  518. <java>SLASHSTAR_STYLE</java>
  519. </mapping>
  520. </configuration>
  521. <executions>
  522. <execution>
  523. <phase>validate</phase>
  524. <goals>
  525. <goal>check</goal>
  526. </goals>
  527. </execution>
  528. </executions>
  529. <dependencies>
  530. <dependency>
  531. <groupId>com.mycila</groupId>
  532. <artifactId>license-maven-plugin-git</artifactId>
  533. <version>${license-maven-plugin.version}</version>
  534. </dependency>
  535. </dependencies>
  536. </plugin>
  537. <plugin>
  538. <groupId>com.marvinformatics.formatter</groupId>
  539. <artifactId>formatter-maven-plugin</artifactId>
  540. <version>2.2.0</version>
  541. <configuration>
  542. <lineEnding>LF</lineEnding>
  543. <configFile>${main.basedir}/src/config/eclipse-java-style.xml</configFile>
  544. <excludes>
  545. <exclude>travis/**</exclude>
  546. </excludes>
  547. </configuration>
  548. <executions>
  549. <execution>
  550. <phase>validate</phase>
  551. <goals>
  552. <goal>format</goal>
  553. </goals>
  554. </execution>
  555. </executions>
  556. </plugin>
  557. <plugin>
  558. <groupId>de.qaware.maven</groupId>
  559. <artifactId>go-offline-maven-plugin</artifactId>
  560. <version>1.2.8</version>
  561. <configuration>
  562. <dynamicDependencies>
  563. <DynamicDependency>
  564. <groupId>org.apache.maven.surefire</groupId>
  565. <artifactId>surefire-junit4</artifactId>
  566. <version>2.22.0</version>
  567. <repositoryType>PLUGIN</repositoryType>
  568. </DynamicDependency>
  569. <DynamicDependency>
  570. <groupId>org.codehaus.mojo.signature</groupId>
  571. <artifactId>java18</artifactId>
  572. <version>1.0</version>
  573. <type>signature</type>
  574. <repositoryType>MAIN</repositoryType>
  575. </DynamicDependency>
  576. </dynamicDependencies>
  577. </configuration>
  578. </plugin>
  579. <plugin>
  580. <groupId>com.github.ekryd.sortpom</groupId>
  581. <artifactId>sortpom-maven-plugin</artifactId>
  582. <version>2.15.0</version>
  583. <configuration>
  584. <keepBlankLines>true</keepBlankLines>
  585. <lineSeparator>\n</lineSeparator>
  586. <sortOrderFile>src/config/pomSortOrder.xml</sortOrderFile>
  587. <createBackupFile>false</createBackupFile>
  588. </configuration>
  589. <executions>
  590. <execution>
  591. <id>format</id>
  592. <phase>verify</phase>
  593. <goals>
  594. <goal>sort</goal>
  595. </goals>
  596. </execution>
  597. </executions>
  598. </plugin>
  599. <plugin>
  600. <groupId>io.sundr</groupId>
  601. <artifactId>sundr-maven-plugin</artifactId>
  602. <version>${bom-generator.version}</version>
  603. <inherited>false</inherited>
  604. <configuration>
  605. <bomTemplateUrl>${bom.template.file.path}</bomTemplateUrl>
  606. <boms>
  607. <bom>
  608. <artifactId>feign-bom</artifactId>
  609. <name>Feign (Bill Of Materials)</name>
  610. <properties>
  611. <license.skip>true</license.skip>
  612. </properties>
  613. <modules>
  614. <includes>
  615. <include>io.github.openfeign:*</include>
  616. </includes>
  617. <excludes>
  618. <exclude>*:feign-example-*</exclude>
  619. <exclude>*:feign-benchmark</exclude>
  620. </excludes>
  621. </modules>
  622. </bom>
  623. </boms>
  624. </configuration>
  625. <executions>
  626. <execution>
  627. <goals>
  628. <goal>generate-bom</goal>
  629. </goals>
  630. </execution>
  631. </executions>
  632. <dependencies>
  633. <dependency>
  634. <groupId>io.sundr</groupId>
  635. <artifactId>sundr-codegen</artifactId>
  636. <version>${bom-generator.version}</version>
  637. <exclusions>
  638. <exclusion>
  639. <groupId>com.sun</groupId>
  640. <artifactId>tools</artifactId>
  641. </exclusion>
  642. </exclusions>
  643. </dependency>
  644. </dependencies>
  645. </plugin>
  646. <plugin>
  647. <groupId>org.codehaus.mojo</groupId>
  648. <artifactId>versions-maven-plugin</artifactId>
  649. <version>${maven-versions-plugin.version}</version>
  650. </plugin>
  651. <plugin>
  652. <groupId>org.apache.maven.plugins</groupId>
  653. <artifactId>maven-deploy-plugin</artifactId>
  654. <version>${maven-deploy-plugin.version}</version>
  655. </plugin>
  656. <plugin>
  657. <groupId>org.apache.maven.plugins</groupId>
  658. <artifactId>maven-scm-plugin</artifactId>
  659. <version>${maven-scm-plugin.version}</version>
  660. <configuration>
  661. <tag>${project.version}</tag>
  662. </configuration>
  663. </plugin>
  664. <plugin>
  665. <groupId>org.sonatype.plugins</groupId>
  666. <artifactId>nexus-staging-maven-plugin</artifactId>
  667. <version>1.6.13</version>
  668. <extensions>true</extensions>
  669. <configuration>
  670. <serverId>ossrh</serverId>
  671. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  672. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  673. <stagingProgressTimeoutMinutes>15</stagingProgressTimeoutMinutes>
  674. </configuration>
  675. </plugin>
  676. </plugins>
  677. </build>
  678. <profiles>
  679. <profile>
  680. <id>windows</id>
  681. <activation>
  682. <os>
  683. <family>Windows</family>
  684. </os>
  685. </activation>
  686. <properties>
  687. <bom.template.file.path>file:///${project.basedir}/src/config/bom.xml</bom.template.file.path>
  688. </properties>
  689. </profile>
  690. <profile>
  691. <id>java11</id>
  692. <activation>
  693. <jdk>[11,)</jdk>
  694. </activation>
  695. <modules>
  696. <module>java11</module>
  697. <module>jakarta</module>
  698. </modules>
  699. </profile>
  700. <profile>
  701. <id>validateCodeFormat</id>
  702. <build>
  703. <plugins>
  704. <plugin>
  705. <groupId>com.marvinformatics.formatter</groupId>
  706. <artifactId>formatter-maven-plugin</artifactId>
  707. <version>2.2.0</version>
  708. <configuration>
  709. <lineEnding>LF</lineEnding>
  710. <configFile>${main.basedir}/src/config/eclipse-java-style.xml</configFile>
  711. </configuration>
  712. <executions>
  713. <execution>
  714. <id>validate-only</id>
  715. <goals>
  716. <goal>validate</goal>
  717. </goals>
  718. <phase>initialize</phase>
  719. </execution>
  720. </executions>
  721. </plugin>
  722. </plugins>
  723. </build>
  724. </profile>
  725. <profile>
  726. <id>release</id>
  727. <build>
  728. <plugins>
  729. <!-- Creates source jar -->
  730. <plugin>
  731. <groupId>org.apache.maven.plugins</groupId>
  732. <artifactId>maven-source-plugin</artifactId>
  733. <version>${maven-source-plugin.version}</version>
  734. <executions>
  735. <execution>
  736. <id>attach-sources</id>
  737. <goals>
  738. <goal>jar</goal>
  739. </goals>
  740. </execution>
  741. </executions>
  742. </plugin>
  743. <plugin>
  744. <groupId>org.apache.maven.plugins</groupId>
  745. <artifactId>maven-javadoc-plugin</artifactId>
  746. <version>${maven-javadoc-plugin.version}</version>
  747. <configuration>
  748. <failOnError>false</failOnError>
  749. </configuration>
  750. <executions>
  751. <execution>
  752. <id>attach-javadocs</id>
  753. <goals>
  754. <goal>jar</goal>
  755. </goals>
  756. <phase>package</phase>
  757. </execution>
  758. </executions>
  759. </plugin>
  760. <plugin>
  761. <groupId>org.apache.maven.plugins</groupId>
  762. <artifactId>maven-gpg-plugin</artifactId>
  763. <version>${maven-gpg-plugin.version}</version>
  764. <executions>
  765. <execution>
  766. <id>sign-artifacts</id>
  767. <goals>
  768. <goal>sign</goal>
  769. </goals>
  770. <phase>verify</phase>
  771. <configuration>
  772. <gpgArguments>
  773. <arg>--pinentry-mode</arg>
  774. <arg>loopback</arg>
  775. </gpgArguments>
  776. </configuration>
  777. </execution>
  778. </executions>
  779. </plugin>
  780. </plugins>
  781. </build>
  782. </profile>
  783. </profiles>
  784. </project>