1 package org.apache.maven.it;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import java.io.File;
23 import java.io.IOException;
24 import java.util.Arrays;
25
26 import org.apache.maven.it.util.ResourceExtractor;
27
28 public class MavenITmng7335MissingJarInParallelBuild
29 extends AbstractMavenIntegrationTestCase
30 {
31 private static final String PROJECT_PATH = "/mng-7335-missing-jar-in-parallel-build";
32
33 public MavenITmng7335MissingJarInParallelBuild()
34 {
35 super( "[3.8.1,)" );
36 }
37
38 public void testMissingJarInParallelBuild() throws IOException, VerificationException
39 {
40 final File projectDir = ResourceExtractor.simpleExtractResources( getClass(), PROJECT_PATH );
41 final Verifier verifier = newVerifier( projectDir.getAbsolutePath() );
42 verifier.addCliOption( "-T1C" );
43 verifier.executeGoals( Arrays.asList( "clean", "package" ) );
44 verifier.verifyErrorFreeLog();
45 }
46 }