From 8dc45ae09bc2a92e8fdb97776635fceaffec1016 Mon Sep 17 00:00:00 2001 From: Kenney Westerhof Date: Sat, 8 Jul 2006 15:34:54 +0000 Subject: [PATCH] Inherit repository definitions from parents. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@420127 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/maven/bootstrap/model/ModelReader.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bootstrap/bootstrap-mini/src/main/java/org/apache/maven/bootstrap/model/ModelReader.java b/bootstrap/bootstrap-mini/src/main/java/org/apache/maven/bootstrap/model/ModelReader.java index 59eeeeea31..349c55f3a9 100644 --- a/bootstrap/bootstrap-mini/src/main/java/org/apache/maven/bootstrap/model/ModelReader.java +++ b/bootstrap/bootstrap-mini/src/main/java/org/apache/maven/bootstrap/model/ModelReader.java @@ -282,6 +282,8 @@ public class ModelReader addDependencies( p.getManagedDependencies(), managedDependencies, inheritedScope, Collections.EMPTY_SET ); + repositories.addAll( p.getRemoteRepositories() ); + resources.addAll( p.getResources() ); insideParent = false;