Updated pom

class_user
Selim Eser 2024-06-03 22:47:45 +02:00
parent 5edfeb88be
commit 9438c9d0a4
2 changed files with 116 additions and 105 deletions

221
pom.xml
View File

@ -1,106 +1,117 @@
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <project xmlns="http://maven.apache.org/POM/4.0.0"
<modelVersion>4.0.0</modelVersion> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<groupId>de.hs_mannheim</groupId> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<artifactId>travelbuddyapp</artifactId> <modelVersion>4.0.0</modelVersion>
<version>0.0.1-SNAPSHOT</version> <groupId>de.hs_mannheim</groupId>
<properties> <artifactId>travelbuddyapp</artifactId>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <version>0.0.1-SNAPSHOT</version>
<maven.compiler.source>21</maven.compiler.source> <properties>
<maven.compiler.target>21</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties> <maven.compiler.source>21</maven.compiler.source>
<dependencies> <maven.compiler.target>21</maven.compiler.target>
<dependency> </properties>
<groupId>org.junit.jupiter</groupId> <dependencies>
<artifactId>junit-jupiter-api</artifactId> <dependency>
<version>5.8.1</version> <groupId>org.junit.jupiter</groupId>
<scope>test</scope> <artifactId>junit-jupiter-api</artifactId>
</dependency> <version>5.8.1</version>
<dependency> <scope>test</scope>
<groupId>org.junit.jupiter</groupId> </dependency>
<artifactId>junit-jupiter-engine</artifactId> <dependency>
<version>5.8.1</version> <groupId>org.junit.jupiter</groupId>
<scope>test</scope> <artifactId>junit-jupiter-engine</artifactId>
</dependency> <version>5.8.1</version>
</dependencies> <scope>test</scope>
<build> </dependency>
<plugins> <dependency>
<plugin> <groupId>org.json</groupId>
<groupId>org.apache.maven.plugins</groupId> <artifactId>json</artifactId>
<artifactId>maven-compiler-plugin</artifactId> <version>20210307</version>
<version>3.8.1</version> </dependency>
<configuration> </dependencies>
<source>${maven.compiler.source}</source> <build>
<target>${maven.compiler.target}</target> <plugins>
</configuration> <plugin>
</plugin> <groupId>org.apache.maven.plugins</groupId>
<!-- JAR creation --> <artifactId>maven-compiler-plugin</artifactId>
<plugin> <version>3.8.1</version>
<groupId>org.apache.maven.plugins</groupId> <configuration>
<artifactId>maven-shade-plugin</artifactId> <source>${maven.compiler.source}</source>
<version>3.2.4</version> <target>${maven.compiler.target}</target>
<executions> </configuration>
<execution> </plugin>
<phase>package</phase> <!-- JAR creation -->
<goals> <plugin>
<goal>shade</goal> <groupId>org.apache.maven.plugins</groupId>
</goals> <artifactId>maven-shade-plugin</artifactId>
<configuration> <version>3.2.4</version>
<transformers> <configuration>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> <createDependencyReducedPom>false</createDependencyReducedPom>
<mainClass> de.hs_mannheim.ui.Main</mainClass> </configuration>
</transformer> <executions>
</transformers> <execution>
</configuration> <phase>package</phase>
</execution> <goals>
</executions> <goal>shade</goal>
</plugin> </goals>
<!-- Code coverage, cf.: target/site/jacoco --> <configuration>
<plugin> <transformers>
<groupId>org.jacoco</groupId> <transformer
<artifactId>jacoco-maven-plugin</artifactId> implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<version>0.8.12</version> <mainClass> de.hs_mannheim.ui.Main</mainClass>
<executions> </transformer>
<execution> </transformers>
<goals> </configuration>
<goal>prepare-agent</goal> </execution>
</goals> </executions>
</execution> </plugin>
<execution> <!-- Code coverage, cf.: target/site/jacoco -->
<id>report</id> <plugin>
<phase>test</phase> <groupId>org.jacoco</groupId>
<goals> <artifactId>jacoco-maven-plugin</artifactId>
<goal>report</goal> <version>0.8.12</version>
</goals> <executions>
</execution> <execution>
</executions> <goals>
</plugin> <goal>prepare-agent</goal>
<!-- Static code analysis, cf: target/site/pmd.html --> </goals>
<plugin> </execution>
<groupId>org.apache.maven.plugins</groupId> <execution>
<artifactId>maven-pmd-plugin</artifactId> <id>report</id>
<version>3.22.0</version> <phase>test</phase>
<executions> <goals>
<execution> <goal>report</goal>
<phase>verify</phase> </goals>
<goals> </execution>
<goal>check</goal> </executions>
</goals> </plugin>
</execution> <!-- Static code analysis, cf: target/site/pmd.html -->
</executions> <plugin>
</plugin> <groupId>org.apache.maven.plugins</groupId>
<!-- Security checking the plugins (not so important for non-web applications) --> <artifactId>maven-pmd-plugin</artifactId>
<plugin> <version>3.22.0</version>
<groupId>org.owasp</groupId> <executions>
<artifactId>dependency-check-maven</artifactId> <execution>
<version>9.2.0</version> <phase>verify</phase>
<executions> <goals>
<execution> <goal>check</goal>
<goals> </goals>
<goal>check</goal> </execution>
</goals> </executions>
</execution> </plugin>
</executions> <!-- Security checking the plugins (not so important for non-web applications) -->
</plugin> <plugin>
</plugins> <groupId>org.owasp</groupId>
</build> <artifactId>dependency-check-maven</artifactId>
<version>9.2.0</version>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project> </project>