parent-3.8.0.pom 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright 2019 the original author or authors.
  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"
  15. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  16. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  17. <modelVersion>4.0.0</modelVersion>
  18. <groupId>io.github.openfeign.form</groupId>
  19. <artifactId>parent</artifactId>
  20. <version>3.8.0</version>
  21. <packaging>pom</packaging>
  22. <modules>
  23. <module>feign-form</module>
  24. <module>feign-form-spring</module>
  25. </modules>
  26. <properties>
  27. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  28. <project.build.resourceEncoding>UTF-8</project.build.resourceEncoding>
  29. <maven.compiler.source>1.6</maven.compiler.source>
  30. <maven.compiler.target>1.6</maven.compiler.target>
  31. <maven.compiler.testTarget>1.8</maven.compiler.testTarget>
  32. <maven.compiler.testSource>1.8</maven.compiler.testSource>
  33. </properties>
  34. <name>Open Feign Forms Parent</name>
  35. <description>
  36. Simple encoder for Netflix Feign project, which adds forms support (urlencoded and multipart)
  37. </description>
  38. <url>https://github.com/OpenFeign/feign-form</url>
  39. <inceptionYear>2016</inceptionYear>
  40. <licenses>
  41. <license>
  42. <name>The Apache Software License, Version 2.0</name>
  43. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  44. <distribution>repo</distribution>
  45. </license>
  46. </licenses>
  47. <scm>
  48. <url>https://github.com/OpenFeign/feign-form</url>
  49. <connection>scm:git:https://github.com/OpenFeign/feign-form.git</connection>
  50. <developerConnection>scm:git:https://github.com/OpenFeign/feign-form.git</developerConnection>
  51. <tag>3.8.0</tag>
  52. </scm>
  53. <distributionManagement>
  54. <snapshotRepository>
  55. <id>ossrh</id>
  56. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  57. </snapshotRepository>
  58. <repository>
  59. <id>ossrh</id>
  60. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  61. </repository>
  62. </distributionManagement>
  63. <issueManagement>
  64. <system>GitHub Issues</system>
  65. <url>https://github.com/OpenFeign/feign-form/issues</url>
  66. </issueManagement>
  67. <ciManagement>
  68. <system>Travis</system>
  69. <url>https://travis-ci.org/OpenFeign/feign-form</url>
  70. </ciManagement>
  71. <developers>
  72. <developer>
  73. <name>Artem Labazin</name>
  74. <email>xxlabaza@gmail.com</email>
  75. </developer>
  76. <developer>
  77. <name>Tomasz Juchniewicz</name>
  78. <email>tjuchniewicz@gmail.com</email>
  79. </developer>
  80. <developer>
  81. <name>Guillaume Simard</name>
  82. </developer>
  83. </developers>
  84. <dependencyManagement>
  85. <dependencies>
  86. <dependency>
  87. <groupId>${project.groupId}</groupId>
  88. <artifactId>feign-form</artifactId>
  89. <version>${project.version}</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>${project.groupId}</groupId>
  93. <artifactId>feign-form-spring</artifactId>
  94. <version>${project.version}</version>
  95. </dependency>
  96. </dependencies>
  97. </dependencyManagement>
  98. <dependencies>
  99. <dependency>
  100. <groupId>org.projectlombok</groupId>
  101. <artifactId>lombok</artifactId>
  102. <version>1.18.6</version>
  103. <scope>provided</scope>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.slf4j</groupId>
  107. <artifactId>slf4j-api</artifactId>
  108. <version>1.7.26</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>io.github.openfeign</groupId>
  112. <artifactId>feign-core</artifactId>
  113. <version>10.2.0</version>
  114. <scope>provided</scope>
  115. </dependency>
  116. <dependency>
  117. <groupId>io.github.openfeign</groupId>
  118. <artifactId>feign-jackson</artifactId>
  119. <version>10.2.0</version>
  120. <scope>test</scope>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.springframework.boot</groupId>
  124. <artifactId>spring-boot-starter-web</artifactId>
  125. <version>2.1.3.RELEASE</version>
  126. <scope>test</scope>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.springframework.boot</groupId>
  130. <artifactId>spring-boot-starter-test</artifactId>
  131. <version>2.1.3.RELEASE</version>
  132. <scope>test</scope>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.junit.jupiter</groupId>
  136. <artifactId>junit-jupiter-engine</artifactId>
  137. <version>5.4.1</version>
  138. <scope>test</scope>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.junit.jupiter</groupId>
  142. <artifactId>junit-jupiter-params</artifactId>
  143. <version>5.4.1</version>
  144. <scope>test</scope>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.assertj</groupId>
  148. <artifactId>assertj-core</artifactId>
  149. <version>3.12.2</version>
  150. <scope>test</scope>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.mockito</groupId>
  154. <artifactId>mockito-core</artifactId>
  155. <version>2.25.1</version>
  156. <scope>test</scope>
  157. </dependency>
  158. <dependency>
  159. <groupId>org.mockito</groupId>
  160. <artifactId>mockito-junit-jupiter</artifactId>
  161. <version>2.25.1</version>
  162. <scope>test</scope>
  163. </dependency>
  164. <dependency>
  165. <groupId>net.jcip</groupId>
  166. <artifactId>jcip-annotations</artifactId>
  167. <version>1.0</version>
  168. <scope>provided</scope>
  169. </dependency>
  170. <dependency>
  171. <groupId>com.github.spotbugs</groupId>
  172. <artifactId>spotbugs-annotations</artifactId>
  173. <version>3.1.12</version>
  174. <scope>provided</scope>
  175. </dependency>
  176. <dependency>
  177. <groupId>com.google.code.findbugs</groupId>
  178. <artifactId>jsr305</artifactId>
  179. <version>3.0.2</version>
  180. <scope>provided</scope>
  181. </dependency>
  182. </dependencies>
  183. <build>
  184. <pluginManagement>
  185. <plugins>
  186. <plugin>
  187. <artifactId>maven-jar-plugin</artifactId>
  188. <version>3.0.2</version>
  189. <configuration>
  190. <archive>
  191. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  192. </archive>
  193. </configuration>
  194. </plugin>
  195. <plugin>
  196. <groupId>com.github.spotbugs</groupId>
  197. <artifactId>spotbugs-maven-plugin</artifactId>
  198. <version>3.1.11</version>
  199. <configuration>
  200. <effort>Max</effort>
  201. <threshold>Low</threshold>
  202. <xmlOutput>false</xmlOutput>
  203. <excludeFilterFile>${project.basedir}/../.codestyle/findbugs.xml</excludeFilterFile>
  204. </configuration>
  205. <executions>
  206. <execution>
  207. <id>spotbugs-validation</id>
  208. <phase>verify</phase>
  209. <goals>
  210. <goal>check</goal>
  211. </goals>
  212. </execution>
  213. </executions>
  214. </plugin>
  215. <plugin>
  216. <groupId>org.apache.maven.plugins</groupId>
  217. <artifactId>maven-pmd-plugin</artifactId>
  218. <version>3.11.0</version>
  219. <configuration>
  220. <sourceEncoding>${project.build.sourceEncoding}</sourceEncoding>
  221. <targetJdk>${maven.compiler.source}</targetJdk>
  222. <failOnViolation>true</failOnViolation>
  223. <printFailingErrors>true</printFailingErrors>
  224. <analysisCache>true</analysisCache>
  225. <linkXRef>false</linkXRef>
  226. <rulesets>
  227. <ruleset>${project.basedir}/../.codestyle/pmd.xml</ruleset>
  228. </rulesets>
  229. </configuration>
  230. <executions>
  231. <execution>
  232. <id>pmd-validation</id>
  233. <phase>verify</phase>
  234. <goals>
  235. <goal>check</goal>
  236. </goals>
  237. </execution>
  238. </executions>
  239. </plugin>
  240. <plugin>
  241. <groupId>org.apache.maven.plugins</groupId>
  242. <artifactId>maven-checkstyle-plugin</artifactId>
  243. <version>3.0.0</version>
  244. <dependencies>
  245. <dependency>
  246. <groupId>com.puppycrawl.tools</groupId>
  247. <artifactId>checkstyle</artifactId>
  248. <version>8.18</version>
  249. </dependency>
  250. </dependencies>
  251. <executions>
  252. <execution>
  253. <id>checkstyle-validation</id>
  254. <phase>verify</phase>
  255. <goals>
  256. <goal>check</goal>
  257. </goals>
  258. <configuration>
  259. <configLocation>${project.basedir}/../.codestyle/checkstyle.xml</configLocation>
  260. <consoleOutput>true</consoleOutput>
  261. <failsOnError>true</failsOnError>
  262. <failOnViolation>true</failOnViolation>
  263. <linkXRef>false</linkXRef>
  264. <propertyExpansion>codestyleFolder=${project.basedir}/../.codestyle</propertyExpansion>
  265. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  266. </configuration>
  267. </execution>
  268. </executions>
  269. </plugin>
  270. <plugin>
  271. <groupId>org.apache.felix</groupId>
  272. <artifactId>maven-bundle-plugin</artifactId>
  273. <version>3.2.0</version>
  274. <executions>
  275. <execution>
  276. <id>bundle-manifest</id>
  277. <phase>process-classes</phase>
  278. <goals>
  279. <goal>manifest</goal>
  280. </goals>
  281. </execution>
  282. </executions>
  283. </plugin>
  284. </plugins>
  285. </pluginManagement>
  286. <plugins>
  287. <plugin>
  288. <groupId>org.apache.maven.plugins</groupId>
  289. <artifactId>maven-source-plugin</artifactId>
  290. <version>3.0.1</version>
  291. <executions>
  292. <execution>
  293. <id>attach-sources</id>
  294. <goals>
  295. <goal>jar</goal>
  296. </goals>
  297. </execution>
  298. </executions>
  299. </plugin>
  300. <plugin>
  301. <groupId>pl.project13.maven</groupId>
  302. <artifactId>git-commit-id-plugin</artifactId>
  303. <version>2.2.6</version>
  304. <executions>
  305. <execution>
  306. <id>git-infos</id>
  307. <goals>
  308. <goal>revision</goal>
  309. </goals>
  310. </execution>
  311. </executions>
  312. <configuration>
  313. <runOnlyOnce>true</runOnlyOnce>
  314. <failOnNoGitDirectory>false</failOnNoGitDirectory>
  315. <generateGitPropertiesFile>true</generateGitPropertiesFile>
  316. <verbose>false</verbose>
  317. <prefix>git</prefix>
  318. <generateGitPropertiesFilename>
  319. ${project.build.outputDirectory}/git.properties
  320. </generateGitPropertiesFilename>
  321. <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
  322. <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
  323. <excludeProperties>
  324. <excludeProperty>git.build.user.*</excludeProperty>
  325. <excludeProperty>git.build.host</excludeProperty>
  326. <excludeProperty>git.commit.user.*</excludeProperty>
  327. <excludeProperty>git.total.commit.count</excludeProperty>
  328. <excludeProperty>git.closest.tag.commit.count</excludeProperty>
  329. <excludeProperty>git.closest.tag.name</excludeProperty>
  330. </excludeProperties>
  331. </configuration>
  332. </plugin>
  333. <plugin>
  334. <groupId>org.apache.maven.plugins</groupId>
  335. <artifactId>maven-javadoc-plugin</artifactId>
  336. <version>3.0.1</version>
  337. <configuration>
  338. <additionalOptions>-Xdoclint:none</additionalOptions>
  339. <additionalparam>-Xdoclint:none</additionalparam>
  340. <breakiterator>true</breakiterator>
  341. <charset>UTF-8</charset>
  342. <docencoding>UTF-8</docencoding>
  343. <encoding>UTF-8</encoding>
  344. <failOnError>true</failOnError>
  345. <show>protected</show>
  346. <version>true</version>
  347. </configuration>
  348. <executions>
  349. <execution>
  350. <id>attach-javadocs</id>
  351. <goals>
  352. <goal>jar</goal>
  353. </goals>
  354. <phase>package</phase>
  355. </execution>
  356. </executions>
  357. </plugin>
  358. <plugin>
  359. <artifactId>maven-compiler-plugin</artifactId>
  360. <version>3.8.0</version>
  361. <executions>
  362. <!--Ensure main source tree compiles to Java ${main.java.version} bytecode.-->
  363. <execution>
  364. <id>default-compile</id>
  365. <phase>compile</phase>
  366. <goals>
  367. <goal>compile</goal>
  368. </goals>
  369. <configuration>
  370. <source>${main.java.version}</source>
  371. <target>${main.java.version}</target>
  372. </configuration>
  373. </execution>
  374. </executions>
  375. </plugin>
  376. <plugin>
  377. <groupId>org.codehaus.mojo</groupId>
  378. <artifactId>animal-sniffer-maven-plugin</artifactId>
  379. <version>1.16</version>
  380. <executions>
  381. <execution>
  382. <id>signature-check</id>
  383. <phase>verify</phase>
  384. <goals>
  385. <goal>check</goal>
  386. </goals>
  387. </execution>
  388. </executions>
  389. <configuration>
  390. <signature>
  391. <groupId>org.codehaus.mojo.signature</groupId>
  392. <artifactId>java16</artifactId>
  393. <version>1.0</version>
  394. </signature>
  395. </configuration>
  396. </plugin>
  397. <plugin>
  398. <artifactId>maven-install-plugin</artifactId>
  399. <version>2.5.2</version>
  400. <configuration>
  401. <createChecksum>true</createChecksum>
  402. </configuration>
  403. </plugin>
  404. <!-- To release to Maven central -->
  405. <plugin>
  406. <groupId>org.sonatype.plugins</groupId>
  407. <artifactId>nexus-staging-maven-plugin</artifactId>
  408. <version>1.6.8</version>
  409. <extensions>true</extensions>
  410. <configuration>
  411. <serverId>ossrh</serverId>
  412. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  413. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  414. </configuration>
  415. </plugin>
  416. <!-- To sign the artifacts -->
  417. <plugin>
  418. <groupId>org.apache.maven.plugins</groupId>
  419. <artifactId>maven-gpg-plugin</artifactId>
  420. <version>1.6</version>
  421. <executions>
  422. <execution>
  423. <id>sign-artifacts</id>
  424. <phase>install</phase>
  425. <goals>
  426. <goal>sign</goal>
  427. </goals>
  428. </execution>
  429. </executions>
  430. </plugin>
  431. </plugins>
  432. </build>
  433. </project>