yum install conflicts with maven2
executing
$sudo yum install maven2
results in failure with these three errors:
Transaction check error:
file /usr/share/java/commons-codec.jar conflicts between attempted
installs of jakarta-commons-codec-0:1.3-9.jpp5.noarch and
apache-commons-codec-1.8-7.el7.noarch
file /usr/share/java/commons-logging-adapters.jar conflicts between
attempted installs of apache-commons-logging-1.1.2-7.el7.noarch and
jakarta-commons-logging-0:1.1-8.jpp5.noarch
file /usr/share/java/commons-logging-api.jar conflicts between
attempted installs of apache-commons-logging-1.1.2-7.el7.noarch and
jakarta-commons-logging-0:1.1-8.jpp5.noarch
file /usr/share/java/commons-logging.jar conflicts between attempted
installs of apache-commons-logging-1.1.2-7.el7.noarch and
jakarta-commons-logging-0:1.1-8.jpp5.noarch
Neither of these packages are installed on my system.
I tried to exclude one or the other but the deps require both.
--exclude=apache-commons-codec or
--exclude=jakarta-commons-codec