mirror of https://github.com/apache/maven.git
Rolling back last workaround, files must not be locked, test is right and code needs to be fixed
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@586566 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
df8a7c75b9
commit
bd743a5c30
|
@ -83,17 +83,7 @@ public class DefaultExtensionManagerTest
|
||||||
|
|
||||||
if ( f.exists() )
|
if ( f.exists() )
|
||||||
{
|
{
|
||||||
try
|
FileUtils.forceDelete( f );
|
||||||
{
|
|
||||||
FileUtils.forceDelete( f );
|
|
||||||
}
|
|
||||||
catch ( IOException e )
|
|
||||||
{
|
|
||||||
// TODO carlos: delete fails on windows, needs investigation
|
|
||||||
// the test-extension-1.jar is locked for deletion
|
|
||||||
// I traced it and seems to get locked at getRealm().findRealmResources(
|
|
||||||
// name ) in org.codehaus.plexus.classworlds.strategy.DefaultStrategy:146
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue