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 2016/05/07 13:24:39 UTC
[14/36] maven-aether git commit: Accounted for change in aether-api
regarding local repo contruction
Accounted for change in aether-api regarding local repo contruction
Project: http://git-wip-us.apache.org/repos/asf/maven-aether/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-aether/commit/ccb79b21
Tree: http://git-wip-us.apache.org/repos/asf/maven-aether/tree/ccb79b21
Diff: http://git-wip-us.apache.org/repos/asf/maven-aether/diff/ccb79b21
Branch: refs/heads/demo
Commit: ccb79b21a04bb230a425a9399cd912a9e75c71a3
Parents: 0e2353e
Author: Benjamin Bentmann <be...@sonatype.com>
Authored: Sat Feb 16 17:15:49 2013 +0100
Committer: Benjamin Bentmann <be...@sonatype.com>
Committed: Sat Feb 16 17:15:49 2013 +0100
----------------------------------------------------------------------
.../src/main/java/org/eclipse/aether/examples/aether/Aether.java | 4 ++--
.../src/main/java/org/eclipse/aether/examples/util/Booter.java | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/maven-aether/blob/ccb79b21/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/aether/Aether.java
----------------------------------------------------------------------
diff --git a/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/aether/Aether.java b/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/aether/Aether.java
index 6aee749..73c8b26 100644
--- a/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/aether/Aether.java
+++ b/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/aether/Aether.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2010, 2012 Sonatype, Inc.
+ * Copyright (c) 2010, 2013 Sonatype, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -53,7 +53,7 @@ public class Aether
private RepositorySystemSession newSession()
{
DefaultRepositorySystemSession session = Booter.newRepositorySystemSession( repositorySystem );
- session.setLocalRepositoryManager( repositorySystem.newLocalRepositoryManager( localRepository ) );
+ session.setLocalRepositoryManager( repositorySystem.newLocalRepositoryManager( session, localRepository ) );
return session;
}
http://git-wip-us.apache.org/repos/asf/maven-aether/blob/ccb79b21/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/util/Booter.java
----------------------------------------------------------------------
diff --git a/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/util/Booter.java b/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/util/Booter.java
index bd0171a..c907903 100644
--- a/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/util/Booter.java
+++ b/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/util/Booter.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2010, 2012 Sonatype, Inc.
+ * Copyright (c) 2010, 2013 Sonatype, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -33,7 +33,7 @@ public class Booter
MavenRepositorySystemSession session = new MavenRepositorySystemSession();
LocalRepository localRepo = new LocalRepository( "target/local-repo" );
- session.setLocalRepositoryManager( system.newLocalRepositoryManager( localRepo ) );
+ session.setLocalRepositoryManager( system.newLocalRepositoryManager( session, localRepo ) );
session.setTransferListener( new ConsoleTransferListener() );
session.setRepositoryListener( new ConsoleRepositoryListener() );