132 lines
3.6 KiB
XML
132 lines
3.6 KiB
XML
<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/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>it1901</groupId>
|
|
<artifactId>oysteikt-calc</artifactId>
|
|
<version>1.0.0</version>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.source>16</maven.compiler.source>
|
|
<maven.compiler.target>16</maven.compiler.target>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<!-- javafx -->
|
|
<dependency>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-controls</artifactId>
|
|
<version>16</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-fxml</artifactId>
|
|
<version>16</version>
|
|
</dependency>
|
|
|
|
<!-- junit testing with jupiter -->
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
<version>5.7.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
|
<version>5.7.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-params</artifactId>
|
|
<version>5.7.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- test javafx with TextFX -->
|
|
<dependency>
|
|
<groupId>org.testfx</groupId>
|
|
<artifactId>testfx-core</artifactId>
|
|
<version>4.0.16-alpha</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.testfx</groupId>
|
|
<artifactId>testfx-junit5</artifactId>
|
|
<version>4.0.16-alpha</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hamcrest</groupId>
|
|
<artifactId>hamcrest</artifactId>
|
|
<version>2.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- Monocle - Headless UI testing in CI -->
|
|
<dependency>
|
|
<groupId>org.testfx</groupId>
|
|
<artifactId>openjfx-monocle</artifactId>
|
|
<version>jdk-12.0.1+2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.1</version>
|
|
<configuration>
|
|
<release>16</release>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>3.0.0-M5</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-maven-plugin</artifactId>
|
|
<version>0.0.6</version>
|
|
<!-- Default configuration for running -->
|
|
<!-- Usage: mvn javafx:run -->
|
|
<configuration>
|
|
<mainClass>oysteikt.calc.CalcApp</mainClass>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- Plugin to generate code coverage reports -->
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<version>0.8.6</version>
|
|
<executions>
|
|
<execution>
|
|
<id>default-prepare-agent</id>
|
|
<goals>
|
|
<goal>prepare-agent</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>default-report</id>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>report</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
</project>
|