Skip to content

Commit 2da4a7f

Browse files
silverdevchingor13
authored andcommitted
Moving surefire-junit4 out of the dependency lists to allow others to better run tests. (#4058)
* Try adding maven-surefire-plugin as a plugin to pull the correct surefire-junit. * Let's move the surefire-junit4 out of util as well to be consistant. * Fix indentation in pom
1 parent c15c1a5 commit 2da4a7f

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

google-cloud-logging/pom.xml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,20 @@
8888
<classifier>testlib</classifier>
8989
<scope>test</scope>
9090
</dependency>
91-
<dependency>
92-
<groupId>org.apache.maven.surefire</groupId>
93-
<artifactId>surefire-junit4</artifactId>
94-
<version>2.19.1</version>
95-
</dependency>
9691
</dependencies>
92+
<build>
93+
<plugins>
94+
<plugin>
95+
<artifactId>maven-surefire-plugin</artifactId>
96+
<version>2.19.1</version>
97+
<dependencies>
98+
<dependency>
99+
<groupId>org.apache.maven.surefire</groupId>
100+
<artifactId>surefire-junit4</artifactId>
101+
<version>2.19.1</version>
102+
</dependency>
103+
</dependencies>
104+
</plugin>
105+
</plugins>
106+
</build>
97107
</project>

0 commit comments

Comments
 (0)