Skip to content

Commit 5fdb1df

Browse files
committed
java compiler warning cleanup
* mockito-core configured as java agent for tests
1 parent f72b861 commit 5fdb1df

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

dsf-bpe/dsf-bpe-server/pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,17 @@
268268
</compilerArgs>
269269
</configuration>
270270
</plugin>
271+
<plugin>
272+
<groupId>org.apache.maven.plugins</groupId>
273+
<artifactId>maven-dependency-plugin</artifactId>
274+
<executions>
275+
<execution>
276+
<goals>
277+
<goal>properties</goal>
278+
</goals>
279+
</execution>
280+
</executions>
281+
</plugin>
271282
<plugin>
272283
<groupId>org.apache.maven.plugins</groupId>
273284
<artifactId>maven-surefire-plugin</artifactId>
@@ -279,6 +290,7 @@
279290
<exclude>**/*DaoTest</exclude>
280291
<exclude>**/*IntegrationTest</exclude>
281292
</excludes>
293+
<argLine>-javaagent:${org.mockito:mockito-core:jar}</argLine>
282294
</configuration>
283295
</plugin>
284296
<plugin>

0 commit comments

Comments
 (0)