Author: vmassol
Date: 2008-01-14 17:28:23 +0100 (Mon, 14 Jan 2008)
New Revision: 6818

Modified:
   xwiki-platform/core/trunk/xwiki-core/pom.xml
   xwiki-platform/web/trunk/gwt/pom.xml
Log:
XWIKI-1645: build time/test jars should not be packaged with xwiki + possible 
bloat

Reverted the move to provided scope for the portlet api jar. It's not currently 
possible since XWiki Core has code that uses the Portlet API and this code is 
executed even when run in a Servlet container. Removing this code will need an 
important rewrite that can only be done with the new XWiki 2.0 architecture.

Modified: xwiki-platform/core/trunk/xwiki-core/pom.xml
===================================================================
--- xwiki-platform/core/trunk/xwiki-core/pom.xml        2008-01-14 16:04:26 UTC 
(rev 6817)
+++ xwiki-platform/core/trunk/xwiki-core/pom.xml        2008-01-14 16:28:23 UTC 
(rev 6818)
@@ -318,7 +318,9 @@
       <groupId>portlet-api</groupId>
       <artifactId>portlet-api</artifactId>
       <version>1.0</version>
-      <scope>provided</scope>
+      <!-- TODO: Ideally the scope should be "provided". However before we can 
do this we'll need
+           to fully remove all references to the Portlet API in XWiki Core so 
that using it in
+           a Servlet environment will not fail with a ClassNotFoundException 
-->
     </dependency>
     <dependency>
       <groupId>struts</groupId>

Modified: xwiki-platform/web/trunk/gwt/pom.xml
===================================================================
--- xwiki-platform/web/trunk/gwt/pom.xml        2008-01-14 16:04:26 UTC (rev 
6817)
+++ xwiki-platform/web/trunk/gwt/pom.xml        2008-01-14 16:28:23 UTC (rev 
6818)
@@ -74,12 +74,6 @@
       <version>2.4</version>
       <scope>provided</scope>
     </dependency>
-    <dependency>
-      <groupId>portlet-api</groupId>
-      <artifactId>portlet-api</artifactId>
-      <version>1.0</version>
-      <scope>provided</scope>
-    </dependency>
   </dependencies>
   <build>
     <plugins>

_______________________________________________
notifications mailing list
notifications@xwiki.org
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to