mirror of https://github.com/apache/maven.git
o If we are not actually in an SVN repository then don't run tests that require SVN.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@580653 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
85085b529c
commit
b3461d5936
|
@ -33,6 +33,10 @@ public class EmbedderUsingScmPluginTest
|
||||||
|
|
||||||
public void testRunningScmPlugin()
|
public void testRunningScmPlugin()
|
||||||
throws Exception
|
throws Exception
|
||||||
|
{
|
||||||
|
File svnDirectory = new File( getBasedir(), ".svn" );
|
||||||
|
|
||||||
|
if ( svnDirectory.exists() )
|
||||||
{
|
{
|
||||||
Properties p = new Properties();
|
Properties p = new Properties();
|
||||||
|
|
||||||
|
@ -45,3 +49,4 @@ public class EmbedderUsingScmPluginTest
|
||||||
File basedir = runWithProject( "scm:diff", p );
|
File basedir = runWithProject( "scm:diff", p );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue