Author: adangel Date: Sat Oct 8 15:43:24 2016 New Revision: 1763911 URL: http://svn.apache.org/viewvc?rev=1763911&view=rev Log: [MPMD-229] Cleanup POM, remove temporary workarounds dom4j comes in via velocity-tools, but it doesn't seem to be needed at all so it is not added back
Modified: maven/plugins/trunk/maven-pmd-plugin/pom.xml Modified: maven/plugins/trunk/maven-pmd-plugin/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pmd-plugin/pom.xml?rev=1763911&r1=1763910&r2=1763911&view=diff ============================================================================== --- maven/plugins/trunk/maven-pmd-plugin/pom.xml (original) +++ maven/plugins/trunk/maven-pmd-plugin/pom.xml Sat Oct 8 15:43:24 2016 @@ -135,26 +135,13 @@ under the License. <artifactId>doxia-site-renderer</artifactId> <version>${doxiaVersion}</version> <!-- - pmd 4.3 requires version 1.6.1 of dom4j - doxia-site-renderer 1.3 brings in dom4j 1.1 if we don't exclude it here + doxia-site-renderer requires transitively dom4j 1.1 which provides a very old version of jaxen (same jar). + PMD requires a newer version of jaxen, which is not compatible. --> <exclusions> <exclusion> - <groupId>dom4j</groupId> <artifactId>dom4j</artifactId> - </exclusion> - </exclusions> - </dependency> - <!-- adding back dependency to dom4j for doxia-site-renderer --> - <dependency> - <groupId>dom4j</groupId> - <artifactId>dom4j</artifactId> - <version>1.6.1</version> - <scope>runtime</scope> - <exclusions> - <exclusion> - <artifactId>xml-apis</artifactId> - <groupId>xml-apis</groupId> + <groupId>dom4j</groupId> </exclusion> </exclusions> </dependency>