pom.xml 29 KB

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