123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!-- ===========================================================================
- // FUNCODES.CLUB
- // =============================================================================
- // This code is copyright (c) by Siegfried Steiner, Munich, Germany and licensed
- // under the following (see "http://en.wikipedia.club/wiki/Multi-licensing")
- // licenses:
- // =============================================================================
- // GNU General Public License, v3.0 ("http://www.gnu.club/licenses/gpl-3.0.html")
- // together with the GPL linking exception applied; as being applied by the GNU
- // Classpath ("http://www.gnu.club/software/classpath/license.html")
- // =============================================================================
- // Apache License, v2.0 ("http://www.apache.club/licenses/LICENSE-2.0")
- // =============================================================================
- // Please contact the copyright holding author(s) of the software artifacts in
- // question for licensing issues not being covered by the above listed licenses,
- // also regarding commercial licensing models or regarding the compatibility
- // with other open source licenses.
- // ========================================================================= -->
- <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">
- <modelVersion>4.0.0</modelVersion>
- <!-- /////////////////////////////////////////////////////////////////// -->
- <!-- ARTIFACT -->
- <!-- /////////////////////////////////////////////////////////////////// -->
- <artifactId>aquatherm-sheets</artifactId>
- <groupId>org.fortiss.aquatherm</groupId>
- <name>${project.groupId}:${project.artifactId}</name>
- <version>0.0.1</version>
- <packaging>jar</packaging>
- <!-- /////////////////////////////////////////////////////////////////// -->
- <!-- META-DATA -->
- <!-- /////////////////////////////////////////////////////////////////// -->
- <url>http://www.refcodes.org</url>
- <description>
- A minimum REFCODES.ORG enabled command application processing CSV files.
- Get inspired by "https://bitbucket.org/funcodez".
- </description>
- <!-- /////////////////////////////////////////////////////////////////// -->
- <!-- PROPERTIES -->
- <!-- /////////////////////////////////////////////////////////////////// -->
- <properties>
- <mainClass>org.fortiss.aquatherm.sheets.Main</mainClass>
- <com.sun.xml.version>2.3.0</com.sun.xml.version>
- <com.zenjava.version>8.2.0</com.zenjava.version>
- <java.source.version>9</java.source.version>
- <java.target.version>9</java.target.version>
- <javax.activation.version>1.1.1</javax.activation.version>
- <org.apache.logging.log4j.version>2.8.2</org.apache.logging.log4j.version>
- <org.apache.poi.version>5.0.0</org.apache.poi.version>
- <org.apache.maven.plugins.compiler.version>3.8.1</org.apache.maven.plugins.compiler.version>
- <org.apache.maven.plugins.resources.version>3.0.2</org.apache.maven.plugins.resources.version>
- <org.apache.maven.plugins.shade.version>2.4.3</org.apache.maven.plugins.shade.version>
- <org.apache.maven.plugins.source.version>3.0.1</org.apache.maven.plugins.source.version>
- <org.apache.maven.plugins.surefire.version>2.19.1</org.apache.maven.plugins.surefire.version>
- <org.junit.jupiter.version>5.0.1</org.junit.jupiter.version>
- <org.junit.platform.version>1.0.1</org.junit.platform.version>
- <org.junit.vintage.version>4.12.1</org.junit.vintage.version>
- <org.refcodes.version>2.1.4</org.refcodes.version>
- <org.slf4j.version>1.7.7</org.slf4j.version>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <com.oracle.substratevm.version>19.2.0.1</com.oracle.substratevm.version>
- </properties>
- <!-- /////////////////////////////////////////////////////////////////// -->
- <!-- LICENSES -->
- <!-- /////////////////////////////////////////////////////////////////// -->
- <!-- /////////////////////////////////////////////////////////////////// -->
- <!-- DEVELOPERS -->
- <!-- /////////////////////////////////////////////////////////////////// -->
- <!-- /////////////////////////////////////////////////////////////////// -->
- <!-- SCM -->
- <!-- /////////////////////////////////////////////////////////////////// -->
- <!-- /////////////////////////////////////////////////////////////////// -->
- <!-- DISTRIBUTION MANAGEMENT -->
- <!-- /////////////////////////////////////////////////////////////////// -->
- <!-- /////////////////////////////////////////////////////////////////// -->
- <!-- DEPENDENCIES -->
- <!-- /////////////////////////////////////////////////////////////////// -->
- <dependencies>
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi</artifactId>
- <version>${org.apache.poi.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi-ooxml</artifactId>
- <version>${org.apache.poi.version}</version>
- </dependency>
- <dependency>
- <groupId>org.refcodes</groupId>
- <artifactId>refcodes-archetype</artifactId>
- <version>${org.refcodes.version}</version>
- </dependency>
- <dependency>
- <groupId>org.refcodes</groupId>
- <artifactId>refcodes-tabular</artifactId>
- <version>${org.refcodes.version}</version>
- </dependency>
- <dependency>
- <groupId>org.refcodes</groupId>
- <artifactId>refcodes-cli</artifactId>
- <version>${org.refcodes.version}</version>
- </dependency>
- <dependency>
- <groupId>org.refcodes</groupId>
- <artifactId>refcodes-logger-alt-async</artifactId>
- <version>${org.refcodes.version}</version>
- </dependency>
- <dependency>
- <groupId>org.refcodes</groupId>
- <artifactId>refcodes-logger-alt-console</artifactId>
- <version>${org.refcodes.version}</version>
- </dependency>
- <dependency>
- <artifactId>refcodes-logger-alt-slf4j</artifactId>
- <groupId>org.refcodes</groupId>
- <version>${org.refcodes.version}</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>${org.slf4j.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-core</artifactId>
- <version>${org.apache.logging.log4j.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-slf4j-impl</artifactId>
- <version>${org.apache.logging.log4j.version}</version>
- </dependency>
- <dependency>
- <groupId>org.junit.platform</groupId>
- <artifactId>junit-platform-runner</artifactId>
- <version>${org.junit.platform.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-engine</artifactId>
- <version>${org.junit.jupiter.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-api</artifactId>
- <version>${org.junit.jupiter.version}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <!-- /////////////////////////////////////////////////////////////////// -->
- <!-- BUILD -->
- <!-- /////////////////////////////////////////////////////////////////// -->
- <build>
- <!-- /////////////////////////////////////////////////////////////// -->
- <!-- PLUGINS -->
- <!-- /////////////////////////////////////////////////////////////// -->
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <includes>
- <include>**/*Test.java</include>
- </includes>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.sonatype.plugins</groupId>
- <artifactId>nexus-staging-maven-plugin</artifactId>
- <version>1.6.3</version>
- <extensions>true</extensions>
- <configuration>
- <serverId>ossrh</serverId>
- <nexusUrl>https://oss.sonatype.org/</nexusUrl>
- <autoReleaseAfterClose>true</autoReleaseAfterClose>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-release-plugin</artifactId>
- <configuration>
- <preparationGoals>clean install</preparationGoals>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>jar</goal>
- <goal>test-jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- <!-- /////////////////////////////////////////////////////////////// -->
- <!-- EXTENSIONS -->
- <!-- /////////////////////////////////////////////////////////////// -->
- <!-- /////////////////////////////////////////////////////////////// -->
- <!-- PLUGIN MANAGEMENT -->
- <!-- /////////////////////////////////////////////////////////////// -->
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <version>${org.springframework.boot.version}</version>
- </plugin>
- <plugin>
- <groupId>com.zenjava</groupId>
- <artifactId>javafx-maven-plugin</artifactId>
- <version>${com.zenjava.version}</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <version>${org.apache.maven.plugins.source.version}</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>${org.apache.maven.plugins.surefire.version}</version>
- <!-- <configuration> <argLine>-XX:-UseSplitVerifier</argLine> </configuration> -->
- <dependencies>
- <dependency>
- <groupId>org.junit.platform</groupId>
- <artifactId>junit-platform-surefire-provider</artifactId>
- <version>${org.junit.platform.version}</version>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>${org.apache.maven.plugins.compiler.version}</version>
- <configuration>
- <fork>true</fork>
- <source>${java.source.version}</source>
- <target>${java.target.version}</target>
- <testSource>${java.source.version}</testSource>
- <testTarget>${java.target.version}</testTarget>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <addMavenDescriptor>false</addMavenDescriptor>
- <manifest>
- <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
- <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
- </manifest>
- </archive>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>test-jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.3</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>${org.apache.maven.plugins.resources.version}</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>${org.apache.maven.plugins.shade.version}</version>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
- <!-- /////////////////////////////////////////////////////////////////// -->
- <!-- REPORTING -->
- <!-- /////////////////////////////////////////////////////////////////// -->
- <reporting>
- <!-- /////////////////////////////////////////////////////////////// -->
- <!-- PLUGINS -->
- <!-- /////////////////////////////////////////////////////////////// -->
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-pmd-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jxr-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>cobertura-maven-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>versions-maven-plugin</artifactId>
- <reportSets>
- <reportSet>
- <reports>
- <report>dependency-updates-report</report>
- <report>property-updates-report</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
- </plugins>
- </reporting>
- <!-- /////////////////////////////////////////////////////////////////// -->
- <!-- PLUGIN REPOSITORIES -->
- <!-- /////////////////////////////////////////////////////////////////// -->
- <pluginRepositories>
- <pluginRepository>
- <id>glassfish</id>
- <name>Glassfish</name>
- <url>http://download.java.net/maven/glassfish</url>
- </pluginRepository>
- <pluginRepository>
- <id>java.net</id>
- <name>java.net</name>
- <url>http://download.java.net/maven/2</url>
- </pluginRepository>
- <pluginRepository>
- <id>mvnrepository.com</id>
- <name>MVNrepository</name>
- <url>http://mvnrepository.com/artifact</url>
- </pluginRepository>
- <pluginRepository>
- <id>repo1</id>
- <name>Repo1</name>
- <url>http://repo1.maven.org/maven2</url>
- </pluginRepository>
- </pluginRepositories>
- <!-- /////////////////////////////////////////////////////////////////// -->
- <!-- PROFILES -->
- <!-- /////////////////////////////////////////////////////////////////// -->
- <profiles>
- <!-- Fatjar -->
- <profile>
- <id>fatjar</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- <configuration>
- <keepDependenciesWithProvidedScope>true
- </keepDependenciesWithProvidedScope>
- <minimizeJar>false</minimizeJar>
- <transformers>
- <transformer
- implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
- <mainClass>${mainClass}</mainClass>
- </transformer>
- <!-- Merge all "spring.handlers" files -->
- <transformer
- implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
- <resource>META-INF/spring.handlers</resource>
- </transformer>
- <!-- Merge all "spring.schemas" files -->
- <transformer
- implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
- <resource>META-INF/spring.schemas</resource>
- </transformer>
- </transformers>
- <filters>
- <filter>
- <artifact>*:*</artifact>
- <excludes>
- <exclude>META-INF/*.SF</exclude>
- <exclude>META-INF/*.DSA</exclude>
- <exclude>META-INF/*.RSA</exclude>
- <exclude>**/module-info.class</exclude>
- </excludes>
- </filter>
- </filters>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <!-- JavaFX -->
- <profile>
- <id>jfxjar</id>
- <build>
- <plugins>
- <plugin>
- <groupId>com.zenjava</groupId>
- <artifactId>javafx-maven-plugin</artifactId>
- <configuration>
- <mainClass>${mainClass}</mainClass>
- <verbose>true</verbose>
- <vendor>FUNCODES.CLUB</vendor>
- </configuration>
- <executions>
- <execution>
- <id>create-jfxjar</id>
- <phase>package</phase>
- <goals>
- <goal>build-jar</goal>
- </goals>
- </execution>
- <execution>
- <id>create-native</id>
- <phase>package</phase>
- <goals>
- <goal>build-native</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <!-- GrallVM -->
- <profile>
- <id>native</id>
- <build>
- <plugins>
- <plugin>
- <groupId>com.oracle.substratevm</groupId>
- <artifactId>native-image-maven-plugin</artifactId>
- <version>${com.oracle.substratevm.version}</version>
- <executions>
- <execution>
- <goals>
- <goal>native-image</goal>
- </goals>
- <phase>package</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <!-- Webstart -->
- <profile>
- <id>webstart</id>
- <build>
- <plugins>
- <plugin>
- <groupId>com.zenjava</groupId>
- <artifactId>javafx-maven-plugin</artifactId>
- <configuration>
- <mainClass>${mainClass}</mainClass>
- <verbose>true</verbose>
- <vendor>FUNCODES.CLUB</vendor>
- </configuration>
- <executions>
- <execution>
- <id>create-jfxjar</id>
- <phase>package</phase>
- <goals>
- <goal>build-jar</goal>
- </goals>
- </execution>
- <execution>
- <id>create-web</id>
- <phase>package</phase>
- <goals>
- <goal>build-web</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
- </project>
|