You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2014/12/26 17:19:48 UTC
maven git commit: [MNG-5747] keep useLegacyLocalRepositoryManager on
copy
Repository: maven
Updated Branches:
refs/heads/master 71976ecf4 -> 328a777cd
[MNG-5747] keep useLegacyLocalRepositoryManager on copy
Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/328a777c
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/328a777c
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/328a777c
Branch: refs/heads/master
Commit: 328a777cd5a04900894169f50b6cbbfb60ebadd0
Parents: 71976ec
Author: Hervé Boutemy <hb...@apache.org>
Authored: Fri Dec 26 17:19:40 2014 +0100
Committer: Hervé Boutemy <hb...@apache.org>
Committed: Fri Dec 26 17:19:40 2014 +0100
----------------------------------------------------------------------
.../maven/execution/DefaultMavenExecutionRequest.java | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/maven/blob/328a777c/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
----------------------------------------------------------------------
diff --git a/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java b/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
index 933e168..a38ce15 100644
--- a/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
+++ b/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
@@ -147,7 +147,7 @@ public class DefaultMavenExecutionRequest
*/
private boolean noSnapshotUpdates;
- private boolean useSimpleLocalRepositoryManager = false;
+ private boolean useLegacyLocalRepositoryManager = false;
public DefaultMavenExecutionRequest()
{
@@ -191,6 +191,7 @@ public class DefaultMavenExecutionRequest
copy.setWorkspaceReader( original.getWorkspaceReader() );
copy.setNoSnapshotUpdates( original.isNoSnapshotUpdates() );
copy.setExecutionListener( original.getExecutionListener() );
+ copy.setUseLegacyLocalRepository( original.isUseLegacyLocalRepository() );
return copy;
}
@@ -1106,12 +1107,12 @@ public class DefaultMavenExecutionRequest
public boolean isUseLegacyLocalRepository()
{
- return this.useSimpleLocalRepositoryManager;
+ return this.useLegacyLocalRepositoryManager;
}
- public MavenExecutionRequest setUseLegacyLocalRepository( boolean useSimpleLocalRepositoryManager )
+ public MavenExecutionRequest setUseLegacyLocalRepository( boolean useLegacyLocalRepositoryManager )
{
- this.useSimpleLocalRepositoryManager = useSimpleLocalRepositoryManager;
+ this.useLegacyLocalRepositoryManager = useLegacyLocalRepositoryManager;
return this;
}