Skip to content
Snippets Groups Projects
pom.xml 10.5 KiB
Newer Older
  • Learn to ignore specific revisions
  • <?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">
        <parent>
            <artifactId>BudgetMaster</artifactId>
            <groupId>de.deadlocker8</groupId>
    
    Robert Goldmann's avatar
    Robert Goldmann committed
            <version>2.18.0</version>
    
        </parent>
        <modelVersion>4.0.0</modelVersion>
    
        <artifactId>BudgetMasterServer</artifactId>
    
        <dependencyManagement>
            <dependencies>
                <dependency>
                    <groupId>de.thecodelabs</groupId>
                    <artifactId>jlibs</artifactId>
                    <version>${jlibs.version}</version>
                    <type>pom</type>
                    <scope>import</scope>
                </dependency>
            </dependencies>
        </dependencyManagement>
    
        <properties>
            <jlibs.version>3.2.0</jlibs.version>
            <versionizer.version>3.0.1</versionizer.version>
    
            <webjars-locator.version>1.1.0</webjars-locator.version>
    
            <jquery.version>3.7.1</jquery.version>
    
            <materializecss.version>1.0.0</materializecss.version>
    
            <fontawesome.version>6.7.2</fontawesome.version>
    
            <sortablejs.version>1.15.6</sortablejs.version>
    
            <mousetrap.version>1.6.5</mousetrap.version>
            <codemirror.version>5.62.2</codemirror.version>
    
            <selenium.version>4.31.0</selenium.version>
    
            <jgit.version>7.2.0.202503040940-r</jgit.version>
    
            <natorder.version>1.1.3</natorder.version>
    
            <itextpdf.version>5.5.13.4</itextpdf.version>
    
            <vanilla-picker.version>2.12.3</vanilla-picker.version>
    
            <jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
    
            <opencsv.version>5.10</opencsv.version>
    
            <datatables.version>2.1.8</datatables.version>
    
            <jakarta.xml.bind-api.version>4.0.2</jakarta.xml.bind-api.version>
    
            <junit-jupiter-engine.version>5.12.1</junit-jupiter-engine.version>
    
            <project.outputDirectory>${project.build.directory}/../build/${project.version}</project.outputDirectory>
    
            <project.artifactName>${project.artifactId}-v${project.version}</project.artifactName>
        </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-data-jpa</artifactId>
            </dependency>
    
    
                <groupId>org.hibernate.orm</groupId>
    
                <artifactId>hibernate-jpamodelgen</artifactId>
                <optional>true</optional>
            </dependency>
    
            <dependency>
                <groupId>jakarta.xml.bind</groupId>
                <artifactId>jakarta.xml.bind-api</artifactId>
                <version>${jakarta.xml.bind-api.version}</version>
            </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>org.postgresql</groupId>
                <artifactId>postgresql</artifactId>
            </dependency>
    
    
            <dependency>
                <groupId>org.mariadb.jdbc</groupId>
                <artifactId>mariadb-java-client</artifactId>
            </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>
    
    
            <dependency>
                <groupId>com.opencsv</groupId>
                <artifactId>opencsv</artifactId>
                <version>${opencsv.version}</version>
            </dependency>
    
    
            <!--Webjars-->
            <dependency>
                <groupId>org.webjars</groupId>
    
                <artifactId>webjars-locator-lite</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>
    
            <dependency>
                <groupId>org.webjars</groupId>
                <artifactId>datatables</artifactId>
                <version>${datatables.version}</version>
            </dependency>
    
            <dependency>
                <groupId>org.projectlombok</groupId>
                <artifactId>lombok</artifactId>
                <scope>provided</scope>
            </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>
        </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-surefire-plugin</artifactId>
    
                    <dependencies>
                        <dependency>
                            <groupId>org.junit.jupiter</groupId>
                            <artifactId>junit-jupiter-engine</artifactId>
                            <version>${junit-jupiter-engine.version}</version>
                        </dependency>
                    </dependencies>
    
                        <!--suppress MavenModelInspection -->
    
                        <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>
            </plugins>
        </build>
    </project>