From 6f2d5bad731ccbe5c8d01e67d58c016a08970014 Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Fri, 28 Nov 2008 16:29:00 +0000 Subject: [PATCH] [MRM-1025] consolidate dependency graphing classes into one module git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@721529 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-base/archiva-dependency-graph/pom.xml | 4 ++++ .../dependency/graph}/ProjectModelBasedGraphBuilder.java | 6 +----- .../archiva-base/archiva-repository-layer/pom.xml | 4 ---- 3 files changed, 5 insertions(+), 9 deletions(-) rename archiva-modules/archiva-base/{archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/project/dependencies => archiva-dependency-graph/src/main/java/org/apache/maven/archiva/dependency/graph}/ProjectModelBasedGraphBuilder.java (91%) diff --git a/archiva-modules/archiva-base/archiva-dependency-graph/pom.xml b/archiva-modules/archiva-base/archiva-dependency-graph/pom.xml index 9e629bd28..a03cebe34 100644 --- a/archiva-modules/archiva-base/archiva-dependency-graph/pom.xml +++ b/archiva-modules/archiva-base/archiva-dependency-graph/pom.xml @@ -41,6 +41,10 @@ org.apache.archiva archiva-model + + org.apache.archiva + archiva-repository-layer + diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/project/dependencies/ProjectModelBasedGraphBuilder.java b/archiva-modules/archiva-base/archiva-dependency-graph/src/main/java/org/apache/maven/archiva/dependency/graph/ProjectModelBasedGraphBuilder.java similarity index 91% rename from archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/project/dependencies/ProjectModelBasedGraphBuilder.java rename to archiva-modules/archiva-base/archiva-dependency-graph/src/main/java/org/apache/maven/archiva/dependency/graph/ProjectModelBasedGraphBuilder.java index cc47e1aa6..c08b6c4f1 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/project/dependencies/ProjectModelBasedGraphBuilder.java +++ b/archiva-modules/archiva-base/archiva-dependency-graph/src/main/java/org/apache/maven/archiva/dependency/graph/ProjectModelBasedGraphBuilder.java @@ -1,4 +1,4 @@ -package org.apache.maven.archiva.repository.project.dependencies; +package org.apache.maven.archiva.dependency.graph; /* * Licensed to the Apache Software Foundation (ASF) under one @@ -19,10 +19,6 @@ package org.apache.maven.archiva.repository.project.dependencies; * under the License. */ -import org.apache.maven.archiva.dependency.graph.DependencyGraph; -import org.apache.maven.archiva.dependency.graph.DependencyGraphBuilder; -import org.apache.maven.archiva.dependency.graph.DependencyGraphNode; -import org.apache.maven.archiva.dependency.graph.DependencyGraphUtils; import org.apache.maven.archiva.model.ArchivaProjectModel; import org.apache.maven.archiva.model.ArtifactReference; import org.apache.maven.archiva.model.VersionedReference; diff --git a/archiva-modules/archiva-base/archiva-repository-layer/pom.xml b/archiva-modules/archiva-base/archiva-repository-layer/pom.xml index 15411bd4c..de93e0429 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/pom.xml +++ b/archiva-modules/archiva-base/archiva-repository-layer/pom.xml @@ -40,10 +40,6 @@ org.apache.archiva archiva-consumer-api - - org.apache.archiva - archiva-dependency-graph - org.apache.archiva archiva-checksum -- 2.39.5