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 org.apache.maven.it.util.ResourceExtractor;
23
24 import java.io.File;
25
26
27
28
29
30
31 public class MavenITmng3536AppendedAbsolutePathsTest
32 extends AbstractMavenIntegrationTestCase
33 {
34
35 public MavenITmng3536AppendedAbsolutePathsTest()
36 {
37 super( "[2.1.0-M1,)");
38 }
39
40 public void testitMNG3536()
41 throws Exception
42 {
43 File testDir = ResourceExtractor.simpleExtractResources( getClass(),
44 "/mng-3536" );
45 File pluginDir = new File( testDir, "plugin" );
46 Verifier verifier = newVerifier( pluginDir.getAbsolutePath(), "remote" );
47
48 verifier.executeGoal( "install" );
49
50 verifier.verifyErrorFreeLog();
51 verifier.resetStreams();
52
53 File projectDir = new File( testDir, "project" );
54 verifier = newVerifier( projectDir.getAbsolutePath() );
55
56 verifier.executeGoal( "verify" );
57 verifier.verifyErrorFreeLog();
58 verifier.resetStreams();
59 }
60 }