ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Williams <>
Subject Re: how do I exclude the downloading of source jars?
Date Wed, 13 Apr 2011 14:36:44 GMT
Use configurations. Specify the source artifact as part of a source
configuration, like so:

        <conf name="core" description="core artifact" transitive="false"/>
        <conf name="runtime" description="runtime dependencies not required
for compile" extends="core"/>
        <conf name="provided" description="provided by the environment at
        <conf name="sources" description="source files archive for this
library, if any"/>
        <conf name="javadoc" description="javadoc files archive for this
library, if any"/>

        <artifact type="jar" ext="jar" conf="core"/>
        <artifact type="src" ext="jar" conf="sources"/>
        <artifact type="javadoc" ext="jar" conf="javadoc"/>


On Wed, Apr 13, 2011 at 10:30 AM, Richard_Senior

> Hello,
> How do I tell ivy that even though a dependancy stipulates a source jar as
> part of it's published artifacts, I don't want the source jars downloading?
> --
> View this message in context:
> Sent from the ivy-user mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message