On Mar 20, 2009, at 5:54 PM, sdumitriu (SVN) wrote:
Author: sdumitriu Date: 2009-03-20 17:54:57 +0100 (Fri, 20 Mar 2009) New Revision: 17872
Modified: platform/core/trunk/xwiki-core/pom.xml Log: XWIKI-3405: Build fails if jfreechart from central is used Fixed.
Modified: platform/core/trunk/xwiki-core/pom.xml =================================================================== --- platform/core/trunk/xwiki-core/pom.xml 2009-03-20 16:30:55 UTC (rev 17871) +++ platform/core/trunk/xwiki-core/pom.xml 2009-03-20 16:54:57 UTC (rev 17872) @@ -153,6 +153,16 @@ <groupId>xwiki.jfree</groupId> <artifactId>jfreechart</artifactId> <version>1.0.0-rc1</version> + <exclusions> + <exclusion> + <groupId>gnujaxp</groupId> + <artifactId>gnujaxp</artifactId> + </exclusion> + <exclusion> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + </exclusion> + </exclusions>
I don't understand why you've done this. If we can use jfreechart from central then we should remove the "xwiki" from the groupid. However the reason we're not using the central version is because it has removed an api we're using. See comments in the pom.xml: <!-- Version 1.0.0-rc1 has some bad dependencies in the POM. This is fixed in 1.0.0 but unfortunately we're using an API (setDataAreaRatio()) that has disappeared in 1.0.0 so we need to fix this before we can move to 1.0.0 or beyond... See http://jira.xwiki.org/jira/browse/XWIKI-390 . Note: when we move to using the central repo version we'll only need 1 dependency on jfreechart --> Thanks -Vincent