pom.xml 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. <project
  2. xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
  5. >
  6. <modelVersion>4.0.0</modelVersion>
  7. <groupId>gplx</groupId>
  8. <artifactId>xowa_maven</artifactId>
  9. <packaging>jar</packaging>
  10. <version>0.1</version>
  11. <name>xowa_maven</name>
  12. <url>http://menmachinesmaterials.com</url>
  13. <properties>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <maven.compiler.source>1.8</maven.compiler.source>
  16. <maven.compiler.target>1.8</maven.compiler.target>
  17. </properties>
  18. <dependencies>
  19. <!-- https://mvnrepository.com/artifact/junit/junit -->
  20. <dependency>
  21. <groupId>junit</groupId>
  22. <artifactId>junit</artifactId>
  23. <version>4.11</version>
  24. <scope>test</scope>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.apache.commons</groupId>
  28. <artifactId>commons-compress</artifactId>
  29. <version>1.19</version>
  30. </dependency>
  31. <!-- https://mvnrepository.com/artifact/com.ibm.icu/icu4j -->
  32. <dependency>
  33. <groupId>com.ibm.icu</groupId>
  34. <artifactId>icu4j</artifactId>
  35. <version>63.1</version>
  36. </dependency>
  37. <!-- https://mvnrepository.com/artifact/org.xerial/sqlite-jdbc -->
  38. <dependency>
  39. <groupId>org.xerial</groupId>
  40. <artifactId>sqlite-jdbc</artifactId>
  41. <version>3.18.0</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>xowa</groupId>
  45. <artifactId>jtidy_xowa</artifactId>
  46. <version>r938</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>xowa</groupId>
  50. <artifactId>luaj_xowa</artifactId>
  51. <version>2.0</version>
  52. </dependency>
  53. <!-- https://mvnrepository.com/artifact/com.github.veithen.cosmos.bootstrap/org.tukaani.xz -->
  54. <dependency>
  55. <groupId>com.github.veithen.cosmos.bootstrap</groupId>
  56. <artifactId>org.tukaani.xz</artifactId>
  57. <version>0.3</version>
  58. </dependency>
  59. <!-- https://mvnrepository.com/artifact/org.eclipse.swt/org.eclipse.swt.gtk.linux.x86_64 -->
  60. <dependency>
  61. <groupId>org.eclipse.swt</groupId>
  62. <artifactId>org.eclipse.swt.gtk.linux.x86_64</artifactId>
  63. <version>4.3</version>
  64. </dependency>
  65. <!--hack -->
  66. <dependency>
  67. <groupId>org.apache.lucene</groupId>
  68. <artifactId>lucene-analyzers-common-mobile</artifactId>
  69. <version>5.3.0</version>
  70. </dependency>
  71. <!-- https://mvnrepository.com/artifact/org.apache.lucene/lucene-core -->
  72. <dependency>
  73. <groupId>org.apache.lucene</groupId>
  74. <artifactId>lucene-core-mobile</artifactId>
  75. <version>5.3.0</version>
  76. </dependency>
  77. <!-- https://mvnrepository.com/artifact/org.apache.lucene/lucene-highlighter -->
  78. <dependency>
  79. <groupId>org.apache.lucene</groupId>
  80. <artifactId>lucene-highlighter-mobile</artifactId>
  81. <version>5.3.0</version>
  82. </dependency>
  83. <!-- https://mvnrepository.com/artifact/org.apache.lucene/lucene-memory -->
  84. <dependency>
  85. <groupId>org.apache.lucene</groupId>
  86. <artifactId>lucene-memory-mobile</artifactId>
  87. <version>5.3.0</version>
  88. </dependency>
  89. <!-- https://mvnrepository.com/artifact/org.apache.lucene/lucene-queries -->
  90. <dependency>
  91. <groupId>org.apache.lucene</groupId>
  92. <artifactId>lucene-queries-mobile</artifactId>
  93. <version>5.3.0</version>
  94. </dependency>
  95. <!-- https://mvnrepository.com/artifact/org.apache.lucene/lucene-queryparser -->
  96. <dependency>
  97. <groupId>org.apache.lucene</groupId>
  98. <artifactId>lucene-queryparser-mobile</artifactId>
  99. <version>5.3.0</version>
  100. </dependency>
  101. <!-- https://mvnrepository.com/artifact/nu.validator/validator -->
  102. <dependency>
  103. <groupId>nu.validator</groupId>
  104. <artifactId>validator</artifactId>
  105. <version>18.11.5</version>
  106. </dependency>
  107. <!-- https://mvnrepository.com/artifact/net.sf.saxon/Saxon-HE -->
  108. <dependency>
  109. <groupId>net.sf.saxon</groupId>
  110. <artifactId>Saxon-HE</artifactId>
  111. <version>9.9.1-2</version>
  112. </dependency>
  113. <!-- https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk15on -->
  114. <dependency>
  115. <groupId>org.bouncycastle</groupId>
  116. <artifactId>bcprov-jdk15on</artifactId>
  117. <version>1.64</version>
  118. </dependency>
  119. <!-- https://mvnrepository.com/artifact/org.gnu/gnu-crypto -->
  120. <dependency>
  121. <groupId>org.gnu</groupId>
  122. <artifactId>gnu-crypto</artifactId>
  123. <version>2.0.1</version>
  124. </dependency>
  125. <!--
  126. <dependency>
  127. <groupId>xowa</groupId>
  128. <artifactId>nnio</artifactId>
  129. <version>0.2</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.apache.lucene</groupId>
  133. <artifactId>lucene-core-mobile</artifactId>
  134. <version>5.3.0</version>
  135. </dependency>
  136. -->
  137. <!-- https://mvnrepository.com/artifact/org.json/json
  138. <dependency>
  139. <groupId>org.json</groupId>
  140. <artifactId>json</artifactId>
  141. <version>20180813</version>
  142. </dependency>
  143. -->
  144. </dependencies>
  145. <build>
  146. <plugins>
  147. <plugin>
  148. <groupId>org.apache.maven.plugins</groupId>
  149. <artifactId>maven-antrun-plugin</artifactId>
  150. <version>1.8</version>
  151. <executions>
  152. <execution>
  153. <id>create-jar</id>
  154. <phase>package</phase>
  155. <configuration>
  156. <target>
  157. <property name="compile_classpath" refid="maven.compile.classpath"/>
  158. <property name="runtime_classpath" refid="maven.runtime.classpath"/>
  159. <!-- <property name="test_classpath" refid="maven.test.classpath"/> -->
  160. <property name="plugin_classpath" refid="maven.plugin.classpath"/>
  161. <property name="outputDir" value="${project.build.outputDirectory}" />
  162. <property name="sourceDir" value="${project.build.sourceDirectory}" />
  163. <ant antfile="${basedir}/build.xml">
  164. <target name="create_jar"/>
  165. </ant>
  166. </target>
  167. </configuration>
  168. <goals>
  169. <goal>run</goal>
  170. </goals>
  171. </execution>
  172. </executions>
  173. </plugin>
  174. </plugins>
  175. <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  176. <plugins>
  177. <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
  178. <plugin>
  179. <artifactId>maven-clean-plugin</artifactId>
  180. <version>3.1.0</version>
  181. </plugin>
  182. <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
  183. <plugin>
  184. <artifactId>maven-resources-plugin</artifactId>
  185. <version>3.0.2</version>
  186. </plugin>
  187. <plugin>
  188. <artifactId>maven-compiler-plugin</artifactId>
  189. <version>3.8.0</version>
  190. <configuration>
  191. <source>1.8</source>
  192. <target>1.8</target>
  193. <debug>true</debug>
  194. <debuglevel>lines,vars,source</debuglevel>
  195. </configuration>
  196. </plugin>
  197. <plugin>
  198. <artifactId>maven-surefire-plugin</artifactId>
  199. <version>2.22.1</version>
  200. </plugin>
  201. <plugin>
  202. <artifactId>maven-jar-plugin</artifactId>
  203. <version>3.0.2</version>
  204. <configuration>
  205. <archive>
  206. <manifest>
  207. <addClasspath>true</addClasspath>
  208. <!-- <classpathPrefix>repo/</classpathPrefix> -->
  209. <mainClass>gplx.xowa.Xowa_main</mainClass>
  210. </manifest>
  211. </archive>
  212. </configuration>
  213. </plugin>
  214. <plugin>
  215. <artifactId>maven-install-plugin</artifactId>
  216. <version>2.5.2</version>
  217. </plugin>
  218. <plugin>
  219. <artifactId>maven-deploy-plugin</artifactId>
  220. <version>2.8.2</version>
  221. </plugin>
  222. <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
  223. <plugin>
  224. <artifactId>maven-site-plugin</artifactId>
  225. <version>3.7.1</version>
  226. </plugin>
  227. <plugin>
  228. <artifactId>maven-project-info-reports-plugin</artifactId>
  229. <version>3.0.0</version>
  230. </plugin>
  231. <plugin>
  232. <groupId>net.revelc.code.formatter</groupId>
  233. <artifactId>formatter-maven-plugin</artifactId>
  234. <version>2.8.1</version>
  235. <!-- <configuration> -->
  236. <!-- <directories> -->
  237. <!-- <directory>${project.build.sourceDirectory}</directory> -->
  238. <!-- <directory>${project.build.directory}/generated-sources</directory> -->
  239. <!-- </directories> -->
  240. <!-- </configuration> -->
  241. <executions>
  242. <execution>
  243. <goals>
  244. <goal>format</goal>
  245. <goal>validate</goal>
  246. </goals>
  247. </execution>
  248. </executions>
  249. </plugin>
  250. </plugins>
  251. </pluginManagement>
  252. </build>
  253. </project>