jjwt-0.7.0.pom 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407
  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.7.0</version>
  27. <name>JSON Web Token support for the JVM</name>
  28. <packaging>jar</packaging>
  29. <licenses>
  30. <license>
  31. <name>Apache License, Version 2.0</name>
  32. <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  33. <distribution>repo</distribution>
  34. </license>
  35. </licenses>
  36. <scm>
  37. <connection>scm:git:https://github.com/jwtk/jjwt.git</connection>
  38. <developerConnection>scm:git:git@github.com:jwtk/jjwt.git</developerConnection>
  39. <url>git@github.com:jwtk/jjwt.git</url>
  40. <tag>0.7.0</tag>
  41. </scm>
  42. <issueManagement>
  43. <system>GitHub Issues</system>
  44. <url>https://github.com/jwtk/jjwt/issues</url>
  45. </issueManagement>
  46. <ciManagement>
  47. <system>TravisCI</system>
  48. <url>https://travis-ci.org/jwtk/jjwt</url>
  49. </ciManagement>
  50. <properties>
  51. <maven.jar.version>3.0.2</maven.jar.version>
  52. <maven.compiler.version>3.5.1</maven.compiler.version>
  53. <jdk.version>1.6</jdk.version>
  54. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  55. <buildNumber>${user.name}-${maven.build.timestamp}</buildNumber>
  56. <jackson.version>2.8.2</jackson.version>
  57. <!-- Optional Runtime Dependencies: -->
  58. <bouncycastle.version>1.55</bouncycastle.version>
  59. <!-- Test Dependencies: Only required for testing when building. Not required by users at runtime: -->
  60. <groovy.version>2.4.7</groovy.version>
  61. <logback.version>1.1.7</logback.version>
  62. <easymock.version>3.4</easymock.version>
  63. <junit.version>4.12</junit.version>
  64. <powermock.version>1.6.5</powermock.version>
  65. <failsafe.plugin.version>2.19.1</failsafe.plugin.version>
  66. </properties>
  67. <dependencies>
  68. <dependency>
  69. <groupId>com.fasterxml.jackson.core</groupId>
  70. <artifactId>jackson-databind</artifactId>
  71. <version>${jackson.version}</version>
  72. </dependency>
  73. <!-- Optional Dependencies: -->
  74. <dependency>
  75. <groupId>org.bouncycastle</groupId>
  76. <artifactId>bcprov-jdk15on</artifactId>
  77. <version>${bouncycastle.version}</version>
  78. <scope>compile</scope>
  79. <optional>true</optional>
  80. </dependency>
  81. <!-- Provided scope: only used in Android environments - not downloaded as a transitive dependency.
  82. This dependency is only a stub of the actual implementation, which means we can't use it at test time.
  83. An Android environment is required to test for real. -->
  84. <dependency>
  85. <groupId>com.google.android</groupId>
  86. <artifactId>android</artifactId>
  87. <version>4.1.1.4</version>
  88. <scope>provided</scope>
  89. <exclusions>
  90. <exclusion>
  91. <groupId>commons-logging</groupId>
  92. <artifactId>commons-logging</artifactId>
  93. </exclusion>
  94. </exclusions>
  95. </dependency>
  96. <!-- Test Dependencies: Only required for testing when building. Not required by users at runtime: -->
  97. <dependency>
  98. <groupId>ch.qos.logback</groupId>
  99. <artifactId>logback-classic</artifactId>
  100. <version>${logback.version}</version>
  101. <scope>test</scope>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.codehaus.groovy</groupId>
  105. <artifactId>groovy-all</artifactId>
  106. <version>${groovy.version}</version>
  107. <scope>test</scope>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.easymock</groupId>
  111. <artifactId>easymock</artifactId>
  112. <version>${easymock.version}</version>
  113. <scope>test</scope>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.powermock</groupId>
  117. <artifactId>powermock-module-junit4</artifactId>
  118. <version>${powermock.version}</version>
  119. <scope>test</scope>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.powermock</groupId>
  123. <artifactId>powermock-api-easymock</artifactId>
  124. <version>${powermock.version}</version>
  125. <scope>test</scope>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.powermock</groupId>
  129. <artifactId>powermock-core</artifactId>
  130. <version>${powermock.version}</version>
  131. <scope>test</scope>
  132. </dependency>
  133. <dependency>
  134. <groupId>junit</groupId>
  135. <artifactId>junit</artifactId>
  136. <version>4.12</version>
  137. <scope>test</scope>
  138. </dependency>
  139. </dependencies>
  140. <build>
  141. <plugins>
  142. <plugin>
  143. <groupId>org.apache.maven.plugins</groupId>
  144. <artifactId>maven-enforcer-plugin</artifactId>
  145. <version>1.3.1</version>
  146. <executions>
  147. <execution>
  148. <id>enforce-banned-dependencies</id>
  149. <goals>
  150. <goal>enforce</goal>
  151. </goals>
  152. <configuration>
  153. <rules>
  154. <bannedDependencies>
  155. <searchTransitive>true</searchTransitive>
  156. <excludes>
  157. <exclude>commons-logging</exclude>
  158. </excludes>
  159. </bannedDependencies>
  160. </rules>
  161. <fail>true</fail>
  162. </configuration>
  163. </execution>
  164. </executions>
  165. </plugin>
  166. <plugin>
  167. <groupId>org.apache.maven.plugins</groupId>
  168. <artifactId>maven-compiler-plugin</artifactId>
  169. <version>${maven.compiler.version}</version>
  170. <configuration>
  171. <source>${jdk.version}</source>
  172. <target>${jdk.version}</target>
  173. <encoding>${project.build.sourceEncoding}</encoding>
  174. </configuration>
  175. </plugin>
  176. <plugin>
  177. <groupId>org.apache.maven.plugins</groupId>
  178. <artifactId>maven-jar-plugin</artifactId>
  179. <version>${maven.jar.version}</version>
  180. <configuration>
  181. <archive>
  182. <manifest>
  183. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  184. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  185. </manifest>
  186. <manifestFile>
  187. ${project.build.outputDirectory}/META-INF/MANIFEST.MF
  188. </manifestFile>
  189. </archive>
  190. </configuration>
  191. </plugin>
  192. <!-- Allow for writing tests in Groovy: -->
  193. <plugin>
  194. <groupId>org.codehaus.gmaven</groupId>
  195. <artifactId>gmaven-plugin</artifactId>
  196. <version>1.5</version>
  197. <configuration>
  198. <providerSelection>2.0</providerSelection>
  199. <source />
  200. </configuration>
  201. <executions>
  202. <execution>
  203. <goals>
  204. <goal>generateStubs</goal>
  205. <goal>compile</goal>
  206. <goal>generateTestStubs</goal>
  207. <goal>testCompile</goal>
  208. </goals>
  209. </execution>
  210. </executions>
  211. <dependencies>
  212. <dependency>
  213. <groupId>org.codehaus.gmaven.runtime</groupId>
  214. <artifactId>gmaven-runtime-2.0</artifactId>
  215. <version>1.5</version>
  216. <exclusions>
  217. <exclusion>
  218. <groupId>org.codehaus.groovy</groupId>
  219. <artifactId>groovy-all</artifactId>
  220. </exclusion>
  221. </exclusions>
  222. </dependency>
  223. <dependency>
  224. <groupId>org.codehaus.groovy</groupId>
  225. <artifactId>groovy-all</artifactId>
  226. <version>${groovy.version}</version>
  227. </dependency>
  228. </dependencies>
  229. </plugin>
  230. <plugin>
  231. <groupId>org.apache.maven.plugins</groupId>
  232. <artifactId>maven-failsafe-plugin</artifactId>
  233. <version>2.17</version>
  234. <configuration>
  235. <includes>
  236. <include>**/*IT.java</include>
  237. <include>**/*IT.groovy</include>
  238. <include>**/*ITCase.java</include>
  239. <include>**/*ITCase.groovy</include>
  240. </includes>
  241. <excludes>
  242. <exclude>**/*ManualIT.java</exclude>
  243. <exclude>**/*ManualIT.groovy</exclude>
  244. </excludes>
  245. </configuration>
  246. <executions>
  247. <execution>
  248. <goals>
  249. <goal>integration-test</goal>
  250. <goal>verify</goal>
  251. </goals>
  252. </execution>
  253. </executions>
  254. </plugin>
  255. <plugin>
  256. <groupId>org.jacoco</groupId>
  257. <artifactId>jacoco-maven-plugin</artifactId>
  258. <version>0.7.6.201602180812</version>
  259. <configuration>
  260. <excludes>
  261. <exclude>**/io/jsonwebtoken/lang/*</exclude>
  262. </excludes>
  263. </configuration>
  264. <executions>
  265. <execution>
  266. <id>prepare-agent</id>
  267. <goals>
  268. <goal>prepare-agent</goal>
  269. </goals>
  270. </execution>
  271. </executions>
  272. </plugin>
  273. <plugin>
  274. <groupId>org.apache.maven.plugins</groupId>
  275. <artifactId>maven-release-plugin</artifactId>
  276. <version>2.5</version>
  277. <dependencies>
  278. <dependency>
  279. <groupId>org.apache.maven.scm</groupId>
  280. <artifactId>maven-scm-provider-gitexe</artifactId>
  281. <version>1.9</version>
  282. </dependency>
  283. </dependencies>
  284. <configuration>
  285. <mavenExecutorId>forked-path</mavenExecutorId>
  286. <useReleaseProfile>false</useReleaseProfile>
  287. <arguments>-Psonatype-oss-release -Pdocs -Psign</arguments>
  288. <autoVersionSubmodules>true</autoVersionSubmodules>
  289. </configuration>
  290. </plugin>
  291. <plugin>
  292. <groupId>org.apache.felix</groupId>
  293. <artifactId>maven-bundle-plugin</artifactId>
  294. <version>3.0.1</version>
  295. <extensions>true</extensions>
  296. <executions>
  297. <execution>
  298. <id>bundle-manifest</id>
  299. <phase>process-classes</phase>
  300. <goals>
  301. <goal>manifest</goal>
  302. </goals>
  303. </execution>
  304. </executions>
  305. <configuration>
  306. <instructions>
  307. <Import-Package><![CDATA[
  308. android.util;resolution:=optional,
  309. org.bouncycastle.jce;resolution:=optional,
  310. org.bouncycastle.jce.spec;resolution:=optional,
  311. *
  312. ]]>
  313. </Import-Package>
  314. </instructions>
  315. </configuration>
  316. </plugin>
  317. <plugin>
  318. <groupId>org.eluder.coveralls</groupId>
  319. <artifactId>coveralls-maven-plugin</artifactId>
  320. <version>4.0.0</version>
  321. </plugin>
  322. </plugins>
  323. </build>
  324. <profiles>
  325. <profile>
  326. <id>jdk8</id>
  327. <activation>
  328. <jdk>1.8</jdk>
  329. </activation>
  330. <properties>
  331. <!-- Turn off JDK 8's lint checks: -->
  332. <additionalparam>-Xdoclint:none</additionalparam>
  333. </properties>
  334. </profile>
  335. <profile>
  336. <id>sign</id>
  337. <build>
  338. <plugins>
  339. <plugin>
  340. <groupId>org.apache.maven.plugins</groupId>
  341. <artifactId>maven-gpg-plugin</artifactId>
  342. <version>1.5</version>
  343. <executions>
  344. <execution>
  345. <id>sign-artifacts</id>
  346. <phase>verify</phase>
  347. <goals>
  348. <goal>sign</goal>
  349. </goals>
  350. </execution>
  351. </executions>
  352. </plugin>
  353. </plugins>
  354. </build>
  355. </profile>
  356. <profile>
  357. <id>docs</id>
  358. <build>
  359. <plugins>
  360. <plugin>
  361. <groupId>org.apache.maven.plugins</groupId>
  362. <artifactId>maven-source-plugin</artifactId>
  363. <version>2.3</version>
  364. <executions>
  365. <execution>
  366. <id>attach-sources</id>
  367. <goals>
  368. <goal>jar-no-fork</goal>
  369. </goals>
  370. </execution>
  371. </executions>
  372. </plugin>
  373. <plugin>
  374. <groupId>org.apache.maven.plugins</groupId>
  375. <artifactId>maven-javadoc-plugin</artifactId>
  376. <version>2.9.1</version>
  377. <executions>
  378. <execution>
  379. <id>attach-javadocs</id>
  380. <goals>
  381. <goal>jar</goal>
  382. </goals>
  383. </execution>
  384. </executions>
  385. </plugin>
  386. </plugins>
  387. </build>
  388. </profile>
  389. </profiles>
  390. </project>