Common utilities
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

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