Select Git revision
-
Robert Goldmann authoredRobert Goldmann authored
pom.xml 15.78 KiB
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>de.deadlocker8</groupId>
<artifactId>BudgetMaster</artifactId>
<version>2.9.1</version>
<name>BudgetMaster</name>
<repositories>
<repository>
<id>release</id>
<url>https://maven.thecodelabs.de/artifactory/TheCodeLabs-release</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>snapshots</id>
<url>https://maven.thecodelabs.de/artifactory/TheCodeLabs-snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.6.3</version>
<relativePath/>
</parent>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>de.thecodelabs</groupId>
<artifactId>jlibs</artifactId>
<version>${jlibs.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>17</java.version>
<jlibs.version>3.2.0</jlibs.version>
<versionizer.version>3.0.1</versionizer.version>
<webjars-locator.version>0.42</webjars-locator.version>
<jquery.version>3.6.0</jquery.version>
<materializecss.version>1.0.0</materializecss.version>
<fontawesome.version>6.0.0</fontawesome.version>
<sortablejs.version>1.14.0</sortablejs.version>
<mousetrap.version>1.6.5</mousetrap.version>
<codemirror.version>5.62.2</codemirror.version>
<selenium.version>4.1.2</selenium.version>
<assertj-core.version>3.22.0</assertj-core.version>
<jgit.version>6.0.0.202111291000-r</jgit.version>
<natorder.version>1.1.2</natorder.version>
<h2database.version>1.4.199</h2database.version>
<itextpdf.version>5.5.13.2</itextpdf.version>
<vanilla-picker.version>2.12.1</vanilla-picker.version>
<jacoco-maven-plugin.version>0.8.7</jacoco-maven-plugin.version>
<dependency-check-maven.version>6.5.3</dependency-check-maven.version>
<app.versionDate>${maven.build.timestamp}</app.versionDate>
<maven.build.timestamp.format>dd.MM.yy</maven.build.timestamp.format>
<app.versionCode>36</app.versionCode>
<app.author>Robert Goldmann</app.author>
<project.outputDirectory>build/${project.version}</project.outputDirectory>
<project.artifactName>${project.artifactId}-v${project.version}</project.artifactName>
<project.exe>${project.outputDirectory}/${project.artifactName}.exe</project.exe>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-freemarker</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>de.thecodelabs</groupId>
<artifactId>libUtils</artifactId>
</dependency>
<dependency>
<groupId>de.thecodelabs</groupId>
<artifactId>libStorage</artifactId>
</dependency>
<dependency>
<groupId>de.thecodelabs.versionizer</groupId>
<artifactId>api</artifactId>
<version>${versionizer.version}</version>
<exclusions>
<exclusion>
<groupId>de.thecodelabs</groupId>
<artifactId>libLogger-slf4j</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>${h2database.version}</version>
</dependency>
<dependency>
<groupId>com.itextpdf</groupId>
<artifactId>itextpdf</artifactId>
<version>${itextpdf.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jgit</groupId>
<artifactId>org.eclipse.jgit</artifactId>
<version>${jgit.version}</version>
</dependency>
<dependency>
<groupId>org.padler</groupId>
<artifactId>natorder</artifactId>
<version>${natorder.version}</version>
</dependency>
<!--Webjars-->
<dependency>
<groupId>org.webjars</groupId>
<artifactId>webjars-locator</artifactId>
<version>${webjars-locator.version}</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>jquery</artifactId>
<version>${jquery.version}</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>materializecss</artifactId>
<version>${materializecss.version}</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>font-awesome</artifactId>
<version>${fontawesome.version}</version>
</dependency>
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>sortablejs</artifactId>
<version>${sortablejs.version}</version>
</dependency>
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>mousetrap</artifactId>
<version>${mousetrap.version}</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>codemirror</artifactId>
<version>${codemirror.version}</version>
</dependency>
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>vanilla-picker</artifactId>
<version>${vanilla-picker.version}</version>
</dependency>
<!-- selenium -->
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-api</artifactId>
<version>${selenium.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-firefox-driver</artifactId>
<version>${selenium.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-support</artifactId>
<version>${selenium.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj-core.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-inline</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<outputDirectory>${project.outputDirectory}</outputDirectory>
<finalName>${project.artifactName}</finalName>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.2</version>
<configuration>
<webappDirectory>${basedir}/src/main</webappDirectory>
<outputDirectory>${project.outputDirectory}</outputDirectory>
<warName>${project.artifactName}</warName>
</configuration>
<executions>
<execution>
<id>war-packaging</id>
<goals>
<goal>war</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.akathist.maven.plugins.launch4j</groupId>
<artifactId>launch4j-maven-plugin</artifactId>
<version>2.1.2</version>
<executions>
<execution>
<id>l4j-clui</id>
<phase>package</phase>
<goals>
<goal>launch4j</goal>
</goals>
<configuration>
<headerType>gui</headerType>
<jar>${project.outputDirectory}/${project.artifactName}.jar</jar>
<outfile>${project.exe}</outfile>
<downloadUrl>https://adoptopenjdk.net/</downloadUrl>
<classPath>
<mainClass>${project.groupId}${project.artifactId}.Main</mainClass>
</classPath>
<jre>
<bundledJre64Bit>false</bundledJre64Bit>
<bundledJreAsFallback>false</bundledJreAsFallback>
<minVersion>11</minVersion>
<jdkPreference>preferJre</jdkPreference>
<runtimeBits>64</runtimeBits>
</jre>
<icon>build/icon.ico</icon>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
<configuration>
<junitArtifactName>junit:junit</junitArtifactName>
<argLine>${surefireArgLine} -Dfile.encoding=UTF-8</argLine>
<systemPropertyVariables>
<testProfile>true</testProfile>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-maven-plugin.version}</version>
<executions>
<execution>
<id>aggregate-reports-all</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
<configuration>
<title>BudgetMaster Code Coverage</title>
</configuration>
</execution>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<propertyName>surefireArgLine</propertyName>
</configuration>
</execution>
</executions>
</plugin>
<!--Deploy Plugin-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${project.exe}</file>
<type>exe</type>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>${dependency-check-maven.version}</version>
<inherited>false</inherited>
<configuration>
<skip>false</skip>
<cveValidForHours>48</cveValidForHours>
<assemblyAnalyzerEnabled>false</assemblyAnalyzerEnabled>
<failOnError>false</failOnError>
<formats>
<format>HTML</format>
<format>XML</format>
</formats>
</configuration>
<executions>
<execution>
<goals>
<goal>aggregate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<distributionManagement>
<repository>
<id>release</id>
<name>TheCodeLabs-releases</name>
<url>https://maven.thecodelabs.de/artifactory/TheCodeLabs-release</url>
</repository>
<snapshotRepository>
<id>snapshots</id>
<name>TheCodeLabs-snapshots</name>
<url>https://maven.thecodelabs.de/artifactory/TheCodeLabs-snapshots</url>
</snapshotRepository>
</distributionManagement>
</project>