Eclipse plugin: duplicate classpath entries due to relocation

I have the following dependency:

compile 'axis:axis-jaxrpc:1.4'

If you look at the POM file for that library, it has:


The result is the jar file getting added to the .classpath file twice. If I change my dependency to

compile 'org.apache.axis:axis-jaxrpc:1.4'

then the problem goes away.

Thanks for reporting this incorrect behavior. I opened GRADLE-3301 for it.

As a side note: The issue is not bound to the Eclipse plugin. It’s a general issue with how the dependency graph is built.