cache-api-1.1.1.pom 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.sonatype.oss</groupId>
  7. <artifactId>oss-parent</artifactId>
  8. <version>7</version>
  9. <!--Fixes broken Maven 3 warning-->
  10. <relativePath/>
  11. </parent>
  12. <groupId>javax.cache</groupId>
  13. <artifactId>cache-api</artifactId>
  14. <version>1.1.1</version>
  15. <packaging>jar</packaging>
  16. <name>JSR107 API and SPI</name>
  17. <url>https://github.com/jsr107/jsr107spec</url>
  18. <licenses>
  19. <license>
  20. <name>Apache License, Version 2.0</name>
  21. <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
  22. <distribution>repo</distribution>
  23. <comments>A business-friendly OSS license</comments>
  24. </license>
  25. </licenses>
  26. <properties>
  27. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  28. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  29. </properties>
  30. <dependencies>
  31. <!--This is only needed if you are using a CDI based implementation of the annotations support.
  32. In CDI 1.1. we should be able to remove this dependency completely. -->
  33. <dependency>
  34. <groupId>javax.enterprise</groupId>
  35. <artifactId>cdi-api</artifactId>
  36. <version>1.0-SP4</version>
  37. <scope>provided</scope>
  38. <optional>true</optional>
  39. <exclusions>
  40. <exclusion>
  41. <artifactId>jsr250-api</artifactId>
  42. <groupId>javax.annotation</groupId>
  43. </exclusion>
  44. <exclusion>
  45. <artifactId>jboss-interceptors-api_1.1_spec</artifactId>
  46. <groupId>org.jboss.spec.javax.interceptor</groupId>
  47. </exclusion>
  48. <exclusion>
  49. <artifactId>javax.inject</artifactId>
  50. <groupId>javax.inject</groupId>
  51. </exclusion>
  52. </exclusions>
  53. </dependency>
  54. <dependency>
  55. <groupId>junit</groupId>
  56. <artifactId>junit</artifactId>
  57. <version>4.11</version>
  58. <scope>test</scope>
  59. </dependency>
  60. </dependencies>
  61. <build>
  62. <plugins>
  63. <plugin>
  64. <artifactId>maven-compiler-plugin</artifactId>
  65. <version>3.7.0</version>
  66. <configuration>
  67. <source>1.6</source>
  68. <target>1.6</target>
  69. </configuration>
  70. </plugin>
  71. <plugin>
  72. <groupId>org.apache.maven.plugins</groupId>
  73. <artifactId>maven-source-plugin</artifactId>
  74. <version>3.0.1</version>
  75. <executions>
  76. <execution>
  77. <id>attach-sources</id>
  78. <phase>package</phase>
  79. <goals>
  80. <goal>jar</goal>
  81. </goals>
  82. </execution>
  83. </executions>
  84. </plugin>
  85. <plugin>
  86. <groupId>org.apache.maven.plugins</groupId>
  87. <artifactId>maven-javadoc-plugin</artifactId>
  88. <version>3.0.1</version>
  89. <executions>
  90. <execution>
  91. <id>attach-javadocs</id>
  92. <goals>
  93. <goal>jar</goal>
  94. </goals>
  95. </execution>
  96. </executions>
  97. <configuration>
  98. <failOnError>false</failOnError>
  99. </configuration>
  100. </plugin>
  101. <plugin>
  102. <groupId>org.apache.maven.plugins</groupId>
  103. <artifactId>maven-checkstyle-plugin</artifactId>
  104. <version>2.12</version>
  105. <executions>
  106. <execution>
  107. <phase>install</phase>
  108. <goals>
  109. <goal>checkstyle</goal>
  110. </goals>
  111. </execution>
  112. </executions>
  113. <configuration>
  114. <configLocation>${basedir}/checkstyle/checkstyle.xml
  115. </configLocation>
  116. <suppressionsLocation>${basedir}/checkstyle/suppressions.xml
  117. </suppressionsLocation>
  118. <headerLocation>${basedir}/checkstyle/ClassHeader.txt
  119. </headerLocation>
  120. <enableRSS>false</enableRSS>
  121. <linkXRef>true</linkXRef>
  122. <consoleOutput>true</consoleOutput>
  123. <failsOnError>true</failsOnError>
  124. <failOnViolation>true</failOnViolation>
  125. <includeTestSourceDirectory>false</includeTestSourceDirectory>
  126. <enableRulesSummary>true</enableRulesSummary>
  127. </configuration>
  128. </plugin>
  129. <plugin>
  130. <artifactId>maven-jar-plugin</artifactId>
  131. <version>3.0.2</version>
  132. <configuration>
  133. <archive>
  134. <manifestFile>
  135. ${project.build.outputDirectory}/META-INF/MANIFEST.MF
  136. </manifestFile>
  137. </archive>
  138. </configuration>
  139. </plugin>
  140. <plugin>
  141. <groupId>org.apache.felix</groupId>
  142. <artifactId>maven-bundle-plugin</artifactId>
  143. <version>2.3.7</version>
  144. <extensions>true</extensions>
  145. <configuration>
  146. <instructions>
  147. <_include>bnd.bnd</_include>
  148. <Include-Resource>{maven-resources}</Include-Resource>
  149. </instructions>
  150. </configuration>
  151. <executions>
  152. <execution>
  153. <id>bundle-manifest</id>
  154. <phase>process-classes</phase>
  155. <goals>
  156. <goal>manifest</goal>
  157. </goals>
  158. </execution>
  159. </executions>
  160. </plugin>
  161. <plugin>
  162. <groupId>org.apache.maven.plugins</groupId>
  163. <artifactId>maven-site-plugin</artifactId>
  164. <version>3.6</version>
  165. <configuration>
  166. </configuration>
  167. </plugin>
  168. <!--
  169. To run a build with clover instrumentation:
  170. mvn clean com.atlassian.maven.plugins:maven-clover2-plugin:setup install
  171. To run the clover report:
  172. mvn com.atlassian.maven.plugins:maven-clover2-plugin:clover
  173. -->
  174. <plugin>
  175. <groupId>com.atlassian.maven.plugins</groupId>
  176. <artifactId>maven-clover2-plugin</artifactId>
  177. <version>3.2.0</version>
  178. <configuration>
  179. <cloverDatabase>${java.io.tmpdir}/clover/clover.db</cloverDatabase>
  180. <singleCloverDatabase>true</singleCloverDatabase>
  181. <license>insert license here</license>
  182. <instrumentation>method</instrumentation>
  183. <includesTestSourceRoots>false</includesTestSourceRoots>
  184. </configuration>
  185. </plugin>
  186. </plugins>
  187. </build>
  188. <profiles>
  189. <profile>
  190. <!--Only releases need to be signed. Use mvn -Prelease clean deploy to deploy releases -->
  191. <id>release</id>
  192. <build>
  193. <plugins>
  194. <plugin>
  195. <groupId>org.apache.maven.plugins</groupId>
  196. <artifactId>maven-gpg-plugin</artifactId>
  197. <version>1.5</version>
  198. <executions>
  199. <execution>
  200. <id>sign-artifacts</id>
  201. <phase>verify</phase>
  202. <goals>
  203. <goal>sign</goal>
  204. </goals>
  205. </execution>
  206. </executions>
  207. </plugin>
  208. </plugins>
  209. </build>
  210. </profile>
  211. <!-- run doclint on java8.
  212. but do not complain if documentation is missing for parameter or return statement.
  213. the profile enables automatically on java 8. this is backwards compatible,
  214. if someone wants to build on java 7. -->
  215. <profile>
  216. <id>doclint-java8-all-but-missing</id>
  217. <activation>
  218. <jdk>[1.8,)</jdk>
  219. </activation>
  220. <build>
  221. <plugins>
  222. <plugin>
  223. <groupId>org.apache.maven.plugins</groupId>
  224. <artifactId>maven-javadoc-plugin</artifactId>
  225. <version>3.1.0</version>
  226. <configuration>
  227. <doclint>all</doclint>
  228. <doclint>-missing</doclint>
  229. </configuration>
  230. </plugin>
  231. </plugins>
  232. </build>
  233. </profile>
  234. </profiles>
  235. <scm>
  236. <connection>scm:git:git@github.com:juven/git-demo.git</connection>
  237. <developerConnection>scm:git:git@github.com:juven/git-demo.git
  238. </developerConnection>
  239. <url>git@github.com:juven/git-demo.git</url>
  240. </scm>
  241. <!--Note: site URL repeated here to ensure correct deployment path-->
  242. <distributionManagement>
  243. <!--
  244. The server id here defined must also appear in ~/.m2/settings.xml with username
  245. -->
  246. <repository>
  247. <id>sourceforge-releases</id>
  248. <name>Sourceforge Release Repository</name>
  249. <url>http://oss.sonatype.org/service/local/staging/deploy/maven2</url>
  250. </repository>
  251. <snapshotRepository>
  252. <id>sourceforge-snapshots</id>
  253. <name>Sourceforge Snapshot Repository</name>
  254. <url>http://oss.sonatype.org/content/repositories/sourceforge-snapshots</url>
  255. </snapshotRepository>
  256. </distributionManagement>
  257. <reporting>
  258. <plugins>
  259. <plugin>
  260. <groupId>org.apache.maven.plugins</groupId>
  261. <artifactId>maven-project-info-reports-plugin</artifactId>
  262. <version>2.6</version>
  263. <reportSets>
  264. <reportSet>
  265. <reports><!-- select reports -->
  266. <!--<report>index</report>-->
  267. </reports>
  268. </reportSet>
  269. </reportSets>
  270. </plugin>
  271. <!--Use mvn compile site to generate this-->
  272. <plugin>
  273. <groupId>org.codehaus.mojo</groupId>
  274. <artifactId>findbugs-maven-plugin</artifactId>
  275. <version>3.0.5</version>
  276. <configuration>
  277. <effort>Max</effort>
  278. <threshold>Low</threshold>
  279. <excludeFilterFile>${basedir}/findbugs/findbugs-exclude.xml
  280. </excludeFilterFile>
  281. </configuration>
  282. </plugin>
  283. <plugin>
  284. <groupId>org.apache.maven.plugins</groupId>
  285. <artifactId>maven-jxr-plugin</artifactId>
  286. <version>2.5</version>
  287. </plugin>
  288. </plugins>
  289. </reporting>
  290. </project>