pom.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370
  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.8.0-SNAPSHOT</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.commons</module>
  71. <module>assira.enterprise</module>
  72. </modules>
  73. </profile>
  74. <profile>
  75. <id>jdk8</id>
  76. <modules>
  77. <module>assira.core8</module>
  78. <module>assira.jdk8</module>
  79. </modules>
  80. </profile>
  81. <profile>
  82. <id>jdk11</id>
  83. <modules>
  84. <module>assira.core11</module>
  85. <module>assira.jdk11</module>
  86. <module>assira.lambda</module>
  87. </modules>
  88. </profile>
  89. <profile>
  90. <id>release</id>
  91. <activation>
  92. <activeByDefault>false</activeByDefault>
  93. </activation>
  94. <build>
  95. <plugins>
  96. <plugin>
  97. <groupId>org.apache.maven.plugins</groupId>
  98. <artifactId>maven-source-plugin</artifactId>
  99. <version>2.2.1</version>
  100. <executions>
  101. <execution>
  102. <id>attach-sources</id>
  103. <goals>
  104. <goal>jar-no-fork</goal>
  105. </goals>
  106. </execution>
  107. </executions>
  108. </plugin>
  109. <plugin>
  110. <groupId>org.apache.maven.plugins</groupId>
  111. <artifactId>maven-javadoc-plugin</artifactId>
  112. <version>3.3.1</version>
  113. <executions>
  114. <execution>
  115. <id>attach-javadocs</id>
  116. <goals>
  117. <goal>jar</goal>
  118. </goals>
  119. </execution>
  120. </executions>
  121. <configuration>
  122. <version>true</version>
  123. <show>public</show>
  124. <doclint>none</doclint>
  125. </configuration>
  126. </plugin>
  127. <plugin>
  128. <groupId>org.apache.maven.plugins</groupId>
  129. <artifactId>maven-gpg-plugin</artifactId>
  130. <version>1.5</version>
  131. <executions>
  132. <execution>
  133. <id>sign-artifacts</id>
  134. <phase>verify</phase>
  135. <goals>
  136. <goal>sign</goal>
  137. </goals>
  138. </execution>
  139. </executions>
  140. </plugin>
  141. </plugins>
  142. </build>
  143. </profile>
  144. </profiles>
  145. <build>
  146. <extensions>
  147. <extension>
  148. <groupId>org.apache.maven.wagon</groupId>
  149. <artifactId>wagon-ftp</artifactId>
  150. <version>1.0</version>
  151. </extension>
  152. </extensions>
  153. <plugins>
  154. <plugin>
  155. <groupId>org.apache.maven.plugins</groupId>
  156. <artifactId>maven-compiler-plugin</artifactId>
  157. <version>3.8.1</version>
  158. <configuration>
  159. <source>${maven.compiler.source}</source>
  160. <target>${maven.compiler.target}</target>
  161. <compilerArgument>-Xlint:unchecked</compilerArgument>
  162. <compilerArgument>-parameters</compilerArgument>
  163. </configuration>
  164. </plugin>
  165. <plugin>
  166. <groupId>org.apache.maven.plugins</groupId>
  167. <artifactId>maven-pmd-plugin</artifactId>
  168. <version>3.5</version>
  169. <configuration>
  170. <rulesets>
  171. <ruleset>rulesets/java/assira.xml</ruleset>
  172. </rulesets>
  173. </configuration>
  174. <dependencies>
  175. <dependency>
  176. <groupId>net.ranides</groupId>
  177. <artifactId>assira.rules</artifactId>
  178. <version>${project.version}</version>
  179. </dependency>
  180. </dependencies>
  181. </plugin>
  182. <plugin>
  183. <groupId>org.jacoco</groupId>
  184. <artifactId>jacoco-maven-plugin</artifactId>
  185. <version>0.8.4</version>
  186. <executions>
  187. <execution>
  188. <id>default-prepare-agent</id>
  189. <goals>
  190. <goal>prepare-agent</goal>
  191. </goals>
  192. </execution>
  193. <execution>
  194. <id>default-report</id>
  195. <goals>
  196. <goal>report</goal>
  197. </goals>
  198. </execution>
  199. </executions>
  200. </plugin>
  201. <plugin>
  202. <groupId>org.apache.maven.plugins</groupId>
  203. <artifactId>maven-surefire-plugin</artifactId>
  204. <version>2.19.1</version>
  205. <configuration>
  206. <systemPropertyVariables>
  207. <assira.junit.debug>${assira.junit.debug}</assira.junit.debug>
  208. <assira.version>${project.version}</assira.version>
  209. <assira.junit.log>${assira.junit.log}</assira.junit.log>
  210. </systemPropertyVariables>
  211. <testFailureIgnore>false</testFailureIgnore>
  212. <skip>false</skip>
  213. </configuration>
  214. </plugin>
  215. <plugin>
  216. <groupId>org.apache.maven.plugins</groupId>
  217. <artifactId>maven-jxr-plugin</artifactId>
  218. <version>2.3</version>
  219. </plugin>
  220. </plugins>
  221. </build>
  222. <reporting>
  223. <plugins>
  224. <plugin>
  225. <groupId>org.apache.maven.plugins</groupId>
  226. <artifactId>maven-javadoc-plugin</artifactId>
  227. <version>2.9</version>
  228. </plugin>
  229. <plugin>
  230. <groupId>org.apache.maven.plugins</groupId>
  231. <artifactId>maven-jxr-plugin</artifactId>
  232. <version>2.3</version>
  233. </plugin>
  234. </plugins>
  235. </reporting>
  236. <dependencyManagement>
  237. <dependencies>
  238. <dependency>
  239. <groupId>net.ranides</groupId>
  240. <artifactId>assira.core</artifactId>
  241. <version>${project.version}</version>
  242. <type>jar</type>
  243. </dependency>
  244. <dependency>
  245. <groupId>net.ranides</groupId>
  246. <artifactId>assira.core</artifactId>
  247. <version>${project.version}</version>
  248. <type>test-jar</type>
  249. <scope>test</scope>
  250. </dependency>
  251. <dependency>
  252. <groupId>net.ranides</groupId>
  253. <artifactId>assira.core8</artifactId>
  254. <version>${project.version}</version>
  255. </dependency>
  256. <dependency>
  257. <groupId>net.ranides</groupId>
  258. <artifactId>assira.core11</artifactId>
  259. <version>${project.version}</version>
  260. </dependency>
  261. <dependency>
  262. <groupId>net.ranides</groupId>
  263. <artifactId>assira.asm</artifactId>
  264. <version>7.2</version>
  265. </dependency>
  266. <dependency>
  267. <groupId>net.ranides</groupId>
  268. <artifactId>assira.jdk8</artifactId>
  269. <version>${project.version}</version>
  270. <scope>runtime</scope>
  271. </dependency>
  272. <dependency>
  273. <groupId>net.ranides</groupId>
  274. <artifactId>assira.jdk11</artifactId>
  275. <version>${project.version}</version>
  276. <scope>runtime</scope>
  277. </dependency>
  278. <dependency>
  279. <groupId>net.ranides</groupId>
  280. <artifactId>assira.junit</artifactId>
  281. <version>${project.version}</version>
  282. <scope>test</scope>
  283. </dependency>
  284. <dependency>
  285. <groupId>net.ranides</groupId>
  286. <artifactId>assira.lambda</artifactId>
  287. <version>${project.version}</version>
  288. </dependency>
  289. <dependency>
  290. <groupId>junit</groupId>
  291. <artifactId>junit</artifactId>
  292. <version>4.12</version>
  293. <scope>test</scope>
  294. </dependency>
  295. <dependency>
  296. <groupId>org.slf4j</groupId>
  297. <artifactId>slf4j-api</artifactId>
  298. <version>1.7.13</version>
  299. </dependency>
  300. <dependency>
  301. <groupId>org.slf4j</groupId>
  302. <artifactId>slf4j-simple</artifactId>
  303. <version>1.7.13</version>
  304. <scope>test</scope>
  305. </dependency>
  306. <dependency>
  307. <groupId>net.sourceforge.pmd</groupId>
  308. <artifactId>pmd-java</artifactId>
  309. <version>5.3.3</version>
  310. </dependency>
  311. <dependency>
  312. <groupId>com.google.code.findbugs</groupId>
  313. <artifactId>annotations</artifactId>
  314. <version>3.0.1u2</version>
  315. <scope>provided</scope>
  316. </dependency>
  317. <dependency>
  318. <groupId>com.fasterxml.jackson.core</groupId>
  319. <artifactId>jackson-core</artifactId>
  320. <version>2.13.0</version>
  321. </dependency>
  322. <dependency>
  323. <groupId>com.fasterxml.jackson.core</groupId>
  324. <artifactId>jackson-databind</artifactId>
  325. <version>2.13.0</version>
  326. </dependency>
  327. <dependency>
  328. <groupId>com.fasterxml.jackson.datatype</groupId>
  329. <artifactId>jackson-datatype-json-org</artifactId>
  330. <version>2.13.0</version>
  331. </dependency>
  332. <dependency>
  333. <groupId>com.fasterxml.jackson.datatype</groupId>
  334. <artifactId>jackson-datatype-jsr310</artifactId>
  335. <version>2.13.0</version>
  336. </dependency>
  337. <dependency>
  338. <groupId>se.fishtank</groupId>
  339. <artifactId>css-selectors</artifactId>
  340. <version>2.0</version>
  341. </dependency>
  342. <dependency>
  343. <groupId>io.jsonwebtoken</groupId>
  344. <artifactId>jjwt</artifactId>
  345. <version>0.9.0</version>
  346. </dependency>
  347. <dependency>
  348. <groupId>org.projectlombok</groupId>
  349. <artifactId>lombok</artifactId>
  350. <version>1.18.20</version>
  351. <scope>provided</scope>
  352. </dependency>
  353. </dependencies>
  354. </dependencyManagement>
  355. </project>