jjwt-0.9.1.pom 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481
  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</artifactId>
  26. <version>0.9.1</version>
  27. <name>JSON Web Token support for the JVM</name>
  28. <packaging>jar</packaging>
  29. <url>https://github.com/jwtk/jjwt</url>
  30. <licenses>
  31. <license>
  32. <name>Apache License, Version 2.0</name>
  33. <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  34. <distribution>repo</distribution>
  35. </license>
  36. </licenses>
  37. <scm>
  38. <connection>scm:git:https://github.com/jwtk/jjwt.git</connection>
  39. <developerConnection>scm:git:git@github.com:jwtk/jjwt.git</developerConnection>
  40. <url>git@github.com:jwtk/jjwt.git</url>
  41. <tag>0.9.1</tag>
  42. </scm>
  43. <issueManagement>
  44. <system>GitHub Issues</system>
  45. <url>https://github.com/jwtk/jjwt/issues</url>
  46. </issueManagement>
  47. <ciManagement>
  48. <system>TravisCI</system>
  49. <url>https://travis-ci.org/jwtk/jjwt</url>
  50. </ciManagement>
  51. <!-- temporary fix until official release of coverall-maven-plugin with clover support -->
  52. <repositories>
  53. <repository>
  54. <snapshots>
  55. <enabled>false</enabled>
  56. </snapshots>
  57. <id>bintray-jwtk-coveralls-maven-plugin</id>
  58. <name>bintray</name>
  59. <url>https://dl.bintray.com/jwtk/coveralls-maven-plugin</url>
  60. </repository>
  61. </repositories>
  62. <pluginRepositories>
  63. <pluginRepository>
  64. <snapshots>
  65. <enabled>false</enabled>
  66. </snapshots>
  67. <id>bintray-jwtk-coveralls-maven-plugin</id>
  68. <name>bintray-plugins</name>
  69. <url>https://dl.bintray.com/jwtk/coveralls-maven-plugin</url>
  70. </pluginRepository>
  71. </pluginRepositories>
  72. <!-- temporary fix until official release of coverall-maven-plugin with clover support -->
  73. <properties>
  74. <maven.jar.version>3.0.2</maven.jar.version>
  75. <maven.compiler.version>3.6.1</maven.compiler.version>
  76. <jdk.version>1.7</jdk.version>
  77. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  78. <buildNumber>${user.name}-${maven.build.timestamp}</buildNumber>
  79. <jackson.version>2.9.6</jackson.version>
  80. <!-- Optional Runtime Dependencies: -->
  81. <bouncycastle.version>1.56</bouncycastle.version>
  82. <!-- Test Dependencies: Only required for testing when building. Not required by users at runtime: -->
  83. <groovy.version>2.4.11</groovy.version>
  84. <logback.version>1.2.3</logback.version>
  85. <easymock.version>3.5</easymock.version>
  86. <junit.version>4.12</junit.version>
  87. <powermock.version>2.0.0-beta.5</powermock.version> <!-- necessary for Java 9 support -->
  88. <failsafe.plugin.version>2.20.1</failsafe.plugin.version>
  89. <surefire.plugin.version>2.20.1</surefire.plugin.version>
  90. <clover.version>4.2.0</clover.version>
  91. </properties>
  92. <dependencies>
  93. <dependency>
  94. <groupId>com.fasterxml.jackson.core</groupId>
  95. <artifactId>jackson-databind</artifactId>
  96. <version>${jackson.version}</version>
  97. </dependency>
  98. <!-- Optional Dependencies: -->
  99. <dependency>
  100. <groupId>org.bouncycastle</groupId>
  101. <artifactId>bcprov-jdk15on</artifactId>
  102. <version>${bouncycastle.version}</version>
  103. <scope>compile</scope>
  104. <optional>true</optional>
  105. </dependency>
  106. <!-- Provided scope: only used in Android environments - not downloaded as a transitive dependency.
  107. This dependency is only a stub of the actual implementation, which means we can't use it at test time.
  108. An Android environment is required to test for real. -->
  109. <dependency>
  110. <groupId>com.google.android</groupId>
  111. <artifactId>android</artifactId>
  112. <version>4.1.1.4</version>
  113. <scope>provided</scope>
  114. <exclusions>
  115. <exclusion>
  116. <groupId>commons-logging</groupId>
  117. <artifactId>commons-logging</artifactId>
  118. </exclusion>
  119. </exclusions>
  120. </dependency>
  121. <!-- Test Dependencies: Only required for testing when building. Not required by users at runtime: -->
  122. <dependency>
  123. <groupId>ch.qos.logback</groupId>
  124. <artifactId>logback-classic</artifactId>
  125. <version>${logback.version}</version>
  126. <scope>test</scope>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.codehaus.groovy</groupId>
  130. <artifactId>groovy-all</artifactId>
  131. <version>${groovy.version}</version>
  132. <scope>test</scope>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.easymock</groupId>
  136. <artifactId>easymock</artifactId>
  137. <version>${easymock.version}</version>
  138. <scope>test</scope>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.powermock</groupId>
  142. <artifactId>powermock-module-junit4</artifactId>
  143. <version>${powermock.version}</version>
  144. <scope>test</scope>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.powermock</groupId>
  148. <artifactId>powermock-api-easymock</artifactId>
  149. <version>${powermock.version}</version>
  150. <scope>test</scope>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.powermock</groupId>
  154. <artifactId>powermock-core</artifactId>
  155. <version>${powermock.version}</version>
  156. <scope>test</scope>
  157. </dependency>
  158. <dependency>
  159. <groupId>junit</groupId>
  160. <artifactId>junit</artifactId>
  161. <version>4.12</version>
  162. <scope>test</scope>
  163. </dependency>
  164. </dependencies>
  165. <build>
  166. <plugins>
  167. <plugin>
  168. <groupId>org.apache.maven.plugins</groupId>
  169. <artifactId>maven-enforcer-plugin</artifactId>
  170. <version>1.4.1</version>
  171. <executions>
  172. <execution>
  173. <id>enforce-banned-dependencies</id>
  174. <goals>
  175. <goal>enforce</goal>
  176. </goals>
  177. <configuration>
  178. <rules>
  179. <bannedDependencies>
  180. <searchTransitive>true</searchTransitive>
  181. <excludes>
  182. <exclude>commons-logging</exclude>
  183. </excludes>
  184. </bannedDependencies>
  185. </rules>
  186. <fail>true</fail>
  187. </configuration>
  188. </execution>
  189. </executions>
  190. </plugin>
  191. <plugin>
  192. <groupId>org.apache.maven.plugins</groupId>
  193. <artifactId>maven-compiler-plugin</artifactId>
  194. <version>${maven.compiler.version}</version>
  195. <configuration>
  196. <source>${jdk.version}</source>
  197. <target>${jdk.version}</target>
  198. <encoding>${project.build.sourceEncoding}</encoding>
  199. </configuration>
  200. </plugin>
  201. <plugin>
  202. <groupId>org.apache.maven.plugins</groupId>
  203. <artifactId>maven-jar-plugin</artifactId>
  204. <version>${maven.jar.version}</version>
  205. <configuration>
  206. <archive>
  207. <manifest>
  208. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  209. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  210. </manifest>
  211. <manifestFile>
  212. ${project.build.outputDirectory}/META-INF/MANIFEST.MF
  213. </manifestFile>
  214. </archive>
  215. </configuration>
  216. </plugin>
  217. <!-- Allow for writing tests in Groovy: -->
  218. <plugin>
  219. <groupId>org.codehaus.gmaven</groupId>
  220. <artifactId>gmaven-plugin</artifactId>
  221. <version>1.5</version>
  222. <configuration>
  223. <providerSelection>2.0</providerSelection>
  224. <source />
  225. </configuration>
  226. <executions>
  227. <execution>
  228. <goals>
  229. <goal>generateStubs</goal>
  230. <goal>compile</goal>
  231. <goal>generateTestStubs</goal>
  232. <goal>testCompile</goal>
  233. </goals>
  234. </execution>
  235. </executions>
  236. <dependencies>
  237. <dependency>
  238. <groupId>org.codehaus.gmaven.runtime</groupId>
  239. <artifactId>gmaven-runtime-2.0</artifactId>
  240. <version>1.5</version>
  241. <exclusions>
  242. <exclusion>
  243. <groupId>org.codehaus.groovy</groupId>
  244. <artifactId>groovy-all</artifactId>
  245. </exclusion>
  246. </exclusions>
  247. </dependency>
  248. <dependency>
  249. <groupId>org.codehaus.groovy</groupId>
  250. <artifactId>groovy-all</artifactId>
  251. <version>${groovy.version}</version>
  252. </dependency>
  253. </dependencies>
  254. </plugin>
  255. <!-- Override OSS parent to support Java 9. Doesn't hurt Java 8 -->
  256. <plugin>
  257. <groupId>org.apache.maven.plugins</groupId>
  258. <artifactId>maven-surefire-plugin</artifactId>
  259. <version>${surefire.plugin.version}</version>
  260. </plugin>
  261. <plugin>
  262. <groupId>org.apache.maven.plugins</groupId>
  263. <artifactId>maven-failsafe-plugin</artifactId>
  264. <version>${failsafe.plugin.version}</version>
  265. <configuration>
  266. <includes>
  267. <include>**/*IT.java</include>
  268. <include>**/*IT.groovy</include>
  269. <include>**/*ITCase.java</include>
  270. <include>**/*ITCase.groovy</include>
  271. </includes>
  272. <excludes>
  273. <exclude>**/*ManualIT.java</exclude>
  274. <exclude>**/*ManualIT.groovy</exclude>
  275. </excludes>
  276. </configuration>
  277. <executions>
  278. <execution>
  279. <goals>
  280. <goal>integration-test</goal>
  281. <goal>verify</goal>
  282. </goals>
  283. </execution>
  284. </executions>
  285. </plugin>
  286. <plugin>
  287. <groupId>org.openclover</groupId>
  288. <artifactId>clover-maven-plugin</artifactId>
  289. <version>${clover.version}</version>
  290. <configuration>
  291. <excludes>
  292. <exclude>**/*Test*</exclude>
  293. <!-- leaving out lang as it mostly comes from other sources -->
  294. <exclude>io/jsonwebtoken/lang/*</exclude>
  295. </excludes>
  296. <methodPercentage>100%</methodPercentage>
  297. <statementPercentage>100%</statementPercentage>
  298. <conditionalPercentage>100%</conditionalPercentage>
  299. <targetPercentage>100%</targetPercentage>
  300. </configuration>
  301. <executions>
  302. <execution>
  303. <id>clover</id>
  304. <phase>test</phase>
  305. <goals>
  306. <goal>instrument</goal>
  307. <goal>check</goal>
  308. <goal>clover</goal>
  309. </goals>
  310. </execution>
  311. </executions>
  312. </plugin>
  313. <plugin>
  314. <groupId>org.apache.maven.plugins</groupId>
  315. <artifactId>maven-release-plugin</artifactId>
  316. <version>2.5.3</version>
  317. <dependencies>
  318. <dependency>
  319. <groupId>org.apache.maven.scm</groupId>
  320. <artifactId>maven-scm-provider-gitexe</artifactId>
  321. <version>1.9.5</version>
  322. </dependency>
  323. </dependencies>
  324. <configuration>
  325. <mavenExecutorId>forked-path</mavenExecutorId>
  326. <useReleaseProfile>false</useReleaseProfile>
  327. <arguments>-Psonatype-oss-release -Pdocs -Psign</arguments>
  328. <autoVersionSubmodules>true</autoVersionSubmodules>
  329. </configuration>
  330. </plugin>
  331. <plugin>
  332. <groupId>org.apache.felix</groupId>
  333. <artifactId>maven-bundle-plugin</artifactId>
  334. <version>3.3.0</version>
  335. <extensions>true</extensions>
  336. <executions>
  337. <execution>
  338. <id>bundle-manifest</id>
  339. <phase>process-classes</phase>
  340. <goals>
  341. <goal>manifest</goal>
  342. </goals>
  343. </execution>
  344. </executions>
  345. <configuration>
  346. <instructions>
  347. <Import-Package><![CDATA[
  348. android.util;resolution:=optional,
  349. org.bouncycastle.jce;resolution:=optional,
  350. org.bouncycastle.jce.spec;resolution:=optional,
  351. *
  352. ]]>
  353. </Import-Package>
  354. </instructions>
  355. </configuration>
  356. </plugin>
  357. <!-- Temporarily host coveralls SNAPSHOT with clover support locally -->
  358. <plugin>
  359. <groupId>org.jwtk.coveralls</groupId>
  360. <artifactId>coveralls-maven-plugin</artifactId>
  361. <version>4.4.0</version>
  362. </plugin>
  363. <!-- Temporarily host coveralls SNAPSHOT with clover support locally -->
  364. <!-- Override OSS parent to support Java 9 -->
  365. <plugin>
  366. <groupId>org.apache.maven.plugins</groupId>
  367. <artifactId>maven-javadoc-plugin</artifactId>
  368. <version>2.10.4</version>
  369. <executions>
  370. <execution>
  371. <id>attach-javadocs</id>
  372. <goals>
  373. <goal>jar</goal>
  374. </goals>
  375. </execution>
  376. </executions>
  377. <dependencies>
  378. <!-- Workaround for Java 9 -->
  379. <dependency>
  380. <groupId>commons-lang</groupId>
  381. <artifactId>commons-lang</artifactId>
  382. <version>2.6</version>
  383. </dependency>
  384. </dependencies>
  385. </plugin>
  386. </plugins>
  387. </build>
  388. <profiles>
  389. <profile>
  390. <id>jdk8</id>
  391. <activation>
  392. <jdk>1.8</jdk>
  393. </activation>
  394. <properties>
  395. <!-- Turn off JDK 8's lint checks: -->
  396. <additionalparam>-Xdoclint:none</additionalparam>
  397. </properties>
  398. </profile>
  399. <profile>
  400. <id>sign</id>
  401. <build>
  402. <plugins>
  403. <plugin>
  404. <groupId>org.apache.maven.plugins</groupId>
  405. <artifactId>maven-gpg-plugin</artifactId>
  406. <version>1.6</version>
  407. <executions>
  408. <execution>
  409. <id>sign-artifacts</id>
  410. <phase>verify</phase>
  411. <goals>
  412. <goal>sign</goal>
  413. </goals>
  414. </execution>
  415. </executions>
  416. </plugin>
  417. </plugins>
  418. </build>
  419. </profile>
  420. <profile>
  421. <id>docs</id>
  422. <build>
  423. <plugins>
  424. <plugin>
  425. <groupId>org.apache.maven.plugins</groupId>
  426. <artifactId>maven-source-plugin</artifactId>
  427. <version>3.0.1</version>
  428. <executions>
  429. <execution>
  430. <id>attach-sources</id>
  431. <goals>
  432. <goal>jar-no-fork</goal>
  433. </goals>
  434. </execution>
  435. </executions>
  436. </plugin>
  437. <plugin>
  438. <groupId>org.apache.maven.plugins</groupId>
  439. <artifactId>maven-javadoc-plugin</artifactId>
  440. <version>2.10.4</version>
  441. <executions>
  442. <execution>
  443. <id>attach-javadocs</id>
  444. <goals>
  445. <goal>jar</goal>
  446. </goals>
  447. </execution>
  448. </executions>
  449. <dependencies>
  450. <!-- Workaround for Java 9 -->
  451. <dependency>
  452. <groupId>commons-lang</groupId>
  453. <artifactId>commons-lang</artifactId>
  454. <version>2.6</version>
  455. </dependency>
  456. </dependencies>
  457. </plugin>
  458. </plugins>
  459. </build>
  460. </profile>
  461. </profiles>
  462. </project>