mirror of https://github.com/apache/maven.git
o Made Aether session read-only once setup
This commit is contained in:
parent
e02c8abdd1
commit
8cf8d36777
|
@ -264,6 +264,8 @@ public class DefaultMaven
|
||||||
return processResult( result, e );
|
return processResult( result, e );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
repoSession.setReadOnly();
|
||||||
|
|
||||||
ClassLoader originalClassLoader = Thread.currentThread().getContextClassLoader();
|
ClassLoader originalClassLoader = Thread.currentThread().getContextClassLoader();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue