We need to consume an artifact published by another team, using Ivy into a nexus repository. The ivy descriptor is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<ivy-module version="2.0" xmlns:e="http://ant.apache.org/ivy/extra">
<info organisation="foo.foo.core" module="foo" branch="5.0.0" revision="5.0.0.36-rev546" status="release" publication="20131213163657">
</info>
<configurations>
<conf name="endorsed" visibility="public"/>
<conf name="default" visibility="public"/>
<conf name="run" visibility="public" extends="default"/>
<conf name="compile" visibility="public" extends="default"/>
<conf name="testing" visibility="public" extends="compile"/>
<conf name="integration" visibility="public" extends="testing"/>
<conf name="warstartup" visibility="public"/>
</configurations>
<publications defaultconf="default">
<artifact name="foo-foo-foo" type="bin" ext="jar"/>
<artifact name="foo-foo-foo" type="test-bin" ext="jar" conf="testing" e:classifier="tests"/>
<artifact name="foo-foo-foo" type="pom" ext="pom"/>
<artifact name="foo-foo-foo" type="doc" e:classifier="javadoc" ext="zip"/>
<artifact name="foo-foo-foo" type="src" e:classifier="sources" ext="zip"/>
</publications>
<dependencies defaultconf="default" defaultconfmapping="*->default">
...
</dependencies>
</ivy-module>
The problem is that the pom artifact gets added to the classpath and the findbugs task tries to open it as zip, printing some annoying exceptions in the logs. Is there some workaround we can use, short of asking the upstream project to fix their descriptor?