You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by er...@apache.org on 2011/03/01 17:51:16 UTC
svn commit: r1075902 - in /ofbiz/trunk: build.xml ivy.xml
Author: erwan
Date: Tue Mar 1 16:51:15 2011
New Revision: 1075902
URL: http://svn.apache.org/viewvc?rev=1075902&view=rev
Log:
Adding ivy task for downloading sonar ant plugin, ant task will follow
Modified:
ofbiz/trunk/build.xml
ofbiz/trunk/ivy.xml
Modified: ofbiz/trunk/build.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.xml?rev=1075902&r1=1075901&r2=1075902&view=diff
==============================================================================
--- ofbiz/trunk/build.xml (original)
+++ ofbiz/trunk/build.xml Tue Mar 1 16:51:15 2011
@@ -74,6 +74,7 @@ under the License.
description="Clean all downloaded files">
<delete>
<fileset dir="framework/base/lib" includes="cobertura-*.jar"/>
+ <fileset dir="framework/base/lib" includes="sonar-*.jar"/>
<fileset dir="framework/entity/lib/jdbc" includes="postgresql-*.jar"/>
</delete>
</target>
@@ -776,6 +777,10 @@ under the License.
<ivy:retrieve pattern="framework/entity/lib/jdbc/[artifact]-[revision].[ext]" conf="postgres"/>
</target>
+ <target name="download-sonar-ant-task" depends="ivy-init">
+ <ivy:retrieve pattern="framework/base/lib/[artifact]-[revision].[ext]" conf="sonar-ant-task"/>
+ </target>
+
<!-- ================================================================== -->
<!-- Create New Component. This target will create basic directory structure for an OFBiz component in hot-deploy directory. -->
<!-- ================================================================== -->
Modified: ofbiz/trunk/ivy.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/ivy.xml?rev=1075902&r1=1075901&r2=1075902&view=diff
==============================================================================
--- ofbiz/trunk/ivy.xml (original)
+++ ofbiz/trunk/ivy.xml Tue Mar 1 16:51:15 2011
@@ -27,10 +27,12 @@
<configurations>
<conf name="cobertura" description="downloads cobertura 1.9.3 (GPL2.0) http://cobertura.sourceforge.net/"/>
<conf name="postgres" description="downloads the postgres JDBC driver"/>
+ <conf name="sonar-ant-task" description="downloads the ant sonar task (need sonar>=2.6)"/>
</configurations>
<dependencies>
<dependency org="net.sourceforge.cobertura" name="cobertura" rev="1.9.3" conf="cobertura->default"/>
<dependency org="postgresql" name="postgresql" rev="9.0-801.jdbc4" conf="postgres->default"/>
+ <dependency org="org.codehaus.sonar-plugins" name="sonar-ant-task" rev="1.0" conf="sonar-ant-task->default"/>
<!--Exclusions for cobertura-->
<exclude module="oro" conf="cobertura"/>