pom.xml 31 KB

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