jjwt-root-0.11.2.pom 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Copyright (C) 2014 jsonwebtoken.io
  4. ~
  5. ~ Licensed under the Apache License, Version 2.0 (the "License");
  6. ~ you may not use this file except in compliance with the License.
  7. ~ You may obtain a copy of the License at
  8. ~
  9. ~ http://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,
  13. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. ~ See the License for the specific language governing permissions and
  15. ~ limitations 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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  18. <modelVersion>4.0.0</modelVersion>
  19. <parent>
  20. <groupId>org.sonatype.oss</groupId>
  21. <artifactId>oss-parent</artifactId>
  22. <version>7</version>
  23. </parent>
  24. <groupId>io.jsonwebtoken</groupId>
  25. <artifactId>jjwt-root</artifactId>
  26. <version>0.11.2</version>
  27. <name>JJWT</name>
  28. <description>JSON Web Token support for the JVM and Android</description>
  29. <packaging>pom</packaging>
  30. <url>https://github.com/jwtk/jjwt</url>
  31. <organization>
  32. <name>jsonwebtoken.io</name>
  33. <url>https://github.com/jwtk/jjwt</url>
  34. </organization>
  35. <inceptionYear>2014</inceptionYear>
  36. <licenses>
  37. <license>
  38. <name>Apache License, Version 2.0</name>
  39. <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  40. <distribution>repo</distribution>
  41. </license>
  42. </licenses>
  43. <scm>
  44. <connection>scm:git:https://github.com/jwtk/jjwt.git</connection>
  45. <developerConnection>scm:git:git@github.com:jwtk/jjwt.git</developerConnection>
  46. <url>git@github.com:jwtk/jjwt.git</url>
  47. <tag>0.11.2</tag>
  48. </scm>
  49. <issueManagement>
  50. <system>GitHub Issues</system>
  51. <url>https://github.com/jwtk/jjwt/issues</url>
  52. </issueManagement>
  53. <ciManagement>
  54. <system>TravisCI</system>
  55. <url>https://travis-ci.org/jwtk/jjwt</url>
  56. </ciManagement>
  57. <!-- temporary fix until official release of coverall-maven-plugin with clover support -->
  58. <repositories>
  59. <repository>
  60. <snapshots>
  61. <enabled>false</enabled>
  62. </snapshots>
  63. <id>bintray-jwtk-coveralls-maven-plugin</id>
  64. <name>bintray</name>
  65. <url>https://dl.bintray.com/jwtk/coveralls-maven-plugin</url>
  66. </repository>
  67. </repositories>
  68. <pluginRepositories>
  69. <pluginRepository>
  70. <snapshots>
  71. <enabled>false</enabled>
  72. </snapshots>
  73. <id>bintray-jwtk-coveralls-maven-plugin</id>
  74. <name>bintray-plugins</name>
  75. <url>https://dl.bintray.com/jwtk/coveralls-maven-plugin</url>
  76. </pluginRepository>
  77. </pluginRepositories>
  78. <!-- temporary fix until official release of coverall-maven-plugin with clover support -->
  79. <properties>
  80. <jjwt.root>${basedir}</jjwt.root>
  81. <jjwt.previousVersion>0.10.7</jjwt.previousVersion>
  82. <maven.jar.version>3.0.2</maven.jar.version>
  83. <maven.compiler.version>3.8.0</maven.compiler.version>
  84. <maven.javadoc.version>3.1.1</maven.javadoc.version>
  85. <gmavenplus.version>1.6.1</gmavenplus.version>
  86. <jdk.version>1.7</jdk.version>
  87. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  88. <buildNumber>${user.name}-${maven.build.timestamp}</buildNumber>
  89. <jackson.version>2.9.10.4</jackson.version>
  90. <orgjson.version>20180130</orgjson.version>
  91. <gson.version>2.8.5</gson.version>
  92. <!-- Optional Runtime Dependencies: -->
  93. <bouncycastle.version>1.60</bouncycastle.version>
  94. <!-- Test Dependencies: Only required for testing when building. Not required by users at runtime: -->
  95. <groovy.version>2.5.11</groovy.version>
  96. <logback.version>1.2.3</logback.version>
  97. <easymock.version>3.6</easymock.version>
  98. <junit.version>4.12</junit.version>
  99. <powermock.version>2.0.0-beta.5</powermock.version> <!-- necessary for Java 9 support -->
  100. <failsafe.plugin.version>2.22.0</failsafe.plugin.version>
  101. <surefire.plugin.version>2.22.0</surefire.plugin.version>
  102. <clover.version>4.2.1</clover.version>
  103. <clover.db>${jjwt.root}/target/clover/clover.db</clover.db>
  104. <surefire.argLine />
  105. </properties>
  106. <modules>
  107. <module>api</module>
  108. <module>impl</module>
  109. <module>extensions</module>
  110. </modules>
  111. <dependencyManagement>
  112. <dependencies>
  113. <dependency>
  114. <groupId>io.jsonwebtoken</groupId>
  115. <artifactId>jjwt-api</artifactId>
  116. <version>${project.version}</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>io.jsonwebtoken</groupId>
  120. <artifactId>jjwt-jackson</artifactId>
  121. <version>${project.version}</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>io.jsonwebtoken</groupId>
  125. <artifactId>jjwt-orgjson</artifactId>
  126. <version>${project.version}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>io.jsonwebtoken</groupId>
  130. <artifactId>jjwt-gson</artifactId>
  131. <version>${project.version}</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>com.fasterxml.jackson.core</groupId>
  135. <artifactId>jackson-databind</artifactId>
  136. <version>${jackson.version}</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.json</groupId>
  140. <artifactId>json</artifactId>
  141. <version>${orgjson.version}</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>com.google.code.gson</groupId>
  145. <artifactId>gson</artifactId>
  146. <version>${gson.version}</version>
  147. </dependency>
  148. <!-- Used only during testing for PS256, PS384 and PS512 since JDK <= 10 doesn't support them: -->
  149. <dependency>
  150. <groupId>org.bouncycastle</groupId>
  151. <artifactId>bcprov-jdk15on</artifactId>
  152. <version>${bouncycastle.version}</version>
  153. <scope>test</scope>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.bouncycastle</groupId>
  157. <artifactId>bcpkix-jdk15on</artifactId>
  158. <version>${bouncycastle.version}</version>
  159. <scope>test</scope>
  160. </dependency>
  161. </dependencies>
  162. </dependencyManagement>
  163. <dependencies>
  164. <!-- Test Dependencies: Only required for testing when building. Not required by users at runtime: -->
  165. <dependency>
  166. <groupId>ch.qos.logback</groupId>
  167. <artifactId>logback-classic</artifactId>
  168. <version>${logback.version}</version>
  169. <scope>test</scope>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.codehaus.groovy</groupId>
  173. <artifactId>groovy</artifactId>
  174. <version>${groovy.version}</version>
  175. <scope>test</scope>
  176. </dependency>
  177. <dependency>
  178. <groupId>org.easymock</groupId>
  179. <artifactId>easymock</artifactId>
  180. <version>${easymock.version}</version>
  181. <scope>test</scope>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.powermock</groupId>
  185. <artifactId>powermock-module-junit4</artifactId>
  186. <version>${powermock.version}</version>
  187. <scope>test</scope>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.powermock</groupId>
  191. <artifactId>powermock-api-easymock</artifactId>
  192. <version>${powermock.version}</version>
  193. <scope>test</scope>
  194. </dependency>
  195. <dependency>
  196. <groupId>org.powermock</groupId>
  197. <artifactId>powermock-core</artifactId>
  198. <version>${powermock.version}</version>
  199. <scope>test</scope>
  200. </dependency>
  201. <dependency>
  202. <groupId>junit</groupId>
  203. <artifactId>junit</artifactId>
  204. <version>4.12</version>
  205. <scope>test</scope>
  206. </dependency>
  207. </dependencies>
  208. <build>
  209. <pluginManagement>
  210. <plugins>
  211. <plugin>
  212. <groupId>org.openclover</groupId>
  213. <artifactId>clover-maven-plugin</artifactId>
  214. <version>${clover.version}</version>
  215. <configuration>
  216. <cloverDatabase>${clover.db}</cloverDatabase>
  217. <!--
  218. cloverDatabase>${user.home}/.clover/${project.groupId}/jjwt/clover.db</cloverDatabase>
  219. <snapshot>${user.home}/.clover/${project.groupId}/jjwt/clover.snapshot</snapshot>
  220. <historyDir>${user.home}/.clover/${project.groupId}/jjwt</historyDir> -->
  221. <excludes>
  222. <exclude>io/jsonwebtoken/lang/*</exclude>
  223. </excludes>
  224. <methodPercentage>100.000000%</methodPercentage>
  225. <statementPercentage>100.000000%</statementPercentage>
  226. <conditionalPercentage>100.000000%</conditionalPercentage>
  227. <targetPercentage>100.000000%</targetPercentage>
  228. </configuration>
  229. </plugin>
  230. <plugin>
  231. <groupId>com.mycila</groupId>
  232. <artifactId>license-maven-plugin</artifactId>
  233. <version>3.0</version>
  234. <configuration>
  235. <aggregate>true</aggregate>
  236. <skipExistingHeaders>true</skipExistingHeaders>
  237. <header>${jjwt.root}/src/license/header.txt</header>
  238. <headerDefinitions>
  239. <headerDefinition>${jjwt.root}/src/license/header_format.xml</headerDefinition>
  240. </headerDefinitions>
  241. <properties>
  242. <organization.name>${project.organization.name}</organization.name>
  243. <year>2019</year>
  244. </properties>
  245. <excludes>
  246. <exclude>**/*.txt</exclude>
  247. <exclude>LICENSE</exclude>
  248. <exclude>**/lombok.config</exclude>
  249. <exclude>**/mvnw</exclude>
  250. <exclude>.gitattributes</exclude>
  251. </excludes>
  252. </configuration>
  253. </plugin>
  254. <plugin>
  255. <groupId>org.apache.maven.plugins</groupId>
  256. <artifactId>maven-javadoc-plugin</artifactId>
  257. <version>2.10.4</version>
  258. <configuration>
  259. <source>${jdk.version}</source>
  260. </configuration>
  261. </plugin>
  262. <plugin>
  263. <!-- japicmp will scan code for binary breaking changes, Open api/target/japicmp/japicmp.html
  264. for a report of the changes since ${jjwt.previousVersion} -->
  265. <groupId>com.github.siom79.japicmp</groupId>
  266. <artifactId>japicmp-maven-plugin</artifactId>
  267. <version>0.13.1</version>
  268. <configuration>
  269. <oldVersion>
  270. <dependency>
  271. <groupId>${project.groupId}</groupId>
  272. <artifactId>${project.artifactId}</artifactId>
  273. <version>${jjwt.previousVersion}</version>
  274. <type>jar</type>
  275. </dependency>
  276. </oldVersion>
  277. <parameter>
  278. <onlyModified>true</onlyModified>
  279. <breakBuildOnBinaryIncompatibleModifications>true</breakBuildOnBinaryIncompatibleModifications>
  280. <!-- TODO: enable after 1.0 -->
  281. <!-- <breakBuildBasedOnSemanticVersioning>true</breakBuildBasedOnSemanticVersioning>-->
  282. </parameter>
  283. </configuration>
  284. <executions>
  285. <execution>
  286. <id>japicmp</id>
  287. <goals>
  288. <goal>cmp</goal>
  289. </goals>
  290. </execution>
  291. </executions>
  292. </plugin>
  293. <!-- The following plugin section is used in jjwt-jackson and jjwt-orgjson, to repackage (and verify)
  294. binary compatibility with previous versions. In v0.11.0 the implementations changed packages to
  295. avoid split package issues with Java 9+ see: https://github.com/jwtk/jjwt/issues/399 -->
  296. <!-- TODO: remove these deprecated packages and this config before v1.0 -->
  297. <plugin>
  298. <groupId>org.apache.maven.plugins</groupId>
  299. <artifactId>maven-shade-plugin</artifactId>
  300. <version>3.2.1</version>
  301. <configuration>
  302. <shadedClassifierName>deprecated</shadedClassifierName>
  303. <shadedArtifactAttached>true</shadedArtifactAttached>
  304. <createDependencyReducedPom>false</createDependencyReducedPom>
  305. <artifactSet>
  306. <includes>
  307. <include>${project.groupId}:${project.artifactId}</include>
  308. </includes>
  309. </artifactSet>
  310. <transformers>
  311. <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
  312. </transformers>
  313. </configuration>
  314. <executions>
  315. <execution>
  316. <phase>package</phase>
  317. <goals>
  318. <goal>shade</goal>
  319. </goals>
  320. </execution>
  321. </executions>
  322. </plugin>
  323. </plugins>
  324. </pluginManagement>
  325. <plugins>
  326. <plugin>
  327. <groupId>org.apache.maven.plugins</groupId>
  328. <artifactId>maven-enforcer-plugin</artifactId>
  329. <version>1.4.1</version>
  330. <executions>
  331. <execution>
  332. <id>enforce-banned-dependencies</id>
  333. <goals>
  334. <goal>enforce</goal>
  335. </goals>
  336. <configuration>
  337. <rules>
  338. <bannedDependencies>
  339. <searchTransitive>true</searchTransitive>
  340. <excludes>
  341. <exclude>commons-logging</exclude>
  342. </excludes>
  343. </bannedDependencies>
  344. </rules>
  345. <fail>true</fail>
  346. </configuration>
  347. </execution>
  348. </executions>
  349. </plugin>
  350. <plugin>
  351. <groupId>org.apache.maven.plugins</groupId>
  352. <artifactId>maven-compiler-plugin</artifactId>
  353. <version>${maven.compiler.version}</version>
  354. <configuration>
  355. <source>${jdk.version}</source>
  356. <target>${jdk.version}</target>
  357. <encoding>${project.build.sourceEncoding}</encoding>
  358. </configuration>
  359. </plugin>
  360. <!-- Allow for writing tests in Groovy: -->
  361. <plugin>
  362. <groupId>org.codehaus.gmavenplus</groupId>
  363. <artifactId>gmavenplus-plugin</artifactId>
  364. <version>${gmavenplus.version}</version>
  365. <executions>
  366. <execution>
  367. <goals>
  368. <goal>addSources</goal>
  369. <goal>addTestSources</goal>
  370. <goal>generateStubs</goal>
  371. <goal>compile</goal>
  372. <goal>generateTestStubs</goal>
  373. <goal>compileTests</goal>
  374. <goal>removeStubs</goal>
  375. <goal>removeTestStubs</goal>
  376. </goals>
  377. </execution>
  378. </executions>
  379. <dependencies>
  380. <dependency>
  381. <groupId>org.codehaus.groovy</groupId>
  382. <artifactId>groovy</artifactId>
  383. <version>${groovy.version}</version>
  384. </dependency>
  385. </dependencies>
  386. </plugin>
  387. <plugin>
  388. <groupId>org.apache.maven.plugins</groupId>
  389. <artifactId>maven-surefire-plugin</artifactId>
  390. <version>${surefire.plugin.version}</version>
  391. <configuration>
  392. <argLine>${surefire.argLine}</argLine>
  393. </configuration>
  394. </plugin>
  395. <plugin>
  396. <groupId>org.apache.maven.plugins</groupId>
  397. <artifactId>maven-failsafe-plugin</artifactId>
  398. <version>${failsafe.plugin.version}</version>
  399. <configuration>
  400. <includes>
  401. <include>**/*IT.java</include>
  402. <include>**/*IT.groovy</include>
  403. <include>**/*ITCase.java</include>
  404. <include>**/*ITCase.groovy</include>
  405. </includes>
  406. <excludes>
  407. <exclude>**/*ManualIT.java</exclude>
  408. <exclude>**/*ManualIT.groovy</exclude>
  409. </excludes>
  410. </configuration>
  411. <executions>
  412. <execution>
  413. <goals>
  414. <goal>integration-test</goal>
  415. <goal>verify</goal>
  416. </goals>
  417. </execution>
  418. </executions>
  419. </plugin>
  420. <plugin>
  421. <groupId>org.openclover</groupId>
  422. <artifactId>clover-maven-plugin</artifactId>
  423. <!--
  424. <configuration>
  425. <excludes>
  426. <!- - leaving out lang as it mostly comes from other sources - ->
  427. <exclude>io/jsonwebtoken/lang/*</exclude>
  428. </excludes>
  429. <methodPercentage>100.000000%</methodPercentage>
  430. <statementPercentage>100.000000%</statementPercentage>
  431. <conditionalPercentage>100.000000%</conditionalPercentage>
  432. <targetPercentage>100.000000%</targetPercentage>
  433. </configuration>
  434. <executions>
  435. <execution>
  436. <id>clover</id>
  437. <phase>test</phase>
  438. <goals>
  439. <goal>instrument</goal>
  440. <goal>aggregate</goal>
  441. <goal>clover</goal>
  442. <goal>check</goal>
  443. </goals>
  444. </execution>
  445. </executions> -->
  446. </plugin>
  447. <plugin>
  448. <groupId>org.apache.maven.plugins</groupId>
  449. <artifactId>maven-release-plugin</artifactId>
  450. <version>2.5.3</version>
  451. <dependencies>
  452. <dependency>
  453. <groupId>org.apache.maven.scm</groupId>
  454. <artifactId>maven-scm-provider-gitexe</artifactId>
  455. <version>1.9.5</version>
  456. </dependency>
  457. </dependencies>
  458. <configuration>
  459. <mavenExecutorId>forked-path</mavenExecutorId>
  460. <useReleaseProfile>false</useReleaseProfile>
  461. <arguments>-Psonatype-oss-release -Pdocs -Psign</arguments>
  462. <autoVersionSubmodules>true</autoVersionSubmodules>
  463. </configuration>
  464. </plugin>
  465. <plugin>
  466. <groupId>org.apache.felix</groupId>
  467. <artifactId>maven-bundle-plugin</artifactId>
  468. <version>3.3.0</version>
  469. <executions>
  470. <execution>
  471. <id>bundle-manifest</id>
  472. <phase>process-classes</phase>
  473. <goals>
  474. <goal>manifest</goal>
  475. </goals>
  476. </execution>
  477. </executions>
  478. <configuration>
  479. <instructions>
  480. <_include>-bnd.bnd</_include>
  481. </instructions>
  482. </configuration>
  483. </plugin>
  484. <plugin>
  485. <groupId>org.apache.maven.plugins</groupId>
  486. <artifactId>maven-jar-plugin</artifactId>
  487. <version>${maven.jar.version}</version>
  488. <configuration>
  489. <archive>
  490. <manifest>
  491. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  492. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  493. </manifest>
  494. <manifestFile>
  495. ${project.build.outputDirectory}/META-INF/MANIFEST.MF
  496. </manifestFile>
  497. </archive>
  498. </configuration>
  499. </plugin>
  500. <!-- Temporarily host coveralls SNAPSHOT with clover support locally -->
  501. <plugin>
  502. <groupId>org.jwtk.coveralls</groupId>
  503. <artifactId>coveralls-maven-plugin</artifactId>
  504. <version>4.4.0</version>
  505. </plugin>
  506. <!-- Temporarily host coveralls SNAPSHOT with clover support locally -->
  507. <!-- Override OSS parent to support Java 9 -->
  508. <plugin>
  509. <groupId>org.apache.maven.plugins</groupId>
  510. <artifactId>maven-javadoc-plugin</artifactId>
  511. <version>${maven.javadoc.version}</version>
  512. <executions>
  513. <execution>
  514. <id>attach-javadocs</id>
  515. <goals>
  516. <goal>jar</goal>
  517. </goals>
  518. </execution>
  519. </executions>
  520. <configuration>
  521. <failOnError>false</failOnError>
  522. </configuration>
  523. <dependencies>
  524. <!-- Workaround for Java 9 -->
  525. <dependency>
  526. <groupId>commons-lang</groupId>
  527. <artifactId>commons-lang</artifactId>
  528. <version>2.6</version>
  529. </dependency>
  530. </dependencies>
  531. </plugin>
  532. </plugins>
  533. </build>
  534. <profiles>
  535. <profile>
  536. <id>nonJDK7</id>
  537. <activation>
  538. <jdk>[1.8,)</jdk>
  539. </activation>
  540. <properties>
  541. <!-- Turn off JDK >= 8's lint checks: -->
  542. <additionalparam>-Xdoclint:none</additionalparam>
  543. <gmavenplus.version>1.8.1</gmavenplus.version>
  544. <easymock.version>4.2</easymock.version>
  545. <powermock.version>2.0.2</powermock.version>
  546. </properties>
  547. </profile>
  548. <profile>
  549. <!-- Added profile to address https://github.com/jwtk/jjwt/issues/364 -->
  550. <id>jdk9AndLater</id>
  551. <activation>
  552. <jdk>[1.9,)</jdk>
  553. </activation>
  554. <properties>
  555. <surefire.argLine>--add-opens java.base/jdk.internal.loader=ALL-UNNAMED</surefire.argLine>
  556. </properties>
  557. </profile>
  558. <profile>
  559. <id>sign</id>
  560. <build>
  561. <plugins>
  562. <plugin>
  563. <groupId>org.apache.maven.plugins</groupId>
  564. <artifactId>maven-gpg-plugin</artifactId>
  565. <version>1.6</version>
  566. <executions>
  567. <execution>
  568. <id>sign-artifacts</id>
  569. <phase>verify</phase>
  570. <goals>
  571. <goal>sign</goal>
  572. </goals>
  573. </execution>
  574. </executions>
  575. </plugin>
  576. </plugins>
  577. </build>
  578. </profile>
  579. <profile>
  580. <id>docs</id>
  581. <build>
  582. <plugins>
  583. <plugin>
  584. <groupId>org.apache.maven.plugins</groupId>
  585. <artifactId>maven-source-plugin</artifactId>
  586. <version>3.0.1</version>
  587. <executions>
  588. <execution>
  589. <id>attach-sources</id>
  590. <goals>
  591. <goal>jar-no-fork</goal>
  592. </goals>
  593. </execution>
  594. </executions>
  595. </plugin>
  596. <plugin>
  597. <groupId>org.apache.maven.plugins</groupId>
  598. <artifactId>maven-javadoc-plugin</artifactId>
  599. <version>${maven.javadoc.version}</version>
  600. <executions>
  601. <execution>
  602. <id>attach-javadocs</id>
  603. <goals>
  604. <goal>jar</goal>
  605. </goals>
  606. </execution>
  607. </executions>
  608. <dependencies>
  609. <!-- Workaround for Java 9 -->
  610. <dependency>
  611. <groupId>commons-lang</groupId>
  612. <artifactId>commons-lang</artifactId>
  613. <version>2.6</version>
  614. </dependency>
  615. </dependencies>
  616. </plugin>
  617. </plugins>
  618. </build>
  619. </profile>
  620. </profiles>
  621. </project>