Skip to content

Commit 4f549db

Browse files
authored
Merge pull request temyers#161 from sureshnath/integrationTestInvokerWorkAround
invoker workaround to avoid concurrent downloads
2 parents 2efd265 + 74f44b2 commit 4f549db

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

pom.xml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@
244244
<plugin>
245245
<groupId>org.apache.maven.plugins</groupId>
246246
<artifactId>maven-invoker-plugin</artifactId>
247-
<version>2.0.0</version>
247+
<version>3.0.1</version>
248248
<configuration>
249249
<debug>true</debug>
250250
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
@@ -256,18 +256,26 @@
256256
</localRepositoryPath>
257257
<settingsFile>src/it/settings.xml</settingsFile>
258258
<addTestClassPath>true</addTestClassPath>
259-
<goals>
260-
<goal>clean</goal>
261-
<goal>integration-test</goal>
262-
</goals>
263259
<parallelThreads>5</parallelThreads>
264260
</configuration>
265261
<executions>
266262
<execution>
267-
<id>integration-test</id>
263+
<id>runOneTestToSetupRepoAndAvoidConcurrentDownloads</id>
268264
<goals>
269265
<goal>install</goal>
270266
<goal>integration-test</goal>
267+
</goals>
268+
<configuration>
269+
<pomIncludes>
270+
<pomInclude>**/junit/simple-it/pom.xml</pomInclude>
271+
</pomIncludes>
272+
<parallelThreads>1</parallelThreads>
273+
</configuration>
274+
</execution>
275+
<execution>
276+
<id>integration-test</id>
277+
<goals>
278+
<goal>integration-test</goal>
271279
<goal>verify</goal>
272280
</goals>
273281
</execution>
@@ -318,6 +326,7 @@
318326
<format>html</format>
319327
<format>xml</format>
320328
</formats>
329+
<check/>
321330
</configuration>
322331
<reportSets>
323332
<reportSet>

0 commit comments

Comments
 (0)