o Made Aether session read-only once setup

This commit is contained in:
Benjamin Bentmann 2012-01-08 20:02:32 +01:00
parent e02c8abdd1
commit 8cf8d36777
1 changed files with 2 additions and 0 deletions

View File

@ -264,6 +264,8 @@ public class DefaultMaven
return processResult( result, e );
}
repoSession.setReadOnly();
ClassLoader originalClassLoader = Thread.currentThread().getContextClassLoader();
try
{