101 lines
3.5 KiB
XML
101 lines
3.5 KiB
XML
|
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
|
<modelVersion>4.0.0</modelVersion>
|
||
|
|
||
|
<groupId>pl.amu.edu</groupId>
|
||
|
<artifactId>demo-03-fp</artifactId>
|
||
|
<version>1.0-SNAPSHOT</version>
|
||
|
<packaging>jar</packaging>
|
||
|
|
||
|
<name>cw1</name>
|
||
|
|
||
|
<properties>
|
||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
<java.version>11</java.version>
|
||
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
||
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
||
|
<maven.compiler.release>${java.version}</maven.compiler.release>
|
||
|
|
||
|
<lombok.version>1.18.24</lombok.version>
|
||
|
<junit.version>5.9.0</junit.version>
|
||
|
<assertj.version>3.23.1</assertj.version>
|
||
|
<mockito.version>4.8.0</mockito.version>
|
||
|
|
||
|
<!-- Plugin versions -->
|
||
|
<maven.shade>3.2.2</maven.shade>
|
||
|
<maven.compiler>3.8.1</maven.compiler>
|
||
|
</properties>
|
||
|
|
||
|
<dependencies>
|
||
|
<!-- Dependencies -->
|
||
|
|
||
|
<!-- Code dependencies -->
|
||
|
<dependency>
|
||
|
<groupId>org.projectlombok</groupId>
|
||
|
<artifactId>lombok</artifactId>
|
||
|
<version>${lombok.version}</version>
|
||
|
<scope>provided</scope>
|
||
|
</dependency>
|
||
|
|
||
|
|
||
|
<!-- Testing dependencies-->
|
||
|
<dependency>
|
||
|
<groupId>org.junit.jupiter</groupId>
|
||
|
<artifactId>junit-jupiter-api</artifactId>
|
||
|
<version>${junit.version}</version>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.junit.jupiter</groupId>
|
||
|
<artifactId>junit-jupiter-engine</artifactId>
|
||
|
<version>${junit.version}</version>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.junit.jupiter</groupId>
|
||
|
<artifactId>junit-jupiter-params</artifactId>
|
||
|
<version>${junit.version}</version>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.assertj</groupId>
|
||
|
<artifactId>assertj-core</artifactId>
|
||
|
<version>${assertj.version}</version>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.mockito</groupId>
|
||
|
<artifactId>mockito-junit-jupiter</artifactId>
|
||
|
<version>${mockito.version}</version>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
|
||
|
</dependencies>
|
||
|
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-shade-plugin</artifactId>
|
||
|
<version>${maven.shade}</version>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<phase>package</phase>
|
||
|
<goals>
|
||
|
<goal>shade</goal>
|
||
|
</goals>
|
||
|
<configuration>
|
||
|
<transformers>
|
||
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
||
|
<mainClass>org.example.App</mainClass>
|
||
|
</transformer>
|
||
|
</transformers>
|
||
|
</configuration>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
</project>
|