pom.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>net.ranides</groupId>
  5. <artifactId>assira.project</artifactId>
  6. <version>2.7.2</version>
  7. <packaging>pom</packaging>
  8. <name>${project.groupId}:${project.artifactId}</name>
  9. <description>assira: general purpose java library.</description>
  10. <url>http://ranides.net/projects/assira</url>
  11. <developers>
  12. <developer>
  13. <name>Ranides Atterwim</name>
  14. <email>ranides@gmail.com</email>
  15. <organization>ranides.net</organization>
  16. <organizationUrl>https://ranides.net</organizationUrl>
  17. </developer>
  18. </developers>
  19. <licenses>
  20. <license>
  21. <name>WTFPL</name>
  22. <url>http://www.wtfpl.net</url>
  23. </license>
  24. </licenses>
  25. <scm>
  26. <connection>scm:git:https://git.ranides.net/projects/assira.git</connection>
  27. <developerConnection>scm:git:https://git.ranides.net/projects/assira.git</developerConnection>
  28. <url>https://git.ranides.net/projects/assira</url>
  29. </scm>
  30. <distributionManagement>
  31. <snapshotRepository>
  32. <id>ossrh</id>
  33. <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
  34. </snapshotRepository>
  35. <repository>
  36. <id>ossrh</id>
  37. <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  38. </repository>
  39. </distributionManagement>
  40. <properties>
  41. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  42. <maven.compiler.source>1.8</maven.compiler.source>
  43. <maven.compiler.target>1.8</maven.compiler.target>
  44. <netbeans.hint.license>WTFPL</netbeans.hint.license>
  45. <assira.junit.debug>false</assira.junit.debug>
  46. <assira.junit.log>debug</assira.junit.log>
  47. <org-netbeans-modules-editor-indent.CodeStyle.project.text-line-wrap>none</org-netbeans-modules-editor-indent.CodeStyle.project.text-line-wrap>
  48. <org-netbeans-modules-editor-indent.CodeStyle.project.indent-shift-width>4</org-netbeans-modules-editor-indent.CodeStyle.project.indent-shift-width>
  49. <org-netbeans-modules-editor-indent.CodeStyle.project.spaces-per-tab>4</org-netbeans-modules-editor-indent.CodeStyle.project.spaces-per-tab>
  50. <org-netbeans-modules-editor-indent.CodeStyle.project.tab-size>4</org-netbeans-modules-editor-indent.CodeStyle.project.tab-size>
  51. <org-netbeans-modules-editor-indent.CodeStyle.project.text-limit-width>120</org-netbeans-modules-editor-indent.CodeStyle.project.text-limit-width>
  52. <org-netbeans-modules-editor-indent.CodeStyle.project.expand-tabs>true</org-netbeans-modules-editor-indent.CodeStyle.project.expand-tabs>
  53. <org-netbeans-modules-editor-indent.CodeStyle.usedProfile>project</org-netbeans-modules-editor-indent.CodeStyle.usedProfile>
  54. </properties>
  55. <modules>
  56. </modules>
  57. <profiles>
  58. <profile>
  59. <id>asm</id>
  60. <modules>
  61. <module>assira.asm</module>
  62. </modules>
  63. </profile>
  64. <profile>
  65. <id>common</id>
  66. <modules>
  67. <module>assira.junit</module>
  68. <module>assira.test</module>
  69. <module>assira.core</module>
  70. <module>assira.enterprise</module>
  71. </modules>
  72. </profile>
  73. <profile>
  74. <id>jdk8</id>
  75. <modules>
  76. <module>assira.core8</module>
  77. <module>assira.jdk8</module>
  78. </modules>
  79. </profile>
  80. <profile>
  81. <id>jdk11</id>
  82. <modules>
  83. <module>assira.core11</module>
  84. <module>assira.jdk11</module>
  85. <module>assira.lambda</module>
  86. </modules>
  87. </profile>
  88. <profile>
  89. <id>release</id>
  90. <activation>
  91. <activeByDefault>false</activeByDefault>
  92. </activation>
  93. <build>
  94. <plugins>
  95. <plugin>
  96. <groupId>org.apache.maven.plugins</groupId>
  97. <artifactId>maven-source-plugin</artifactId>
  98. <version>2.2.1</version>
  99. <executions>
  100. <execution>
  101. <id>attach-sources</id>
  102. <goals>
  103. <goal>jar-no-fork</goal>
  104. </goals>
  105. </execution>
  106. </executions>
  107. </plugin>
  108. <plugin>
  109. <groupId>org.apache.maven.plugins</groupId>
  110. <artifactId>maven-javadoc-plugin</artifactId>
  111. <version>3.3.1</version>
  112. <executions>
  113. <execution>
  114. <id>attach-javadocs</id>
  115. <goals>
  116. <goal>jar</goal>
  117. </goals>
  118. </execution>
  119. </executions>
  120. <configuration>
  121. <version>true</version>
  122. <show>public</show>
  123. <doclint>none</doclint>
  124. </configuration>
  125. </plugin>
  126. <plugin>
  127. <groupId>org.apache.maven.plugins</groupId>
  128. <artifactId>maven-gpg-plugin</artifactId>
  129. <version>1.5</version>
  130. <executions>
  131. <execution>
  132. <id>sign-artifacts</id>
  133. <phase>verify</phase>
  134. <goals>
  135. <goal>sign</goal>
  136. </goals>
  137. </execution>
  138. </executions>
  139. </plugin>
  140. </plugins>
  141. </build>
  142. </profile>
  143. </profiles>
  144. <build>
  145. <extensions>
  146. <extension>
  147. <groupId>org.apache.maven.wagon</groupId>
  148. <artifactId>wagon-ftp</artifactId>
  149. <version>1.0</version>
  150. </extension>
  151. </extensions>
  152. <plugins>
  153. <plugin>
  154. <groupId>org.apache.maven.plugins</groupId>
  155. <artifactId>maven-compiler-plugin</artifactId>
  156. <version>3.8.1</version>
  157. <configuration>
  158. <source>${maven.compiler.source}</source>
  159. <target>${maven.compiler.target}</target>
  160. <compilerArgument>-Xlint:unchecked</compilerArgument>
  161. <compilerArgument>-parameters</compilerArgument>
  162. </configuration>
  163. </plugin>
  164. <plugin>
  165. <groupId>org.apache.maven.plugins</groupId>
  166. <artifactId>maven-pmd-plugin</artifactId>
  167. <version>3.5</version>
  168. <configuration>
  169. <rulesets>
  170. <ruleset>rulesets/java/assira.xml</ruleset>
  171. </rulesets>
  172. </configuration>
  173. <dependencies>
  174. <dependency>
  175. <groupId>net.ranides</groupId>
  176. <artifactId>assira.rules</artifactId>
  177. <version>${project.version}</version>
  178. </dependency>
  179. </dependencies>
  180. </plugin>
  181. <plugin>
  182. <groupId>org.jacoco</groupId>
  183. <artifactId>jacoco-maven-plugin</artifactId>
  184. <version>0.8.4</version>
  185. <executions>
  186. <execution>
  187. <id>default-prepare-agent</id>
  188. <goals>
  189. <goal>prepare-agent</goal>
  190. </goals>
  191. </execution>
  192. <execution>
  193. <id>default-report</id>
  194. <goals>
  195. <goal>report</goal>
  196. </goals>
  197. </execution>
  198. </executions>
  199. </plugin>
  200. <plugin>
  201. <groupId>org.apache.maven.plugins</groupId>
  202. <artifactId>maven-surefire-plugin</artifactId>
  203. <version>2.19.1</version>
  204. <configuration>
  205. <systemPropertyVariables>
  206. <assira.junit.debug>${assira.junit.debug}</assira.junit.debug>
  207. <assira.version>${project.version}</assira.version>
  208. <assira.junit.log>${assira.junit.log}</assira.junit.log>
  209. </systemPropertyVariables>
  210. <testFailureIgnore>false</testFailureIgnore>
  211. <skip>false</skip>
  212. </configuration>
  213. </plugin>
  214. <plugin>
  215. <groupId>org.apache.maven.plugins</groupId>
  216. <artifactId>maven-jxr-plugin</artifactId>
  217. <version>2.3</version>
  218. </plugin>
  219. </plugins>
  220. </build>
  221. <reporting>
  222. <plugins>
  223. <plugin>
  224. <groupId>org.apache.maven.plugins</groupId>
  225. <artifactId>maven-javadoc-plugin</artifactId>
  226. <version>2.9</version>
  227. </plugin>
  228. <plugin>
  229. <groupId>org.apache.maven.plugins</groupId>
  230. <artifactId>maven-jxr-plugin</artifactId>
  231. <version>2.3</version>
  232. </plugin>
  233. </plugins>
  234. </reporting>
  235. <dependencyManagement>
  236. <dependencies>
  237. <dependency>
  238. <groupId>net.ranides</groupId>
  239. <artifactId>assira.core</artifactId>
  240. <version>${project.version}</version>
  241. </dependency>
  242. <dependency>
  243. <groupId>net.ranides</groupId>
  244. <artifactId>assira.core8</artifactId>
  245. <version>${project.version}</version>
  246. </dependency>
  247. <dependency>
  248. <groupId>net.ranides</groupId>
  249. <artifactId>assira.core11</artifactId>
  250. <version>${project.version}</version>
  251. </dependency>
  252. <dependency>
  253. <groupId>net.ranides</groupId>
  254. <artifactId>assira.asm</artifactId>
  255. <version>7.2</version>
  256. </dependency>
  257. <dependency>
  258. <groupId>net.ranides</groupId>
  259. <artifactId>assira.jdk8</artifactId>
  260. <version>${project.version}</version>
  261. <scope>runtime</scope>
  262. </dependency>
  263. <dependency>
  264. <groupId>net.ranides</groupId>
  265. <artifactId>assira.jdk11</artifactId>
  266. <version>${project.version}</version>
  267. <scope>runtime</scope>
  268. </dependency>
  269. <dependency>
  270. <groupId>net.ranides</groupId>
  271. <artifactId>assira.junit</artifactId>
  272. <version>${project.version}</version>
  273. <scope>test</scope>
  274. </dependency>
  275. <dependency>
  276. <groupId>net.ranides</groupId>
  277. <artifactId>assira.lambda</artifactId>
  278. <version>${project.version}</version>
  279. </dependency>
  280. <dependency>
  281. <groupId>junit</groupId>
  282. <artifactId>junit</artifactId>
  283. <version>4.12</version>
  284. <scope>test</scope>
  285. </dependency>
  286. <dependency>
  287. <groupId>org.slf4j</groupId>
  288. <artifactId>slf4j-api</artifactId>
  289. <version>1.7.13</version>
  290. </dependency>
  291. <dependency>
  292. <groupId>org.slf4j</groupId>
  293. <artifactId>slf4j-simple</artifactId>
  294. <version>1.7.13</version>
  295. <scope>test</scope>
  296. </dependency>
  297. <dependency>
  298. <groupId>net.sourceforge.pmd</groupId>
  299. <artifactId>pmd-java</artifactId>
  300. <version>5.3.3</version>
  301. </dependency>
  302. <dependency>
  303. <groupId>com.google.code.findbugs</groupId>
  304. <artifactId>annotations</artifactId>
  305. <version>3.0.1u2</version>
  306. <scope>provided</scope>
  307. </dependency>
  308. <dependency>
  309. <groupId>com.fasterxml.jackson.core</groupId>
  310. <artifactId>jackson-core</artifactId>
  311. <version>2.9.9</version>
  312. </dependency>
  313. <dependency>
  314. <groupId>com.fasterxml.jackson.core</groupId>
  315. <artifactId>jackson-databind</artifactId>
  316. <version>2.9.9.3</version>
  317. </dependency>
  318. <dependency>
  319. <groupId>com.fasterxml.jackson.datatype</groupId>
  320. <artifactId>jackson-datatype-json-org</artifactId>
  321. <version>2.9.9</version>
  322. </dependency>
  323. <dependency>
  324. <groupId>com.fasterxml.jackson.datatype</groupId>
  325. <artifactId>jackson-datatype-jsr310</artifactId>
  326. <version>2.9.9</version>
  327. </dependency>
  328. <dependency>
  329. <groupId>se.fishtank</groupId>
  330. <artifactId>css-selectors</artifactId>
  331. <version>2.0</version>
  332. </dependency>
  333. <dependency>
  334. <groupId>io.jsonwebtoken</groupId>
  335. <artifactId>jjwt</artifactId>
  336. <version>0.9.0</version>
  337. </dependency>
  338. <dependency>
  339. <groupId>org.projectlombok</groupId>
  340. <artifactId>lombok</artifactId>
  341. <version>1.18.20</version>
  342. <scope>provided</scope>
  343. </dependency>
  344. </dependencies>
  345. </dependencyManagement>
  346. </project>