On 03/01/2011 02:59 AM, Vincent Massol wrote:
 On Feb 28, 2011, at 6:31 PM, tmortagne (SVN) wrote:
  Author: tmortagne
 Date: 2011-02-28 18:31:33 +0100 (Mon, 28 Feb 2011)
 New Revision: 35039
 Modified:
    platform/core/trunk/xwiki-xml/xwiki-xml-script/pom.xml
 Log:
 XWIKI-6055: Reduce number of dependencies drawn transitively by the xwiki-xml module
 Fix xwiki-xml-script dependency
 Modified: platform/core/trunk/xwiki-xml/xwiki-xml-script/pom.xml
 ===================================================================
 --- platform/core/trunk/xwiki-xml/xwiki-xml-script/pom.xml     2011-02-28 17:11:22 UTC
(rev 35038)
 +++ platform/core/trunk/xwiki-xml/xwiki-xml-script/pom.xml     2011-02-28 17:31:33 UTC
(rev 35039)
 @@ -45,9 +45,15 @@
        <version>${project.version}</version>
      </dependency>
      <dependency>
 +<groupId>org.xwiki.platform</groupId>
 +<artifactId>xwiki-core-xml-default</artifactId>
 +<version>${project.version}</version>
 +</dependency>
 +<dependency> 
 Why is this needed? 
At the moment it isn't, but in the future I'd like the scriptservice to
wrap a SPI available in xml-default.
At the moment, we needed a dependency on xerces, which is included in
xml-default, so we could either add it here again, or include it
transitively from xml-default, knowing that we'll need this dependency
in the future as well.
  Thanks
 -Vincent
>        <groupId>commons-logging</groupId>
>        <artifactId>commons-logging</artifactId>
>      </dependency>
> +
>      <!-- Testing dependencies -->
>      <dependency>
>        <groupId>org.xwiki.platform</groupId> 
--
Sergiu Dumitriu
http://purl.org/net/sergiu/