From 8d6fc5deeea8e870e3fdcb798a01940e48a0cbe3 Mon Sep 17 00:00:00 2001 From: rpm-build Date: Fri, 2 May 2014 11:07:23 +0200 Subject: [PATCH] dependency generation Signed-off-by: rpm-build --- build.xml | 2 +- common-build.xml | 7 +++---- .../org/apache/lucene/dependencies/GetMavenDependenciesTask.java | 2 ++ 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/build.xml b/build.xml index 3237141..28fffe3 100644 --- a/build.xml +++ b/build.xml @@ -497,7 +497,7 @@ - + diff --git a/common-build.xml b/common-build.xml index 7068fe6..b6d4b9f 100644 --- a/common-build.xml +++ b/common-build.xml @@ -1555,10 +1555,9 @@ ${ant.project.name}.test.dependencies=${test.classpath.list} - - + @@ -1578,7 +1577,7 @@ ${ant.project.name}.test.dependencies=${test.classpath.list} - + diff --git a/tools/src/java/org/apache/lucene/dependencies/GetMavenDependenciesTask.java b/tools/src/java/org/apache/lucene/dependencies/GetMavenDependenciesTask.java index 2069c7d..d891bc5 100644 --- a/tools/src/java/org/apache/lucene/dependencies/GetMavenDependenciesTask.java +++ b/tools/src/java/org/apache/lucene/dependencies/GetMavenDependenciesTask.java @@ -481,6 +481,7 @@ public class GetMavenDependenciesTask extends Task { private Collection getTransitiveDependenciesFromIvyCache (String groupId, String artifactId, String version) { SortedSet transitiveDependencies = new TreeSet<>(); + /* // E.g. ~/.ivy2/cache/xerces/xercesImpl/ivy-2.9.1.xml File ivyXmlFile = new File(new File(new File(ivyCacheDir, groupId), artifactId), "ivy-" + version + ".xml"); if ( ! ivyXmlFile.exists()) { @@ -502,6 +503,7 @@ public class GetMavenDependenciesTask extends Task { + groupId + ':' + artifactId + ':' + version + " from " + ivyXmlFile.getAbsolutePath(), e); } + */ return transitiveDependencies; } -- 1.9.0