Bug#813287: avro-java: FTBFS: Plugin com.thoughtworks.paranamer:paranamer-maven-plugin:2.8 or one of its dependencies could not be resolved

Emmanuel Bourg ebourg at apache.org
Mon Feb 29 08:42:57 UTC 2016


Le 31/01/2016 09:06, Chris Lamb a écrit :

> [ERROR] [...] the artifact org.codehaus.plexus:plexus-utils:jar:1.1 has not been downloaded from it before.

This isn't the first time we see this error since the switch to Maven 3
and I've just figured out why it happens: Maven 3 injects a dependency
on plexus-utils 1.1 to any plugin (here paranamer-maven-plugin) that
doesn't declare a dependency on it already. And since we don't have the
version 1.1 in Debian the resolution fails.

The class responsible for this injection is PlexusUtilsInjector [1] in
the Maven project, we just have to redefine it to use plexus-utils 2.x
instead of 1.1 to fix this class of issues. I'll do that in the next
update of maven-debian-helper.

Emmanuel Bourg

[1]
https://github.com/apache/maven/blob/master/maven-core/src/main/java/org/apache/maven/plugin/internal/PlexusUtilsInjector.java



More information about the pkg-java-maintainers mailing list