pom.xml 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811
  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"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>org.deidentifier.arx</groupId>
  6. <artifactId>arx</artifactId>
  7. <version>3.9.1</version>
  8. <repositories>
  9. <repository>
  10. <id>local-maven-repo</id>
  11. <url>file:///${project.basedir}/lib</url>
  12. </repository>
  13. <repository>
  14. <id>jitpack.io</id>
  15. <url>https://jitpack.io</url>
  16. </repository>
  17. </repositories>
  18. <build>
  19. <finalName>${project.artifactId}-${project.version}-${envClassifier}</finalName>
  20. <testSourceDirectory>src/test</testSourceDirectory>
  21. <resources>
  22. <resource>
  23. <directory>src/gui</directory>
  24. <includes>
  25. <include>**/*.properties</include>
  26. <include>**/*.png</include>
  27. <include>**/*.gif</include>
  28. <include>**/*.pdf</include>
  29. <include>**/*.txt</include>
  30. <include>**/*.r</include>
  31. </includes>
  32. </resource>
  33. <resource>
  34. <directory>src/main</directory>
  35. <includes>
  36. <include>**/*.properties</include>
  37. <include>**/*.png</include>
  38. <include>**/*.gif</include>
  39. <include>**/*.pdf</include>
  40. <include>**/*.csv</include>
  41. </includes>
  42. </resource>
  43. </resources>
  44. <plugins>
  45. <plugin>
  46. <groupId>org.codehaus.mojo</groupId>
  47. <artifactId>build-helper-maven-plugin</artifactId>
  48. <version>3.0.0</version>
  49. <executions>
  50. <execution>
  51. <id>add-source</id>
  52. <phase>generate-sources</phase>
  53. <goals>
  54. <goal>add-source</goal>
  55. </goals>
  56. <configuration>
  57. <sources>
  58. <source>${project.basedir}/src/main</source>
  59. <source>${project.basedir}/src/gui</source>
  60. <source>${project.basedir}/src/example</source>
  61. </sources>
  62. </configuration>
  63. </execution>
  64. </executions>
  65. </plugin>
  66. <plugin>
  67. <groupId>org.apache.maven.plugins</groupId>
  68. <artifactId>maven-compiler-plugin</artifactId>
  69. <version>3.6.1</version>
  70. <configuration>
  71. <source>1.8</source>
  72. <target>1.8</target>
  73. </configuration>
  74. </plugin>
  75. <plugin>
  76. <groupId>org.apache.maven.plugins</groupId>
  77. <artifactId>maven-shade-plugin</artifactId>
  78. <version>3.1.1</version>
  79. <configuration>
  80. <createDependencyReducedPom>false</createDependencyReducedPom>
  81. </configuration>
  82. <executions>
  83. <execution>
  84. <phase>package</phase>
  85. <goals>
  86. <goal>shade</goal>
  87. </goals>
  88. <configuration>
  89. <transformers>
  90. <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  91. <mainClass>org.deidentifier.arx.gui.Main</mainClass>
  92. </transformer>
  93. </transformers>
  94. <filters>
  95. <filter>
  96. <artifact>*:*</artifact>
  97. <excludes>
  98. <exclude>META-INF/*.SF</exclude>
  99. <exclude>META-INF/*.DSA</exclude>
  100. <exclude>META-INF/*.RSA</exclude>
  101. </excludes>
  102. </filter>
  103. </filters>
  104. </configuration>
  105. </execution>
  106. </executions>
  107. </plugin>
  108. </plugins>
  109. <testResources>
  110. <testResource>
  111. <directory>data</directory>
  112. </testResource>
  113. </testResources>
  114. </build>
  115. <dependencies>
  116. <dependency>
  117. <groupId>colt</groupId>
  118. <artifactId>colt</artifactId>
  119. <version>1.2.0</version>
  120. <exclusions>
  121. <exclusion>
  122. <groupId>*</groupId>
  123. <artifactId>*</artifactId>
  124. </exclusion>
  125. </exclusions>
  126. </dependency>
  127. <!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
  128. <dependency>
  129. <groupId>commons-io</groupId>
  130. <artifactId>commons-io</artifactId>
  131. <version>2.7</version>
  132. <exclusions>
  133. <exclusion>
  134. <groupId>*</groupId>
  135. <artifactId>*</artifactId>
  136. </exclusion>
  137. </exclusions>
  138. </dependency>
  139. <dependency>
  140. <groupId>commons-lang</groupId>
  141. <artifactId>commons-lang</artifactId>
  142. <version>2.6</version>
  143. <exclusions>
  144. <exclusion>
  145. <groupId>*</groupId>
  146. <artifactId>*</artifactId>
  147. </exclusion>
  148. </exclusions>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.apache.commons</groupId>
  152. <artifactId>commons-lang3</artifactId>
  153. <version>3.12.0</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.apache.commons</groupId>
  157. <artifactId>commons-math3</artifactId>
  158. <version>3.6.1</version>
  159. <exclusions>
  160. <exclusion>
  161. <groupId>*</groupId>
  162. <artifactId>*</artifactId>
  163. </exclusion>
  164. </exclusions>
  165. </dependency>
  166. <dependency>
  167. <groupId>commons-validator</groupId>
  168. <artifactId>commons-validator</artifactId>
  169. <version>1.4.1</version>
  170. <exclusions>
  171. <exclusion>
  172. <groupId>*</groupId>
  173. <artifactId>*</artifactId>
  174. </exclusion>
  175. </exclusions>
  176. </dependency>
  177. <dependency>
  178. <groupId>net.objecthunter</groupId>
  179. <artifactId>exp4j</artifactId>
  180. <version>0.4.8</version>
  181. <exclusions>
  182. <exclusion>
  183. <groupId>*</groupId>
  184. <artifactId>*</artifactId>
  185. </exclusion>
  186. </exclusions>
  187. </dependency>
  188. <dependency>
  189. <groupId>com.carrotsearch</groupId>
  190. <artifactId>hppc</artifactId>
  191. <version>0.6.0</version>
  192. <exclusions>
  193. <exclusion>
  194. <groupId>*</groupId>
  195. <artifactId>*</artifactId>
  196. </exclusion>
  197. </exclusions>
  198. </dependency>
  199. <dependency>
  200. <groupId>org.hamcrest</groupId>
  201. <artifactId>hamcrest-core</artifactId>
  202. <version>1.3</version>
  203. <exclusions>
  204. <exclusion>
  205. <groupId>*</groupId>
  206. <artifactId>*</artifactId>
  207. </exclusion>
  208. </exclusions>
  209. </dependency>
  210. <dependency>
  211. <groupId>junit</groupId>
  212. <artifactId>junit</artifactId>
  213. <version>4.13.1</version>
  214. <scope>test</scope>
  215. <exclusions>
  216. <exclusion>
  217. <groupId>*</groupId>
  218. <artifactId>*</artifactId>
  219. </exclusion>
  220. </exclusions>
  221. </dependency>
  222. <dependency>
  223. <groupId>org.slf4j</groupId>
  224. <artifactId>slf4j-api</artifactId>
  225. <version>1.7.13</version>
  226. <exclusions>
  227. <exclusion>
  228. <groupId>*</groupId>
  229. <artifactId>*</artifactId>
  230. </exclusion>
  231. </exclusions>
  232. </dependency>
  233. <dependency>
  234. <groupId>org.apache.logging.log4j</groupId>
  235. <artifactId>log4j-core</artifactId>
  236. <version>2.17.2</version>
  237. </dependency>
  238. <dependency>
  239. <groupId>org.apache.logging.log4j</groupId>
  240. <artifactId>log4j-api</artifactId>
  241. <version>2.17.2</version>
  242. </dependency>
  243. <dependency>
  244. <groupId>org.apache.logging.log4j</groupId>
  245. <artifactId>log4j-1.2-api</artifactId>
  246. <version>2.17.2</version>
  247. </dependency>
  248. <dependency>
  249. <groupId>com.google.guava</groupId>
  250. <artifactId>guava</artifactId>
  251. <version>18.0</version>
  252. <exclusions>
  253. <exclusion>
  254. <groupId>*</groupId>
  255. <artifactId>*</artifactId>
  256. </exclusion>
  257. </exclusions>
  258. </dependency>
  259. <dependency>
  260. <groupId>org.apache.mahout</groupId>
  261. <artifactId>mahout-core</artifactId>
  262. <version>0.9</version>
  263. <exclusions>
  264. <exclusion>
  265. <groupId>*</groupId>
  266. <artifactId>*</artifactId>
  267. </exclusion>
  268. </exclusions>
  269. </dependency>
  270. <dependency>
  271. <groupId>org.apache.mahout</groupId>
  272. <artifactId>mahout-math</artifactId>
  273. <version>0.11.1</version>
  274. <exclusions>
  275. <exclusion>
  276. <groupId>*</groupId>
  277. <artifactId>*</artifactId>
  278. </exclusion>
  279. </exclusions>
  280. </dependency>
  281. <dependency>
  282. <groupId>org.apache.hadoop</groupId>
  283. <artifactId>hadoop-core</artifactId>
  284. <version>1.2.1</version>
  285. <exclusions>
  286. <exclusion>
  287. <groupId>*</groupId>
  288. <artifactId>*</artifactId>
  289. </exclusion>
  290. </exclusions>
  291. </dependency>
  292. <dependency>
  293. <groupId>mysql</groupId>
  294. <artifactId>mysql-connector-java</artifactId>
  295. <version>8.0.28</version>
  296. <exclusions>
  297. <exclusion>
  298. <groupId>*</groupId>
  299. <artifactId>*</artifactId>
  300. </exclusion>
  301. </exclusions>
  302. </dependency>
  303. <dependency>
  304. <groupId>org.apache.pdfbox</groupId>
  305. <artifactId>pdfbox-app</artifactId>
  306. <version>2.0.1</version>
  307. <exclusions>
  308. <exclusion>
  309. <groupId>*</groupId>
  310. <artifactId>*</artifactId>
  311. </exclusion>
  312. </exclusions>
  313. </dependency>
  314. <dependency>
  315. <groupId>com.github.ralfstuckert.pdfbox-layout</groupId>
  316. <artifactId>pdfbox2-layout</artifactId>
  317. <version>1.0.0</version>
  318. <exclusions>
  319. <exclusion>
  320. <groupId>*</groupId>
  321. <artifactId>*</artifactId>
  322. </exclusion>
  323. </exclusions>
  324. </dependency>
  325. <dependency>
  326. <groupId>org.apache.poi</groupId>
  327. <artifactId>poi</artifactId>
  328. <version>4.1.1</version>
  329. </dependency>
  330. <dependency>
  331. <groupId>org.apache.poi</groupId>
  332. <artifactId>poi-ooxml</artifactId>
  333. <version>3.10-FINAL</version>
  334. </dependency>
  335. <dependency>
  336. <groupId>org.apache.poi</groupId>
  337. <artifactId>poi-ooxml-schemas</artifactId>
  338. <version>3.10-FINAL</version>
  339. </dependency>
  340. <dependency>
  341. <groupId>org.apache.xmlbeans</groupId>
  342. <artifactId>xmlbeans</artifactId>
  343. <version>3.0.0</version>
  344. </dependency>
  345. <dependency>
  346. <groupId>org.postgresql</groupId>
  347. <artifactId>postgresql</artifactId>
  348. <version>42.4.1</version>
  349. <exclusions>
  350. <exclusion>
  351. <groupId>*</groupId>
  352. <artifactId>*</artifactId>
  353. </exclusion>
  354. </exclusions>
  355. </dependency>
  356. <dependency>
  357. <groupId>org.xerial</groupId>
  358. <artifactId>sqlite-jdbc</artifactId>
  359. <version>3.7.2</version>
  360. <exclusions>
  361. <exclusion>
  362. <groupId>*</groupId>
  363. <artifactId>*</artifactId>
  364. </exclusion>
  365. </exclusions>
  366. </dependency>
  367. <dependency>
  368. <groupId>com.univocity</groupId>
  369. <artifactId>univocity-parsers</artifactId>
  370. <version>2.8.4</version>
  371. <exclusions>
  372. <exclusion>
  373. <groupId>*</groupId>
  374. <artifactId>*</artifactId>
  375. </exclusion>
  376. </exclusions>
  377. </dependency>
  378. <!-- https://mvnrepository.com/artifact/org.eclipse.platform/org.eclipse.core.commands -->
  379. <dependency>
  380. <groupId>org.eclipse.platform</groupId>
  381. <artifactId>org.eclipse.core.commands</artifactId>
  382. <version>3.9.700</version>
  383. </dependency>
  384. <!-- https://mvnrepository.com/artifact/org.eclipse.platform/org.eclipse.core.runtime -->
  385. <dependency>
  386. <groupId>org.eclipse.platform</groupId>
  387. <artifactId>org.eclipse.core.runtime</artifactId>
  388. <version>3.18.0</version>
  389. </dependency>
  390. <!-- https://mvnrepository.com/artifact/org.eclipse/draw2d -->
  391. <dependency>
  392. <groupId>org.eclipse</groupId>
  393. <artifactId>draw2d</artifactId>
  394. <version>3.2.100-v20070529</version>
  395. </dependency>
  396. <!-- https://mvnrepository.com/artifact/org.eclipse.platform/org.eclipse.equinox.common -->
  397. <dependency>
  398. <groupId>org.eclipse.platform</groupId>
  399. <artifactId>org.eclipse.equinox.common</artifactId>
  400. <version>3.12.0</version>
  401. </dependency>
  402. <!-- https://mvnrepository.com/artifact/org.eclipse.platform/org.eclipse.jface -->
  403. <dependency>
  404. <groupId>org.eclipse.platform</groupId>
  405. <artifactId>org.eclipse.jface</artifactId>
  406. <version>3.20.0</version>
  407. </dependency>
  408. <!--local dependencies-->
  409. <dependency>
  410. <groupId>de.linearbits</groupId>
  411. <artifactId>libjhc</artifactId>
  412. <version>swt</version>
  413. <exclusions>
  414. <exclusion>
  415. <groupId>*</groupId>
  416. <artifactId>*</artifactId>
  417. </exclusion>
  418. </exclusions>
  419. </dependency>
  420. <dependency>
  421. <groupId>de.linearbits</groupId>
  422. <artifactId>jhpl</artifactId>
  423. <version>0.0.1</version>
  424. <exclusions>
  425. <exclusion>
  426. <groupId>*</groupId>
  427. <artifactId>*</artifactId>
  428. </exclusion>
  429. </exclusions>
  430. </dependency>
  431. <dependency>
  432. <groupId>jtds</groupId>
  433. <artifactId>jtds</artifactId>
  434. <version>1.3.1</version>
  435. <exclusions>
  436. <exclusion>
  437. <groupId>*</groupId>
  438. <artifactId>*</artifactId>
  439. </exclusion>
  440. </exclusions>
  441. </dependency>
  442. <dependency>
  443. <groupId>org.eclipse.nebula.widgets.nattable</groupId>
  444. <artifactId>core</artifactId>
  445. <version>1.6.0</version>
  446. <exclusions>
  447. <exclusion>
  448. <groupId>*</groupId>
  449. <artifactId>*</artifactId>
  450. </exclusion>
  451. </exclusions>
  452. </dependency>
  453. <dependency>
  454. <groupId>org.eclipse.nebula.widgets.pagination</groupId>
  455. <artifactId>core</artifactId>
  456. <version>1.0.0</version>
  457. <exclusions>
  458. <exclusion>
  459. <groupId>*</groupId>
  460. <artifactId>*</artifactId>
  461. </exclusion>
  462. </exclusions>
  463. </dependency>
  464. <dependency>
  465. <groupId>de.linearbits</groupId>
  466. <artifactId>newtonraphson</artifactId>
  467. <version>0.0.1</version>
  468. <exclusions>
  469. <exclusion>
  470. <groupId>*</groupId>
  471. <artifactId>*</artifactId>
  472. </exclusion>
  473. </exclusions>
  474. </dependency>
  475. <dependency>
  476. <groupId>de.linearbits</groupId>
  477. <artifactId>objectselector</artifactId>
  478. <version>lib</version>
  479. <exclusions>
  480. <exclusion>
  481. <groupId>*</groupId>
  482. <artifactId>*</artifactId>
  483. </exclusion>
  484. </exclusions>
  485. </dependency>
  486. <dependency>
  487. <groupId>com.oracle</groupId>
  488. <artifactId>ojdbc7</artifactId>
  489. <version>12.1.0.2</version>
  490. <exclusions>
  491. <exclusion>
  492. <groupId>*</groupId>
  493. <artifactId>*</artifactId>
  494. </exclusion>
  495. </exclusions>
  496. </dependency>
  497. <dependency>
  498. <groupId>org.swtchart</groupId>
  499. <artifactId>ext</artifactId>
  500. <version>0.8.0.v20120301</version>
  501. <exclusions>
  502. <exclusion>
  503. <groupId>*</groupId>
  504. <artifactId>*</artifactId>
  505. </exclusion>
  506. </exclusions>
  507. </dependency>
  508. <dependency>
  509. <groupId>org.swtchart</groupId>
  510. <artifactId>swtchart</artifactId>
  511. <version>0.8.0.v20120301</version>
  512. <exclusions>
  513. <exclusion>
  514. <groupId>*</groupId>
  515. <artifactId>*</artifactId>
  516. </exclusion>
  517. </exclusions>
  518. </dependency>
  519. <dependency>
  520. <groupId>de.linearbits.swt</groupId>
  521. <artifactId>swtchoicesdialog</artifactId>
  522. <version>0.0.1</version>
  523. <exclusions>
  524. <exclusion>
  525. <groupId>*</groupId>
  526. <artifactId>*</artifactId>
  527. </exclusion>
  528. </exclusions>
  529. </dependency>
  530. <dependency>
  531. <groupId>de.linearbits.swt</groupId>
  532. <artifactId>swtknob</artifactId>
  533. <version>1.0.0</version>
  534. <exclusions>
  535. <exclusion>
  536. <groupId>*</groupId>
  537. <artifactId>*</artifactId>
  538. </exclusion>
  539. </exclusions>
  540. </dependency>
  541. <dependency>
  542. <groupId>de.linearbits.swt</groupId>
  543. <artifactId>swtpreferences</artifactId>
  544. <version>0.0.1</version>
  545. <exclusions>
  546. <exclusion>
  547. <groupId>*</groupId>
  548. <artifactId>*</artifactId>
  549. </exclusion>
  550. </exclusions>
  551. </dependency>
  552. <dependency>
  553. <groupId>de.linearbits.swt</groupId>
  554. <artifactId>swtrangeslider</artifactId>
  555. <version>0.0.1</version>
  556. <exclusions>
  557. <exclusion>
  558. <groupId>*</groupId>
  559. <artifactId>*</artifactId>
  560. </exclusion>
  561. </exclusions>
  562. </dependency>
  563. <dependency>
  564. <groupId>de.linearbits.swt</groupId>
  565. <artifactId>swtsimplebrowser</artifactId>
  566. <version>0.0.1</version>
  567. <exclusions>
  568. <exclusion>
  569. <groupId>*</groupId>
  570. <artifactId>*</artifactId>
  571. </exclusion>
  572. </exclusions>
  573. </dependency>
  574. <dependency>
  575. <groupId>de.linearbits.swt</groupId>
  576. <artifactId>swttable</artifactId>
  577. <version>0.0.1</version>
  578. <exclusions>
  579. <exclusion>
  580. <groupId>*</groupId>
  581. <artifactId>*</artifactId>
  582. </exclusion>
  583. </exclusions>
  584. </dependency>
  585. <dependency>
  586. <groupId>de.linearbits.swt</groupId>
  587. <artifactId>swttiles</artifactId>
  588. <version>0.0.1</version>
  589. <exclusions>
  590. <exclusion>
  591. <groupId>*</groupId>
  592. <artifactId>*</artifactId>
  593. </exclusion>
  594. </exclusions>
  595. </dependency>
  596. <dependency>
  597. <groupId>org.eclipse.nebula.visualization</groupId>
  598. <artifactId>widgets</artifactId>
  599. <version>1.1.0.202006092019</version>
  600. <exclusions>
  601. <exclusion>
  602. <groupId>*</groupId>
  603. <artifactId>*</artifactId>
  604. </exclusion>
  605. </exclusions>
  606. </dependency>
  607. <dependency>
  608. <groupId>org.eclipse.nebula.visualization</groupId>
  609. <artifactId>xygraph</artifactId>
  610. <version>3.1.0.202006092019</version>
  611. <exclusions>
  612. <exclusion>
  613. <groupId>*</groupId>
  614. <artifactId>*</artifactId>
  615. </exclusion>
  616. </exclusions>
  617. </dependency>
  618. <dependency>
  619. <groupId>com.github.haifengl</groupId>
  620. <artifactId>smile</artifactId>
  621. <version>1.3.1</version>
  622. <exclusions>
  623. <exclusion>
  624. <groupId>*</groupId>
  625. <artifactId>*</artifactId>
  626. </exclusion>
  627. </exclusions>
  628. </dependency>
  629. </dependencies>
  630. <profiles>
  631. <profile>
  632. <id>osx-64</id>
  633. <activation>
  634. <os>
  635. <family>mac</family>
  636. <arch>x86_64</arch>
  637. </os>
  638. <property>
  639. <name>core</name>
  640. <value>!true</value>
  641. </property>
  642. </activation>
  643. <properties>
  644. <envClassifier>osx-64</envClassifier>
  645. </properties>
  646. <dependencies>
  647. <dependency>
  648. <groupId>org.eclipse.platform</groupId>
  649. <artifactId>org.eclipse.swt.cocoa.macosx.x86_64</artifactId>
  650. <version>3.114.100</version>
  651. <exclusions>
  652. <exclusion>
  653. <groupId>*</groupId>
  654. <artifactId>*</artifactId>
  655. </exclusion>
  656. </exclusions>
  657. </dependency>
  658. </dependencies>
  659. </profile>
  660. <!--NOTE: this build is specific for x86_64. Separate profiles may be required for arm64 or amd64 in the future -->
  661. <profile>
  662. <id>win-64</id>
  663. <activation>
  664. <os>
  665. <family>Windows</family>
  666. <arch>x86_64</arch>
  667. </os>
  668. <property>
  669. <name>core</name>
  670. <value>!true</value>
  671. </property>
  672. </activation>
  673. <properties>
  674. <envClassifier>win-64</envClassifier>
  675. </properties>
  676. <dependencies>
  677. <dependency>
  678. <groupId>org.eclipse.platform</groupId>
  679. <artifactId>org.eclipse.swt.win32.win32.x86_64</artifactId>
  680. <version>3.114.100</version>
  681. <exclusions>
  682. <exclusion>
  683. <groupId>*</groupId>
  684. <artifactId>*</artifactId>
  685. </exclusion>
  686. </exclusions>
  687. </dependency>
  688. </dependencies>
  689. </profile>
  690. <profile>
  691. <id>gtk-64</id>
  692. <activation>
  693. <os>
  694. <name>Linux</name>
  695. <arch>x86_64</arch>
  696. </os>
  697. <property>
  698. <name>core</name>
  699. <value>!true</value>
  700. </property>
  701. </activation>
  702. <properties>
  703. <envClassifier>gtk-64</envClassifier>
  704. </properties>
  705. <dependencies>
  706. <dependency>
  707. <groupId>org.eclipse.platform</groupId>
  708. <artifactId>org.eclipse.swt.gtk.linux.x86_64</artifactId>
  709. <version>3.114.100</version>
  710. <exclusions>
  711. <exclusion>
  712. <groupId>*</groupId>
  713. <artifactId>*</artifactId>
  714. </exclusion>
  715. </exclusions>
  716. </dependency>
  717. </dependencies>
  718. </profile>
  719. <profile>
  720. <id>core</id>
  721. <activation>
  722. <property>
  723. <name>core</name>
  724. <value>true</value>
  725. </property>
  726. </activation>
  727. <build>
  728. <finalName>${project.artifactId}-${project.version}-${envClassifier}</finalName>
  729. <resources>
  730. <resource>
  731. <directory>src/main</directory>
  732. <includes>
  733. <include>**/*.properties</include>
  734. <include>**/*.png</include>
  735. <include>**/*.gif</include>
  736. <include>**/*.pdf</include>
  737. <include>**/*.csv</include>
  738. </includes>
  739. </resource>
  740. </resources>
  741. <plugins>
  742. <plugin>
  743. <groupId>org.codehaus.mojo</groupId>
  744. <artifactId>build-helper-maven-plugin</artifactId>
  745. <version>3.0.0</version>
  746. <executions>
  747. <execution>
  748. <id>add-source</id>
  749. <phase>generate-sources</phase>
  750. <goals>
  751. <goal>add-source</goal>
  752. </goals>
  753. <configuration>
  754. <sources>
  755. <source>${project.basedir}/src/main</source>
  756. <source>${project.basedir}/src/example</source>
  757. </sources>
  758. </configuration>
  759. </execution>
  760. </executions>
  761. </plugin>
  762. <plugin>
  763. <groupId>org.apache.maven.plugins</groupId>
  764. <artifactId>maven-compiler-plugin</artifactId>
  765. <version>3.6.1</version>
  766. <configuration>
  767. <source>1.8</source>
  768. <target>1.8</target>
  769. </configuration>
  770. </plugin>
  771. <plugin>
  772. <groupId>org.apache.maven.plugins</groupId>
  773. <artifactId>maven-shade-plugin</artifactId>
  774. <version>3.1.1</version>
  775. <configuration>
  776. <createDependencyReducedPom>false</createDependencyReducedPom>
  777. </configuration>
  778. <executions>
  779. <execution>
  780. <phase>package</phase>
  781. <goals>
  782. <goal>shade</goal>
  783. </goals>
  784. <configuration>
  785. <filters>
  786. <filter>
  787. <artifact>*:*</artifact>
  788. <excludes>
  789. <exclude>META-INF/*.SF</exclude>
  790. <exclude>META-INF/*.DSA</exclude>
  791. <exclude>META-INF/*.RSA</exclude>
  792. </excludes>
  793. </filter>
  794. </filters>
  795. </configuration>
  796. </execution>
  797. </executions>
  798. </plugin>
  799. </plugins>
  800. </build>
  801. <properties>
  802. <envClassifier>core</envClassifier>
  803. </properties>
  804. </profile>
  805. </profiles>
  806. </project>