maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject [5/50] git commit: o Made Aether session read-only once setup
Date Mon, 18 Mar 2013 21:47:28 GMT
o Made Aether session read-only once setup


Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/8cf8d367
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/8cf8d367
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/8cf8d367

Branch: refs/heads/master
Commit: 8cf8d36777202b98156f4dac80adc459a9668149
Parents: e02c8ab
Author: Benjamin Bentmann <bentmann@apache.org>
Authored: Sun Jan 8 20:02:32 2012 +0100
Committer: Benjamin Bentmann <bentmann@apache.org>
Committed: Sun Jan 8 20:02:32 2012 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/maven/DefaultMaven.java   |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/8cf8d367/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
----------------------------------------------------------------------
diff --git a/maven-core/src/main/java/org/apache/maven/DefaultMaven.java b/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
index 7bed063..b1f239a 100644
--- a/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
+++ b/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
@@ -264,6 +264,8 @@ public class DefaultMaven
             return processResult( result, e );
         }
 
+        repoSession.setReadOnly();
+
         ClassLoader originalClassLoader = Thread.currentThread().getContextClassLoader();
         try
         {


Mime
View raw message