mirror of https://github.com/apache/maven.git
this test probably needs to be better designed, but in this case a version range is required for now in order to ensure that there is the dependency available
This commit is contained in:
parent
aa9ac3093b
commit
5408914095
|
@ -34,14 +34,15 @@ public class MavenITmng5530MojoExecutionScopeTest
|
||||||
public void test_copyfiles()
|
public void test_copyfiles()
|
||||||
throws Exception
|
throws Exception
|
||||||
{
|
{
|
||||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng5530-mojo-execution-scope" );
|
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-5530");
|
||||||
File pluginDir = new File( testDir, "mng5530-mojo-execution-scope-plugin" );
|
File pluginDir = new File( testDir, "plugin" );
|
||||||
File projectDir = new File( testDir, "mng5530-mojo-execution-scope-basic" );
|
File projectDir = new File( testDir, "basic" );
|
||||||
|
|
||||||
Verifier verifier;
|
Verifier verifier;
|
||||||
|
|
||||||
// install the test plugin
|
// install the test plugin
|
||||||
verifier = newVerifier( pluginDir.getAbsolutePath(), "remote" );
|
verifier = newVerifier( pluginDir.getAbsolutePath(), "remote" );
|
||||||
|
verifier.setSystemProperty("mavenVersion", getMavenVersion());
|
||||||
verifier.executeGoal( "install" );
|
verifier.executeGoal( "install" );
|
||||||
verifier.resetStreams();
|
verifier.resetStreams();
|
||||||
verifier.verifyErrorFreeLog();
|
verifier.verifyErrorFreeLog();
|
||||||
|
|
|
@ -29,7 +29,7 @@ under the License.
|
||||||
<packaging>maven-plugin</packaging>
|
<packaging>maven-plugin</packaging>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<maven-version>3.1.2-SNAPSHOT</maven-version>
|
<maven-version>[3.1.2-SNAPSHOT,)</maven-version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
Loading…
Reference in New Issue