Common utilities
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

376 regels
14 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. (c) Copyright 2013-2015 Jonathan Cobb
  4. cobbzilla-utils is available under the Apache License, version 2: http://www.apache.org/licenses/LICENSE-2.0.html
  5. -->
  6. <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">
  7. <modelVersion>4.0.0</modelVersion>
  8. <parent>
  9. <groupId>org.cobbzilla</groupId>
  10. <artifactId>cobbzilla-parent</artifactId>
  11. <version>1.0.0-SNAPSHOT</version>
  12. </parent>
  13. <artifactId>cobbzilla-utils</artifactId>
  14. <name>cobbzilla-utils</name>
  15. <version>1.0.0-SNAPSHOT</version>
  16. <packaging>jar</packaging>
  17. <licenses>
  18. <license>
  19. <name>The Apache Software License, Version 2.0</name>
  20. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  21. <distribution>repo</distribution>
  22. </license>
  23. </licenses>
  24. <profiles>
  25. <profile>
  26. <id>uberjar</id>
  27. <build>
  28. <plugins>
  29. <plugin>
  30. <groupId>org.apache.maven.plugins</groupId>
  31. <artifactId>maven-shade-plugin</artifactId>
  32. <version>2.1</version>
  33. <configuration>
  34. <finalName>zilla-utils</finalName>
  35. </configuration>
  36. <executions>
  37. <execution>
  38. <phase>package</phase>
  39. <goals>
  40. <goal>shade</goal>
  41. </goals>
  42. <configuration>
  43. <transformers>
  44. <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  45. <mainClass>org.cobbzilla.util.main.IndexMain</mainClass>
  46. </transformer>
  47. </transformers>
  48. <!-- Exclude signed jars to avoid errors
  49. see: http://stackoverflow.com/a/6743609/1251543
  50. -->
  51. <filters>
  52. <filter>
  53. <artifact>*:*</artifact>
  54. <excludes>
  55. <exclude>META-INF/*.SF</exclude>
  56. <exclude>META-INF/*.DSA</exclude>
  57. <exclude>META-INF/*.RSA</exclude>
  58. </excludes>
  59. </filter>
  60. </filters>
  61. </configuration>
  62. </execution>
  63. </executions>
  64. </plugin>
  65. </plugins>
  66. </build>
  67. </profile>
  68. </profiles>
  69. <dependencies>
  70. <!-- https://mvnrepository.com/artifact/org.graalvm.js/js -->
  71. <dependency>
  72. <groupId>org.graalvm.js</groupId>
  73. <artifactId>js</artifactId>
  74. <version>19.2.0</version>
  75. </dependency>
  76. <!-- https://mvnrepository.com/artifact/org.graalvm.js/js-scriptengine -->
  77. <dependency>
  78. <groupId>org.graalvm.js</groupId>
  79. <artifactId>js-scriptengine</artifactId>
  80. <version>19.2.0</version>
  81. </dependency>
  82. <!-- https://mvnrepository.com/artifact/org.graalvm.truffle/truffle-api -->
  83. <dependency>
  84. <groupId>org.graalvm.truffle</groupId>
  85. <artifactId>truffle-api</artifactId>
  86. <version>19.2.0</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>com.fasterxml.jackson.core</groupId>
  90. <artifactId>jackson-core</artifactId>
  91. <version>${jackson.version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.fasterxml.jackson.core</groupId>
  95. <artifactId>jackson-annotations</artifactId>
  96. <version>${jackson.version}</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.fasterxml.jackson.core</groupId>
  100. <artifactId>jackson-databind</artifactId>
  101. <version>${jackson.version}</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>com.fasterxml.jackson.dataformat</groupId>
  105. <artifactId>jackson-dataformat-xml</artifactId>
  106. <version>${jackson.version}</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>commons-beanutils</groupId>
  110. <artifactId>commons-beanutils</artifactId>
  111. <version>${commons-beanutils.version}</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.apache.commons</groupId>
  115. <artifactId>commons-collections4</artifactId>
  116. <version>${commons-collections.version}</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.apache.commons</groupId>
  120. <artifactId>commons-lang3</artifactId>
  121. <version>${commons-lang3.version}</version>
  122. </dependency>
  123. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-text -->
  124. <dependency>
  125. <groupId>org.apache.commons</groupId>
  126. <artifactId>commons-text</artifactId>
  127. <version>1.7</version>
  128. </dependency>
  129. <!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml -->
  130. <dependency>
  131. <groupId>org.apache.poi</groupId>
  132. <artifactId>poi-ooxml</artifactId>
  133. <version>4.1.1</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.apache.ant</groupId>
  137. <artifactId>ant</artifactId>
  138. <version>${ant.version}</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>commons-io</groupId>
  142. <artifactId>commons-io</artifactId>
  143. <version>${commons-io.version}</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.apache.commons</groupId>
  147. <artifactId>commons-compress</artifactId>
  148. <version>${commons-compress.version}</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.apache.commons</groupId>
  152. <artifactId>commons-exec</artifactId>
  153. <version>${commons-exec.version}</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.apache.httpcomponents</groupId>
  157. <artifactId>httpcore</artifactId>
  158. <version>${httpcore.version}</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.apache.httpcomponents</groupId>
  162. <artifactId>httpclient</artifactId>
  163. <version>${httpclient.version}</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.apache.httpcomponents</groupId>
  167. <artifactId>httpmime</artifactId>
  168. <version>${httpmime.version}</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>com.google.guava</groupId>
  172. <artifactId>guava</artifactId>
  173. <version>${guava.version}</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>joda-time</groupId>
  177. <artifactId>joda-time</artifactId>
  178. <version>${joda-time.version}</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>com.github.jknack</groupId>
  182. <artifactId>handlebars</artifactId>
  183. <version>${handlebars.version}</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>com.github.jknack</groupId>
  187. <artifactId>handlebars-jackson2</artifactId>
  188. <version>${handlebars.version}</version>
  189. </dependency>
  190. <dependency>
  191. <groupId>org.slf4j</groupId>
  192. <artifactId>slf4j-api</artifactId>
  193. <version>${slf4j.version}</version>
  194. </dependency>
  195. <dependency>
  196. <groupId>org.slf4j</groupId>
  197. <artifactId>jul-to-slf4j</artifactId>
  198. <version>${slf4j.version}</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>ch.qos.logback</groupId>
  202. <artifactId>logback-classic</artifactId>
  203. <version>${logback.version}</version>
  204. </dependency>
  205. <dependency>
  206. <groupId>org.quartz-scheduler</groupId>
  207. <artifactId>quartz</artifactId>
  208. <version>${quartz.version}</version>
  209. <exclusions>
  210. <exclusion>
  211. <groupId>c3p0</groupId>
  212. <artifactId>c3p0</artifactId>
  213. </exclusion>
  214. </exclusions>
  215. </dependency>
  216. <dependency>
  217. <groupId>org.quartz-scheduler</groupId>
  218. <artifactId>quartz-jobs</artifactId>
  219. <version>${quartz.version}</version>
  220. </dependency>
  221. <!-- auto-generate java boilerplate -->
  222. <dependency>
  223. <groupId>org.projectlombok</groupId>
  224. <artifactId>lombok</artifactId>
  225. <version>${lombok.version}</version>
  226. <scope>compile</scope>
  227. </dependency>
  228. <!--<dependency>-->
  229. <!--<groupId>org.projectlombok</groupId>-->
  230. <!--<artifactId>lombok-maven-plugin</artifactId>-->
  231. <!--<version>1.18.0.0</version>-->
  232. <!--&lt;!&ndash;<scope>compile</scope>&ndash;&gt;-->
  233. <!--</dependency>-->
  234. <!-- HTML/XPath utilities -->
  235. <dependency>
  236. <groupId>jtidy</groupId>
  237. <artifactId>jtidy</artifactId>
  238. <version>${jtidy.version}</version>
  239. </dependency>
  240. <dependency>
  241. <groupId>xalan</groupId>
  242. <artifactId>xalan</artifactId>
  243. <version>${xalan.version}</version>
  244. </dependency>
  245. <dependency>
  246. <groupId>net.sf.saxon</groupId>
  247. <artifactId>Saxon-HE</artifactId>
  248. <version>9.7.0-10</version>
  249. </dependency>
  250. <dependency>
  251. <groupId>args4j</groupId>
  252. <artifactId>args4j</artifactId>
  253. <version>${args4j.version}</version>
  254. </dependency>
  255. <dependency>
  256. <groupId>net.java.dev.jna</groupId>
  257. <artifactId>jna</artifactId>
  258. <version>4.1.0</version>
  259. </dependency>
  260. <!-- web/html screenshots -->
  261. <dependency>
  262. <groupId>com.codeborne</groupId>
  263. <artifactId>phantomjsdriver</artifactId>
  264. <!-- upgrading to 1.4.x breaks cglib for some reason -->
  265. <!-- we should switch to headless-chrome, phantomjs has been deprecated -->
  266. <version>1.3.0</version>
  267. </dependency>
  268. <!-- merge word doc templates -->
  269. <dependency>
  270. <groupId>fr.opensagres.xdocreport</groupId>
  271. <artifactId>fr.opensagres.xdocreport.document</artifactId>
  272. <version>${xdocreport.version}</version>
  273. </dependency>
  274. <dependency>
  275. <groupId>fr.opensagres.xdocreport</groupId>
  276. <artifactId>fr.opensagres.xdocreport.template.velocity</artifactId>
  277. <version>${xdocreport.version}</version>
  278. </dependency>
  279. <dependency>
  280. <groupId>fr.opensagres.xdocreport</groupId>
  281. <artifactId>fr.opensagres.xdocreport.document.docx</artifactId>
  282. <version>${xdocreport.version}</version>
  283. </dependency>
  284. <dependency>
  285. <groupId>fr.opensagres.xdocreport</groupId>
  286. <artifactId>fr.opensagres.xdocreport.converter.docx.xwpf</artifactId>
  287. <version>${xdocreport.version}</version>
  288. <exclusions>
  289. <exclusion>
  290. <groupId>fr.opensagres.xdocreport</groupId>
  291. <artifactId>org.apache.poi.xwpf.converter.pdf</artifactId>
  292. </exclusion>
  293. </exclusions>
  294. </dependency>
  295. <dependency>
  296. <groupId>fr.opensagres.xdocreport</groupId>
  297. <artifactId>org.apache.poi.xwpf.converter.pdf.itext5</artifactId>
  298. <version>${xdocreport.version}</version>
  299. </dependency>
  300. <!-- merge PDF templates -->
  301. <dependency>
  302. <groupId>org.apache.pdfbox</groupId>
  303. <artifactId>pdfbox</artifactId>
  304. <version>2.0.16</version>
  305. </dependency>
  306. <!-- merge XML documents -->
  307. <dependency>
  308. <groupId>org.atteo</groupId>
  309. <artifactId>xml-combiner</artifactId>
  310. <version>2.2</version>
  311. </dependency>
  312. <!-- Allows us to embed phantomjs -->
  313. <dependency>
  314. <groupId>io.github.bonigarcia</groupId>
  315. <artifactId>webdrivermanager</artifactId>
  316. <version>2.1.0</version>
  317. </dependency>
  318. <!-- https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk15on -->
  319. <dependency>
  320. <groupId>org.bouncycastle</groupId>
  321. <artifactId>bcprov-jdk15on</artifactId>
  322. <version>1.64</version>
  323. </dependency>
  324. </dependencies>
  325. <build>
  326. <plugins>
  327. <plugin>
  328. <groupId>org.apache.maven.plugins</groupId>
  329. <artifactId>maven-compiler-plugin</artifactId>
  330. <version>2.3.2</version>
  331. <configuration>
  332. <source>11</source>
  333. <target>11</target>
  334. <showWarnings>true</showWarnings>
  335. </configuration>
  336. </plugin>
  337. </plugins>
  338. </build>
  339. </project>