pom.xml 14 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.7.0</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. <assira.version>2.7.0</assira.version>
  42. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  43. <maven.compiler.source>1.8</maven.compiler.source>
  44. <maven.compiler.target>1.8</maven.compiler.target>
  45. <netbeans.hint.license>WTFPL</netbeans.hint.license>
  46. <assira.junit.debug>false</assira.junit.debug>
  47. <assira.junit.log>debug</assira.junit.log>
  48. <org-netbeans-modules-editor-indent.CodeStyle.project.text-line-wrap>none</org-netbeans-modules-editor-indent.CodeStyle.project.text-line-wrap>
  49. <org-netbeans-modules-editor-indent.CodeStyle.project.indent-shift-width>4</org-netbeans-modules-editor-indent.CodeStyle.project.indent-shift-width>
  50. <org-netbeans-modules-editor-indent.CodeStyle.project.spaces-per-tab>4</org-netbeans-modules-editor-indent.CodeStyle.project.spaces-per-tab>
  51. <org-netbeans-modules-editor-indent.CodeStyle.project.tab-size>4</org-netbeans-modules-editor-indent.CodeStyle.project.tab-size>
  52. <org-netbeans-modules-editor-indent.CodeStyle.project.text-limit-width>120</org-netbeans-modules-editor-indent.CodeStyle.project.text-limit-width>
  53. <org-netbeans-modules-editor-indent.CodeStyle.project.expand-tabs>true</org-netbeans-modules-editor-indent.CodeStyle.project.expand-tabs>
  54. <org-netbeans-modules-editor-indent.CodeStyle.usedProfile>project</org-netbeans-modules-editor-indent.CodeStyle.usedProfile>
  55. </properties>
  56. <modules>
  57. </modules>
  58. <profiles>
  59. <profile>
  60. <id>asm</id>
  61. <modules>
  62. <module>assira.asm</module>
  63. </modules>
  64. </profile>
  65. <profile>
  66. <id>common</id>
  67. <modules>
  68. <module>assira.junit</module>
  69. <module>assira.rules</module>
  70. <module>assira.rules.test</module>
  71. <module>assira.test</module>
  72. <module>assira.core</module>
  73. <module>assira.enterprise</module>
  74. </modules>
  75. </profile>
  76. <profile>
  77. <id>jdk8</id>
  78. <activation>
  79. <jdk>1.8</jdk>
  80. </activation>
  81. <modules>
  82. <module>assira.core8</module>
  83. <module>assira.jdk8</module>
  84. </modules>
  85. </profile>
  86. <profile>
  87. <id>jdk11</id>
  88. <activation>
  89. <jdk>11</jdk>
  90. </activation>
  91. <modules>
  92. <module>assira.core11</module>
  93. <module>assira.jdk11</module>
  94. <module>assira.lambda</module>
  95. </modules>
  96. </profile>
  97. <profile>
  98. <id>release</id>
  99. <activation>
  100. <activeByDefault>false</activeByDefault>
  101. </activation>
  102. <build>
  103. <plugins>
  104. <plugin>
  105. <groupId>org.apache.maven.plugins</groupId>
  106. <artifactId>maven-source-plugin</artifactId>
  107. <version>2.2.1</version>
  108. <executions>
  109. <execution>
  110. <id>attach-sources</id>
  111. <goals>
  112. <goal>jar-no-fork</goal>
  113. </goals>
  114. </execution>
  115. </executions>
  116. </plugin>
  117. <plugin>
  118. <groupId>org.apache.maven.plugins</groupId>
  119. <artifactId>maven-javadoc-plugin</artifactId>
  120. <version>3.3.1</version>
  121. <executions>
  122. <execution>
  123. <id>attach-javadocs</id>
  124. <goals>
  125. <goal>jar</goal>
  126. </goals>
  127. </execution>
  128. </executions>
  129. <configuration>
  130. <version>true</version>
  131. <show>public</show>
  132. <doclint>none</doclint>
  133. </configuration>
  134. </plugin>
  135. <plugin>
  136. <groupId>org.apache.maven.plugins</groupId>
  137. <artifactId>maven-gpg-plugin</artifactId>
  138. <version>1.5</version>
  139. <executions>
  140. <execution>
  141. <id>sign-artifacts</id>
  142. <phase>verify</phase>
  143. <goals>
  144. <goal>sign</goal>
  145. </goals>
  146. </execution>
  147. </executions>
  148. </plugin>
  149. </plugins>
  150. </build>
  151. </profile>
  152. </profiles>
  153. <build>
  154. <extensions>
  155. <extension>
  156. <groupId>org.apache.maven.wagon</groupId>
  157. <artifactId>wagon-ftp</artifactId>
  158. <version>1.0</version>
  159. </extension>
  160. </extensions>
  161. <plugins>
  162. <plugin>
  163. <groupId>org.apache.maven.plugins</groupId>
  164. <artifactId>maven-compiler-plugin</artifactId>
  165. <version>3.8.1</version>
  166. <configuration>
  167. <source>${maven.compiler.source}</source>
  168. <target>${maven.compiler.target}</target>
  169. <compilerArgument>-Xlint:unchecked</compilerArgument>
  170. <compilerArgument>-parameters</compilerArgument>
  171. </configuration>
  172. </plugin>
  173. <plugin>
  174. <groupId>org.apache.maven.plugins</groupId>
  175. <artifactId>maven-pmd-plugin</artifactId>
  176. <version>3.5</version>
  177. <configuration>
  178. <rulesets>
  179. <ruleset>rulesets/java/assira.xml</ruleset>
  180. </rulesets>
  181. </configuration>
  182. <dependencies>
  183. <dependency>
  184. <groupId>net.ranides</groupId>
  185. <artifactId>assira.rules</artifactId>
  186. <version>${assira.version}</version>
  187. </dependency>
  188. </dependencies>
  189. </plugin>
  190. <plugin>
  191. <groupId>org.jacoco</groupId>
  192. <artifactId>jacoco-maven-plugin</artifactId>
  193. <version>0.8.4</version>
  194. <executions>
  195. <execution>
  196. <id>default-prepare-agent</id>
  197. <goals>
  198. <goal>prepare-agent</goal>
  199. </goals>
  200. </execution>
  201. <execution>
  202. <id>default-report</id>
  203. <goals>
  204. <goal>report</goal>
  205. </goals>
  206. </execution>
  207. </executions>
  208. </plugin>
  209. <plugin>
  210. <groupId>org.apache.maven.plugins</groupId>
  211. <artifactId>maven-surefire-plugin</artifactId>
  212. <version>2.19.1</version>
  213. <configuration>
  214. <systemPropertyVariables>
  215. <assira.junit.debug>${assira.junit.debug}</assira.junit.debug>
  216. <assira.version>${assira.version}</assira.version>
  217. <assira.junit.log>${assira.junit.log}</assira.junit.log>
  218. </systemPropertyVariables>
  219. <testFailureIgnore>false</testFailureIgnore>
  220. <skip>false</skip>
  221. </configuration>
  222. </plugin>
  223. <plugin>
  224. <groupId>org.apache.maven.plugins</groupId>
  225. <artifactId>maven-jxr-plugin</artifactId>
  226. <version>2.3</version>
  227. </plugin>
  228. </plugins>
  229. </build>
  230. <reporting>
  231. <plugins>
  232. <plugin>
  233. <groupId>org.apache.maven.plugins</groupId>
  234. <artifactId>maven-javadoc-plugin</artifactId>
  235. <version>2.9</version>
  236. </plugin>
  237. <plugin>
  238. <groupId>org.apache.maven.plugins</groupId>
  239. <artifactId>maven-jxr-plugin</artifactId>
  240. <version>2.3</version>
  241. </plugin>
  242. </plugins>
  243. </reporting>
  244. <dependencyManagement>
  245. <dependencies>
  246. <dependency>
  247. <groupId>net.ranides</groupId>
  248. <artifactId>assira.core</artifactId>
  249. <version>${assira.version}</version>
  250. </dependency>
  251. <dependency>
  252. <groupId>net.ranides</groupId>
  253. <artifactId>assira.core8</artifactId>
  254. <version>${assira.version}</version>
  255. </dependency>
  256. <dependency>
  257. <groupId>net.ranides</groupId>
  258. <artifactId>assira.core11</artifactId>
  259. <version>${assira.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>${assira.version}</version>
  270. <scope>runtime</scope>
  271. </dependency>
  272. <dependency>
  273. <groupId>net.ranides</groupId>
  274. <artifactId>assira.jdk11</artifactId>
  275. <version>${assira.version}</version>
  276. <scope>runtime</scope>
  277. </dependency>
  278. <dependency>
  279. <groupId>net.ranides</groupId>
  280. <artifactId>assira.junit</artifactId>
  281. <version>${assira.version}</version>
  282. <scope>test</scope>
  283. </dependency>
  284. <dependency>
  285. <groupId>net.ranides</groupId>
  286. <artifactId>assira.lambda</artifactId>
  287. <version>${assira.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.9.9</version>
  321. </dependency>
  322. <dependency>
  323. <groupId>com.fasterxml.jackson.core</groupId>
  324. <artifactId>jackson-databind</artifactId>
  325. <version>2.9.9.3</version>
  326. </dependency>
  327. <dependency>
  328. <groupId>com.fasterxml.jackson.datatype</groupId>
  329. <artifactId>jackson-datatype-json-org</artifactId>
  330. <version>2.9.9</version>
  331. </dependency>
  332. <dependency>
  333. <groupId>com.fasterxml.jackson.datatype</groupId>
  334. <artifactId>jackson-datatype-jsr310</artifactId>
  335. <version>2.9.9</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>