Skip to content

Commit b4943db

Browse files
committed
Exclude test snippets from being executed as tests.
1 parent e63a5f3 commit b4943db

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

spring-data-jpa-showcase/pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,17 @@
5858
</execution>
5959
</executions>
6060
</plugin>
61+
62+
<plugin>
63+
<groupId>org.apache.maven.plugins</groupId>
64+
<artifactId>maven-surefire-plugin</artifactId>
65+
<version>2.4.3</version>
66+
<configuration>
67+
<excludes>
68+
<exclude>**/snippets/**/*.java</exclude>
69+
</excludes>
70+
</configuration>
71+
</plugin>
6172
</plugins>
6273
</build>
6374

0 commit comments

Comments
 (0)