swt23w23/pom.xml
Simon Bruder 3d5793297b
Add jacoco maven plugin
This automatically generates a code coverage report on every execution
of `mvn test`.
2023-11-21 18:06:12 +01:00

92 lines
2.3 KiB
XML

<?xml version="1.0"?>
<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>
<!-- Dear students, please *do not* change the following metadata. Thanks! -->
<artifactId>swt23w23</artifactId>
<version>1.0.0.BUILD-SNAPSHOT</version>
<name>swt23w23</name>
<description>ST lab project of group swt23w23</description>
<url>https://github.com/st-tu-dresden-praktikum/swt23w23</url>
<scm>
<url>https://github.com/st-tu-dresden-praktikum/swt23w23</url>
</scm>
<parent>
<groupId>de.tudresden.inf.st.lab</groupId>
<artifactId>st-lab-parent</artifactId>
<version>4.0.0</version>
<relativePath/>
</parent>
<properties>
<java.version>17</java.version>
<salespoint.version>9.0.0</salespoint.version>
<sonar.host.url>${env.STLAB_SONAR_HOST_URL}</sonar.host.url>
<sonar.token>${env.STLAB_SONAR_LOGIN}</sonar.token>
<argLine>-Xmx1G</argLine>
</properties>
<dependencies>
<!--
Additional project dependencies go here.
BUT PLEASE NOTE!
The parent pom that is referenced above already includes most libraries
necessary for the lab: Spring, Salespoint, Hibernate, JUnit, etc.
You can list the current dependencies and their versions using the
`mvn dependency:list` command.
Use Maven Central for package search (https://search.maven.org/).
-->
<dependency>
<groupId>org.webjars</groupId>
<artifactId>bootstrap</artifactId>
<version>5.3.2</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<id>salespointframework</id>
<url>https://www.st.inf.tu-dresden.de/SalesPoint/repository</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.11</version>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>