mirror of https://github.com/apache/archiva.git
fix junit as now non absolute path is replace with appserver.base as parent
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1308563 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
741723f05a
commit
d16e1fdf91
|
@ -88,7 +88,8 @@ public class ArchivaIndexingTaskExecutorTest
|
||||||
|
|
||||||
repositoryConfig = new ManagedRepository();
|
repositoryConfig = new ManagedRepository();
|
||||||
repositoryConfig.setId( "test-repo" );
|
repositoryConfig.setId( "test-repo" );
|
||||||
repositoryConfig.setLocation( "target/test-classes/test-repo" );
|
repositoryConfig.setLocation(
|
||||||
|
new File( System.getProperty( "basedir" ), "target/test-classes/test-repo" ).getAbsolutePath() );
|
||||||
repositoryConfig.setLayout( "default" );
|
repositoryConfig.setLayout( "default" );
|
||||||
repositoryConfig.setName( "Test Repository" );
|
repositoryConfig.setName( "Test Repository" );
|
||||||
repositoryConfig.setScanned( true );
|
repositoryConfig.setScanned( true );
|
||||||
|
|
Loading…
Reference in New Issue