You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zookeeper.apache.org by ph...@apache.org on 2017/10/09 17:56:24 UTC

zookeeper git commit: ZOOKEEPER-2909: Create ant task to generate ivy dependency reports

Repository: zookeeper
Updated Branches:
  refs/heads/branch-3.4 9b758b9eb -> 25df0aa8d


ZOOKEEPER-2909: Create ant task to generate ivy dependency reports

Author: Abraham Fine <af...@apache.org>

Reviewers: Patrick Hunt <ph...@apache.org>

Closes #398 from afine/ZOOKEEPER-2909_3.4

Change-Id: I9c55eb12507c9fb129547a708fad46b483405e45


Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo
Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit/25df0aa8
Tree: http://git-wip-us.apache.org/repos/asf/zookeeper/tree/25df0aa8
Diff: http://git-wip-us.apache.org/repos/asf/zookeeper/diff/25df0aa8

Branch: refs/heads/branch-3.4
Commit: 25df0aa8db3e5d199339a903964b103d6e1d312b
Parents: 9b758b9
Author: Abraham Fine <af...@apache.org>
Authored: Mon Oct 9 10:53:37 2017 -0700
Committer: Patrick Hunt <ph...@apache.org>
Committed: Mon Oct 9 10:53:37 2017 -0700

----------------------------------------------------------------------
 build.xml | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zookeeper/blob/25df0aa8/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 0c99be9..99a9a16 100644
--- a/build.xml
+++ b/build.xml
@@ -436,6 +436,12 @@ xmlns:cs="antlib:com.puppycrawl.tools.checkstyle">
                     pattern="${ivy.lib}/[artifact]-[revision].[ext]"/>
       <ivy:cachepath pathid="mvn-ant-task-classpath" conf="mvn-ant-task"/>
     </target>
+
+    <target name="dependency-report" depends="init,ivy-init">
+        <ivy:resolve conf="*"/>
+        <ivy:report conf="*" todir="${build.dir}/dependency-report"/>
+    </target>
+
     <target name="compile" depends="ivy-retrieve,clover,build-generated">
         <javac srcdir="${java.src.dir}" destdir="${build.classes}" includeantruntime="false"
                target="${javac.target}" source="${javac.source}" debug="on">