diff options
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -43,6 +43,7 @@ <jacoco.version>0.8.3</jacoco.version> <egovutils.version>2.0.7-snapshot</egovutils.version> <eaaf-components.version>1.0.7</eaaf-components.version> + <maven-surefire-plugin.version>2.22.1</maven-surefire-plugin.version> <mzs.ns>http://reference.e-government.gv.at/namespace/zustellung/mzs/app2mzs#</mzs.ns> <mzs.p.ns>http://reference.e-government.gv.at/namespace/zustellung/mzs/persondata#</mzs.p.ns> @@ -59,6 +60,23 @@ <tnvz.package>at.gv.zustellung.tnvz.xsd</tnvz.package> </properties> + <profiles> + <profile> + <id>dev</id> + <activation><activeByDefault>true</activeByDefault></activation> + <properties> + <exclude-test-pattern>**/IT*Test.java</exclude-test-pattern> + </properties> + </profile> + <profile> + <id>integration-test</id> + <properties> + <exclude-test-pattern></exclude-test-pattern> + </properties> + </profile> + </profiles> + + <dependencies> <!-- spring-boot --> <dependency> @@ -223,6 +241,18 @@ </execution> </executions> </plugin> + <!-- tests --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>${maven-surefire-plugin.version}</version> + <configuration> + <excludes> + <exclude>${exclude-test-pattern}</exclude> + </excludes> + </configuration> + </plugin> + </plugins> </build> </project> |