Skip to content

Commit 0ca61a5

Browse files
authored
Merge pull request #1350 from uhafner/plugins
Fix configuration of surefire plugin
2 parents 14f4634 + 4dc6b5a commit 0ca61a5

File tree

1 file changed

+41
-41
lines changed

1 file changed

+41
-41
lines changed

pom.xml

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>edu.hm.hafner</groupId>
66
<artifactId>codingstyle-pom</artifactId>
7-
<version>5.29.0-SNAPSHOT</version>
7+
<version>5.28.1-SNAPSHOT</version>
88
<packaging>pom</packaging>
99

1010
<name>Java coding style POM</name>
@@ -407,46 +407,6 @@
407407
<artifactId>maven-source-plugin</artifactId>
408408
<version>${maven-source-plugin.version}</version>
409409
</plugin>
410-
<plugin>
411-
<groupId>org.apache.maven.plugins</groupId>
412-
<artifactId>maven-surefire-plugin</artifactId>
413-
<version>${maven-surefire-plugin.version}</version>
414-
<configuration>
415-
<trimStackTrace>false</trimStackTrace>
416-
<!-- SUREFIRE-1798 -->
417-
<excludes>
418-
<exclude>**/*ITest.*</exclude>
419-
</excludes>
420-
<argLine>@{argLine} -Djava.util.logging.config.file=logging.properties -javaagent:${org.mockito:mockito-core:jar}</argLine>
421-
</configuration>
422-
<executions>
423-
<execution>
424-
<goals>
425-
<goal>test</goal>
426-
</goals>
427-
<id>default-test</id>
428-
<phase>test</phase>
429-
<configuration>
430-
<excludes>
431-
<exclude>**/archunit/**</exclude>
432-
</excludes>
433-
</configuration>
434-
</execution>
435-
<execution>
436-
<goals>
437-
<goal>test</goal>
438-
</goals>
439-
<id>architecture-test</id>
440-
<phase>test</phase>
441-
<configuration>
442-
<includes>
443-
<include>**/archunit/**</include>
444-
</includes>
445-
<reportsDirectory>${project.build.directory}/archunit-reports</reportsDirectory>
446-
</configuration>
447-
</execution>
448-
</executions>
449-
</plugin>
450410
<plugin>
451411
<groupId>org.assertj</groupId>
452412
<artifactId>assertj-assertions-generator-maven-plugin</artifactId>
@@ -592,6 +552,46 @@
592552
</plugins>
593553
</pluginManagement>
594554
<plugins>
555+
<plugin>
556+
<groupId>org.apache.maven.plugins</groupId>
557+
<artifactId>maven-surefire-plugin</artifactId>
558+
<version>${maven-surefire-plugin.version}</version>
559+
<configuration>
560+
<trimStackTrace>false</trimStackTrace>
561+
<!-- SUREFIRE-1798 -->
562+
<excludes>
563+
<exclude>**/*ITest.*</exclude>
564+
</excludes>
565+
<argLine>@{argLine} -Djava.util.logging.config.file=logging.properties -javaagent:${org.mockito:mockito-core:jar}</argLine>
566+
</configuration>
567+
<executions>
568+
<execution>
569+
<goals>
570+
<goal>test</goal>
571+
</goals>
572+
<id>default-test</id>
573+
<phase>test</phase>
574+
<configuration>
575+
<excludes>
576+
<exclude>**/archunit/**</exclude>
577+
</excludes>
578+
</configuration>
579+
</execution>
580+
<execution>
581+
<goals>
582+
<goal>test</goal>
583+
</goals>
584+
<id>architecture-test</id>
585+
<phase>test</phase>
586+
<configuration>
587+
<includes>
588+
<include>**/archunit/**</include>
589+
</includes>
590+
<reportsDirectory>${project.build.directory}/archunit-reports</reportsDirectory>
591+
</configuration>
592+
</execution>
593+
</executions>
594+
</plugin>
595595
<plugin>
596596
<groupId>com.github.spotbugs</groupId>
597597
<artifactId>spotbugs-maven-plugin</artifactId>

0 commit comments

Comments
 (0)