0

I have a project which has dependency on a module reportXXX and this reportXXX has dependency on jasper report modules. So jasperreports-javaflow.jar is imported which I don't want.

How to exclude this jar from my project? I try the following but it doesn't work.

<dependency org="OrgXXX" name="reportXXX" rev="1.01.01.001" conf="compile,run">
    <exclude org="jaspersoft" name="jasperreports-javaflow" type="jar" />
</dependency>
David Ruan
  • 534
  • 4
  • 18
  • By "doesn't work", I assume you mean "the dependency is not excluded". Can you check that the `org` and `name` are correct in the `` (i.e. it is really the info of the dependency to exclude)? – Tunaki Nov 13 '15 at 22:30
  • see: http://stackoverflow.com/questions/11417304/ivy-what-is-the-master-configuration-and-why-is-it-not-pulling-jvyaml/11420292#11420292 – Mark O'Connor Nov 15 '15 at 02:49

1 Answers1

1

Try module instead of name.

<dependency org="OrgXXX" name="reportXXX" rev="1.01.01.001" conf="compile,run"> <exclude org="jaspersoft" module="jasperreports-javaflow" type="jar" /> </dependency>