|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | + |
| 3 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 5 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + |
| 7 | + <parent> |
| 8 | + <groupId>it.scoverage-maven-plugin</groupId> |
| 9 | + <artifactId>integration_tests_parent</artifactId> |
| 10 | + <version>1.0-SNAPSHOT</version> |
| 11 | + <relativePath>../integration_tests_parent/pom.xml</relativePath> |
| 12 | + </parent> |
| 13 | + |
| 14 | + <artifactId>test_exclusion</artifactId> |
| 15 | + <version>1.0-SNAPSHOT</version> |
| 16 | + <packaging>jar</packaging> |
| 17 | + <name>Test Scoverage exclusion</name> |
| 18 | + <description>Test Scoverage exclusion</description> |
| 19 | + |
| 20 | + <properties> |
| 21 | + <!-- won't work with Scala 3, as it doesn't support exclusions yet --> |
| 22 | + <scala.compat.version>2.13</scala.compat.version> |
| 23 | + <scala.minor.version>12</scala.minor.version> |
| 24 | + </properties> |
| 25 | + |
| 26 | + <build> |
| 27 | + <plugins> |
| 28 | + <plugin> |
| 29 | + <groupId>org.apache.maven.plugins</groupId> |
| 30 | + <artifactId>maven-compiler-plugin</artifactId> |
| 31 | + </plugin> |
| 32 | + <plugin> |
| 33 | + <groupId>net.alchim31.maven</groupId> |
| 34 | + <artifactId>scala-maven-plugin</artifactId> |
| 35 | + </plugin> |
| 36 | + <plugin> |
| 37 | + <groupId>org.scalatest</groupId> |
| 38 | + <artifactId>scalatest-maven-plugin</artifactId> |
| 39 | + </plugin> |
| 40 | + <plugin> |
| 41 | + <groupId>@project.groupId@</groupId> |
| 42 | + <artifactId>@project.artifactId@</artifactId> |
| 43 | + <configuration> |
| 44 | + <excludedPackages>.*package02.*;.*package05</excludedPackages> |
| 45 | + <excludedFiles>.*Package03HelloService.*;.*Package03ByeService</excludedFiles> |
| 46 | + </configuration> |
| 47 | + </plugin> |
| 48 | + </plugins> |
| 49 | + </build> |
| 50 | +</project> |
0 commit comments