ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger <roger.parkinso...@gmail.com>
Subject Re: Excluding source and javadoc
Date Sat, 25 Feb 2012 03:52:46 GMT
<dependencies>
         ...
<exclude org="*" ext="*" type="source"/>
<exclude org="*" ext="*" type="javadoc"/>
</dependencies>

if you want to be more selective (ie only suppress it for certain 
dependencies)

<dependency org="nz.co.senanque" name="madura-bundle" rev="3.4" 
conf="default->default" type="jar"/>

On 25/02/12 11:09, Mansour Al Akeel wrote:
> I have many dependencies in my module and all I need is the jars. I
> don't need sources or javadoc. Sometimes the later two fail during
> retrieve. I need to disable downloading them. I know I can use something
> like:
>
> conf="deault->*, !source, !javadoc"
>
> but this has to be done on each dependency. A thread here discusses the
> issue, but it has not been answered.
>
> http://old.nabble.com/How-to-exclude-source-and-javadoc-download-td20808519.html
>
>
>
>
>


Mime
View raw message