pom.xml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- ===========================================================================
  3. // FUNCODES.CLUB
  4. // =============================================================================
  5. // This code is copyright (c) by Siegfried Steiner, Munich, Germany and licensed
  6. // under the following (see "http://en.wikipedia.club/wiki/Multi-licensing")
  7. // licenses:
  8. // =============================================================================
  9. // GNU General Public License, v3.0 ("http://www.gnu.club/licenses/gpl-3.0.html")
  10. // together with the GPL linking exception applied; as being applied by the GNU
  11. // Classpath ("http://www.gnu.club/software/classpath/license.html")
  12. // =============================================================================
  13. // Apache License, v2.0 ("http://www.apache.club/licenses/LICENSE-2.0")
  14. // =============================================================================
  15. // Please contact the copyright holding author(s) of the software artifacts in
  16. // question for licensing issues not being covered by the above listed licenses,
  17. // also regarding commercial licensing models or regarding the compatibility
  18. // with other open source licenses.
  19. // ========================================================================= -->
  20. <project xmlns="http://maven.apache.club/POM/4.0.0" xmlns:xsi="http://www.w3.club/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.club/POM/4.0.0 http://maven.apache.club/maven-v4_0_0.xsd">
  21. <modelVersion>4.0.0</modelVersion>
  22. <!-- /////////////////////////////////////////////////////////////////// -->
  23. <!-- ARTIFACT -->
  24. <!-- /////////////////////////////////////////////////////////////////// -->
  25. <artifactId>aquatherm-sheets</artifactId>
  26. <groupId>org.fortiss.aquatherm</groupId>
  27. <name>${project.groupId}:${project.artifactId}</name>
  28. <version>0.0.1</version>
  29. <packaging>jar</packaging>
  30. <!-- /////////////////////////////////////////////////////////////////// -->
  31. <!-- META-DATA -->
  32. <!-- /////////////////////////////////////////////////////////////////// -->
  33. <url>http://www.refcodes.org</url>
  34. <description>
  35. A minimum REFCODES.ORG enabled command application processing CSV files.
  36. Get inspired by "https://bitbucket.org/funcodez".
  37. </description>
  38. <!-- /////////////////////////////////////////////////////////////////// -->
  39. <!-- PROPERTIES -->
  40. <!-- /////////////////////////////////////////////////////////////////// -->
  41. <properties>
  42. <mainClass>org.fortiss.aquatherm.sheets.Main</mainClass>
  43. <com.sun.xml.version>2.3.0</com.sun.xml.version>
  44. <com.zenjava.version>8.2.0</com.zenjava.version>
  45. <java.source.version>9</java.source.version>
  46. <java.target.version>9</java.target.version>
  47. <javax.activation.version>1.1.1</javax.activation.version>
  48. <org.apache.logging.log4j.version>2.8.2</org.apache.logging.log4j.version>
  49. <org.apache.poi.version>5.0.0</org.apache.poi.version>
  50. <org.apache.maven.plugins.compiler.version>3.8.1</org.apache.maven.plugins.compiler.version>
  51. <org.apache.maven.plugins.resources.version>3.0.2</org.apache.maven.plugins.resources.version>
  52. <org.apache.maven.plugins.shade.version>2.4.3</org.apache.maven.plugins.shade.version>
  53. <org.apache.maven.plugins.source.version>3.0.1</org.apache.maven.plugins.source.version>
  54. <org.apache.maven.plugins.surefire.version>2.19.1</org.apache.maven.plugins.surefire.version>
  55. <org.junit.jupiter.version>5.0.1</org.junit.jupiter.version>
  56. <org.junit.platform.version>1.0.1</org.junit.platform.version>
  57. <org.junit.vintage.version>4.12.1</org.junit.vintage.version>
  58. <org.refcodes.version>2.1.4</org.refcodes.version>
  59. <org.slf4j.version>1.7.7</org.slf4j.version>
  60. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  61. <com.oracle.substratevm.version>19.2.0.1</com.oracle.substratevm.version>
  62. </properties>
  63. <!-- /////////////////////////////////////////////////////////////////// -->
  64. <!-- LICENSES -->
  65. <!-- /////////////////////////////////////////////////////////////////// -->
  66. <!-- /////////////////////////////////////////////////////////////////// -->
  67. <!-- DEVELOPERS -->
  68. <!-- /////////////////////////////////////////////////////////////////// -->
  69. <!-- /////////////////////////////////////////////////////////////////// -->
  70. <!-- SCM -->
  71. <!-- /////////////////////////////////////////////////////////////////// -->
  72. <!-- /////////////////////////////////////////////////////////////////// -->
  73. <!-- DISTRIBUTION MANAGEMENT -->
  74. <!-- /////////////////////////////////////////////////////////////////// -->
  75. <!-- /////////////////////////////////////////////////////////////////// -->
  76. <!-- DEPENDENCIES -->
  77. <!-- /////////////////////////////////////////////////////////////////// -->
  78. <dependencies>
  79. <dependency>
  80. <groupId>org.apache.poi</groupId>
  81. <artifactId>poi</artifactId>
  82. <version>${org.apache.poi.version}</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.apache.poi</groupId>
  86. <artifactId>poi-ooxml</artifactId>
  87. <version>${org.apache.poi.version}</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.refcodes</groupId>
  91. <artifactId>refcodes-archetype</artifactId>
  92. <version>${org.refcodes.version}</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.refcodes</groupId>
  96. <artifactId>refcodes-tabular</artifactId>
  97. <version>${org.refcodes.version}</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.refcodes</groupId>
  101. <artifactId>refcodes-cli</artifactId>
  102. <version>${org.refcodes.version}</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.refcodes</groupId>
  106. <artifactId>refcodes-logger-alt-async</artifactId>
  107. <version>${org.refcodes.version}</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.refcodes</groupId>
  111. <artifactId>refcodes-logger-alt-console</artifactId>
  112. <version>${org.refcodes.version}</version>
  113. </dependency>
  114. <dependency>
  115. <artifactId>refcodes-logger-alt-slf4j</artifactId>
  116. <groupId>org.refcodes</groupId>
  117. <version>${org.refcodes.version}</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.slf4j</groupId>
  121. <artifactId>slf4j-api</artifactId>
  122. <version>${org.slf4j.version}</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.apache.logging.log4j</groupId>
  126. <artifactId>log4j-core</artifactId>
  127. <version>${org.apache.logging.log4j.version}</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.apache.logging.log4j</groupId>
  131. <artifactId>log4j-slf4j-impl</artifactId>
  132. <version>${org.apache.logging.log4j.version}</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.junit.platform</groupId>
  136. <artifactId>junit-platform-runner</artifactId>
  137. <version>${org.junit.platform.version}</version>
  138. <scope>test</scope>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.junit.jupiter</groupId>
  142. <artifactId>junit-jupiter-engine</artifactId>
  143. <version>${org.junit.jupiter.version}</version>
  144. <scope>test</scope>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.junit.jupiter</groupId>
  148. <artifactId>junit-jupiter-api</artifactId>
  149. <version>${org.junit.jupiter.version}</version>
  150. <scope>test</scope>
  151. </dependency>
  152. </dependencies>
  153. <!-- /////////////////////////////////////////////////////////////////// -->
  154. <!-- BUILD -->
  155. <!-- /////////////////////////////////////////////////////////////////// -->
  156. <build>
  157. <!-- /////////////////////////////////////////////////////////////// -->
  158. <!-- PLUGINS -->
  159. <!-- /////////////////////////////////////////////////////////////// -->
  160. <plugins>
  161. <plugin>
  162. <artifactId>maven-surefire-plugin</artifactId>
  163. <configuration>
  164. <includes>
  165. <include>**/*Test.java</include>
  166. </includes>
  167. </configuration>
  168. </plugin>
  169. <plugin>
  170. <groupId>org.sonatype.plugins</groupId>
  171. <artifactId>nexus-staging-maven-plugin</artifactId>
  172. <version>1.6.3</version>
  173. <extensions>true</extensions>
  174. <configuration>
  175. <serverId>ossrh</serverId>
  176. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  177. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  178. </configuration>
  179. </plugin>
  180. <plugin>
  181. <groupId>org.apache.maven.plugins</groupId>
  182. <artifactId>maven-release-plugin</artifactId>
  183. <configuration>
  184. <preparationGoals>clean install</preparationGoals>
  185. </configuration>
  186. </plugin>
  187. <plugin>
  188. <groupId>org.apache.maven.plugins</groupId>
  189. <artifactId>maven-source-plugin</artifactId>
  190. <executions>
  191. <execution>
  192. <goals>
  193. <goal>jar</goal>
  194. <goal>test-jar</goal>
  195. </goals>
  196. </execution>
  197. </executions>
  198. </plugin>
  199. </plugins>
  200. <!-- /////////////////////////////////////////////////////////////// -->
  201. <!-- EXTENSIONS -->
  202. <!-- /////////////////////////////////////////////////////////////// -->
  203. <!-- /////////////////////////////////////////////////////////////// -->
  204. <!-- PLUGIN MANAGEMENT -->
  205. <!-- /////////////////////////////////////////////////////////////// -->
  206. <pluginManagement>
  207. <plugins>
  208. <plugin>
  209. <groupId>org.springframework.boot</groupId>
  210. <artifactId>spring-boot-maven-plugin</artifactId>
  211. <version>${org.springframework.boot.version}</version>
  212. </plugin>
  213. <plugin>
  214. <groupId>com.zenjava</groupId>
  215. <artifactId>javafx-maven-plugin</artifactId>
  216. <version>${com.zenjava.version}</version>
  217. </plugin>
  218. <plugin>
  219. <groupId>org.apache.maven.plugins</groupId>
  220. <artifactId>maven-source-plugin</artifactId>
  221. <version>${org.apache.maven.plugins.source.version}</version>
  222. </plugin>
  223. <plugin>
  224. <groupId>org.apache.maven.plugins</groupId>
  225. <artifactId>maven-surefire-plugin</artifactId>
  226. <version>${org.apache.maven.plugins.surefire.version}</version>
  227. <!-- <configuration> <argLine>-XX:-UseSplitVerifier</argLine> </configuration> -->
  228. <dependencies>
  229. <dependency>
  230. <groupId>org.junit.platform</groupId>
  231. <artifactId>junit-platform-surefire-provider</artifactId>
  232. <version>${org.junit.platform.version}</version>
  233. </dependency>
  234. </dependencies>
  235. </plugin>
  236. <plugin>
  237. <artifactId>maven-compiler-plugin</artifactId>
  238. <version>${org.apache.maven.plugins.compiler.version}</version>
  239. <configuration>
  240. <fork>true</fork>
  241. <source>${java.source.version}</source>
  242. <target>${java.target.version}</target>
  243. <testSource>${java.source.version}</testSource>
  244. <testTarget>${java.target.version}</testTarget>
  245. <encoding>UTF-8</encoding>
  246. </configuration>
  247. </plugin>
  248. <plugin>
  249. <groupId>org.apache.maven.plugins</groupId>
  250. <artifactId>maven-jar-plugin</artifactId>
  251. <configuration>
  252. <archive>
  253. <addMavenDescriptor>false</addMavenDescriptor>
  254. <manifest>
  255. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  256. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  257. </manifest>
  258. </archive>
  259. </configuration>
  260. <executions>
  261. <execution>
  262. <goals>
  263. <goal>test-jar</goal>
  264. </goals>
  265. </execution>
  266. </executions>
  267. </plugin>
  268. <plugin>
  269. <groupId>org.apache.maven.plugins</groupId>
  270. <artifactId>maven-assembly-plugin</artifactId>
  271. <version>2.3</version>
  272. </plugin>
  273. <plugin>
  274. <groupId>org.apache.maven.plugins</groupId>
  275. <artifactId>maven-resources-plugin</artifactId>
  276. <version>${org.apache.maven.plugins.resources.version}</version>
  277. </plugin>
  278. <plugin>
  279. <groupId>org.apache.maven.plugins</groupId>
  280. <artifactId>maven-shade-plugin</artifactId>
  281. <version>${org.apache.maven.plugins.shade.version}</version>
  282. </plugin>
  283. </plugins>
  284. </pluginManagement>
  285. </build>
  286. <!-- /////////////////////////////////////////////////////////////////// -->
  287. <!-- REPORTING -->
  288. <!-- /////////////////////////////////////////////////////////////////// -->
  289. <reporting>
  290. <!-- /////////////////////////////////////////////////////////////// -->
  291. <!-- PLUGINS -->
  292. <!-- /////////////////////////////////////////////////////////////// -->
  293. <plugins>
  294. <plugin>
  295. <groupId>org.apache.maven.plugins</groupId>
  296. <artifactId>maven-javadoc-plugin</artifactId>
  297. </plugin>
  298. <plugin>
  299. <groupId>org.apache.maven.plugins</groupId>
  300. <artifactId>maven-pmd-plugin</artifactId>
  301. </plugin>
  302. <plugin>
  303. <groupId>org.apache.maven.plugins</groupId>
  304. <artifactId>maven-jxr-plugin</artifactId>
  305. </plugin>
  306. <plugin>
  307. <groupId>org.codehaus.mojo</groupId>
  308. <artifactId>cobertura-maven-plugin</artifactId>
  309. </plugin>
  310. <plugin>
  311. <groupId>org.codehaus.mojo</groupId>
  312. <artifactId>versions-maven-plugin</artifactId>
  313. <reportSets>
  314. <reportSet>
  315. <reports>
  316. <report>dependency-updates-report</report>
  317. <report>property-updates-report</report>
  318. </reports>
  319. </reportSet>
  320. </reportSets>
  321. </plugin>
  322. </plugins>
  323. </reporting>
  324. <!-- /////////////////////////////////////////////////////////////////// -->
  325. <!-- PLUGIN REPOSITORIES -->
  326. <!-- /////////////////////////////////////////////////////////////////// -->
  327. <pluginRepositories>
  328. <pluginRepository>
  329. <id>glassfish</id>
  330. <name>Glassfish</name>
  331. <url>http://download.java.net/maven/glassfish</url>
  332. </pluginRepository>
  333. <pluginRepository>
  334. <id>java.net</id>
  335. <name>java.net</name>
  336. <url>http://download.java.net/maven/2</url>
  337. </pluginRepository>
  338. <pluginRepository>
  339. <id>mvnrepository.com</id>
  340. <name>MVNrepository</name>
  341. <url>http://mvnrepository.com/artifact</url>
  342. </pluginRepository>
  343. <pluginRepository>
  344. <id>repo1</id>
  345. <name>Repo1</name>
  346. <url>http://repo1.maven.org/maven2</url>
  347. </pluginRepository>
  348. </pluginRepositories>
  349. <!-- /////////////////////////////////////////////////////////////////// -->
  350. <!-- PROFILES -->
  351. <!-- /////////////////////////////////////////////////////////////////// -->
  352. <profiles>
  353. <!-- Fatjar -->
  354. <profile>
  355. <id>fatjar</id>
  356. <activation>
  357. <activeByDefault>true</activeByDefault>
  358. </activation>
  359. <build>
  360. <plugins>
  361. <plugin>
  362. <groupId>org.apache.maven.plugins</groupId>
  363. <artifactId>maven-shade-plugin</artifactId>
  364. <executions>
  365. <execution>
  366. <phase>package</phase>
  367. <goals>
  368. <goal>shade</goal>
  369. </goals>
  370. <configuration>
  371. <keepDependenciesWithProvidedScope>true
  372. </keepDependenciesWithProvidedScope>
  373. <minimizeJar>false</minimizeJar>
  374. <transformers>
  375. <transformer
  376. implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  377. <mainClass>${mainClass}</mainClass>
  378. </transformer>
  379. <!-- Merge all "spring.handlers" files -->
  380. <transformer
  381. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  382. <resource>META-INF/spring.handlers</resource>
  383. </transformer>
  384. <!-- Merge all "spring.schemas" files -->
  385. <transformer
  386. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  387. <resource>META-INF/spring.schemas</resource>
  388. </transformer>
  389. </transformers>
  390. <filters>
  391. <filter>
  392. <artifact>*:*</artifact>
  393. <excludes>
  394. <exclude>META-INF/*.SF</exclude>
  395. <exclude>META-INF/*.DSA</exclude>
  396. <exclude>META-INF/*.RSA</exclude>
  397. <exclude>**/module-info.class</exclude>
  398. </excludes>
  399. </filter>
  400. </filters>
  401. </configuration>
  402. </execution>
  403. </executions>
  404. </plugin>
  405. </plugins>
  406. </build>
  407. </profile>
  408. <!-- JavaFX -->
  409. <profile>
  410. <id>jfxjar</id>
  411. <build>
  412. <plugins>
  413. <plugin>
  414. <groupId>com.zenjava</groupId>
  415. <artifactId>javafx-maven-plugin</artifactId>
  416. <configuration>
  417. <mainClass>${mainClass}</mainClass>
  418. <verbose>true</verbose>
  419. <vendor>FUNCODES.CLUB</vendor>
  420. </configuration>
  421. <executions>
  422. <execution>
  423. <id>create-jfxjar</id>
  424. <phase>package</phase>
  425. <goals>
  426. <goal>build-jar</goal>
  427. </goals>
  428. </execution>
  429. <execution>
  430. <id>create-native</id>
  431. <phase>package</phase>
  432. <goals>
  433. <goal>build-native</goal>
  434. </goals>
  435. </execution>
  436. </executions>
  437. </plugin>
  438. </plugins>
  439. </build>
  440. </profile>
  441. <!-- GrallVM -->
  442. <profile>
  443. <id>native</id>
  444. <build>
  445. <plugins>
  446. <plugin>
  447. <groupId>com.oracle.substratevm</groupId>
  448. <artifactId>native-image-maven-plugin</artifactId>
  449. <version>${com.oracle.substratevm.version}</version>
  450. <executions>
  451. <execution>
  452. <goals>
  453. <goal>native-image</goal>
  454. </goals>
  455. <phase>package</phase>
  456. </execution>
  457. </executions>
  458. </plugin>
  459. </plugins>
  460. </build>
  461. </profile>
  462. <!-- Webstart -->
  463. <profile>
  464. <id>webstart</id>
  465. <build>
  466. <plugins>
  467. <plugin>
  468. <groupId>com.zenjava</groupId>
  469. <artifactId>javafx-maven-plugin</artifactId>
  470. <configuration>
  471. <mainClass>${mainClass}</mainClass>
  472. <verbose>true</verbose>
  473. <vendor>FUNCODES.CLUB</vendor>
  474. </configuration>
  475. <executions>
  476. <execution>
  477. <id>create-jfxjar</id>
  478. <phase>package</phase>
  479. <goals>
  480. <goal>build-jar</goal>
  481. </goals>
  482. </execution>
  483. <execution>
  484. <id>create-web</id>
  485. <phase>package</phase>
  486. <goals>
  487. <goal>build-web</goal>
  488. </goals>
  489. </execution>
  490. </executions>
  491. </plugin>
  492. </plugins>
  493. </build>
  494. </profile>
  495. </profiles>
  496. </project>