You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2006/07/21 10:31:28 UTC

svn commit: r424228 - in /cocoon/trunk/blocks: cocoon-eventcache/cocoon-eventcache-impl/pom.xml cocoon-slide/cocoon-slide-impl/pom.xml cocoon-xsp/cocoon-xsp-impl/pom.xml

Author: cziegeler
Date: Fri Jul 21 01:31:24 2006
New Revision: 424228

URL: http://svn.apache.org/viewvc?rev=424228&view=rev
Log:
Add missing dep to servlet api (due to a bug in m2 it gets not inherited from core as it has the scope provided)

Modified:
    cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-impl/pom.xml
    cocoon/trunk/blocks/cocoon-slide/cocoon-slide-impl/pom.xml
    cocoon/trunk/blocks/cocoon-xsp/cocoon-xsp-impl/pom.xml

Modified: cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-impl/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-impl/pom.xml?rev=424228&r1=424227&r2=424228&view=diff
==============================================================================
--- cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-impl/pom.xml (original)
+++ cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-impl/pom.xml Fri Jul 21 01:31:24 2006
@@ -52,5 +52,11 @@
       <artifactId>geronimo-jms_1.1_spec</artifactId>
       <version>1.0</version>
     </dependency>
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>servlet-api</artifactId>
+      <version>2.3</version>
+      <scope>provided</scope>
+    </dependency>
   </dependencies>
 </project>

Modified: cocoon/trunk/blocks/cocoon-slide/cocoon-slide-impl/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-slide/cocoon-slide-impl/pom.xml?rev=424228&r1=424227&r2=424228&view=diff
==============================================================================
--- cocoon/trunk/blocks/cocoon-slide/cocoon-slide-impl/pom.xml (original)
+++ cocoon/trunk/blocks/cocoon-slide/cocoon-slide-impl/pom.xml Fri Jul 21 01:31:24 2006
@@ -71,6 +71,13 @@
       <groupId>org.apache.geronimo.specs</groupId>
       <artifactId>geronimo-jta_1.0.1B_spec</artifactId>
       <version>1.0</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>servlet-api</artifactId>
+      <version>2.3</version>
+      <scope>provided</scope>
     </dependency>
   </dependencies>
 </project>

Modified: cocoon/trunk/blocks/cocoon-xsp/cocoon-xsp-impl/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-xsp/cocoon-xsp-impl/pom.xml?rev=424228&r1=424227&r2=424228&view=diff
==============================================================================
--- cocoon/trunk/blocks/cocoon-xsp/cocoon-xsp-impl/pom.xml (original)
+++ cocoon/trunk/blocks/cocoon-xsp/cocoon-xsp-impl/pom.xml Fri Jul 21 01:31:24 2006
@@ -120,6 +120,12 @@
         </exclusion>
       </exclusions>
     </dependency>
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>servlet-api</artifactId>
+      <version>2.3</version>
+      <scope>provided</scope>
+    </dependency>
   </dependencies>
   <profiles>
     <profile>



Re: svn commit: r424228 - in /cocoon/trunk/blocks: cocoon-eventcache/cocoon-eventcache-impl/pom.xml cocoon-slide/cocoon-slide-impl/pom.xml cocoon-xsp/cocoon-xsp-impl/pom.xml

Posted by Jorg Heymans <jh...@domek.be>.
Good catch Carsten, <provided> dependencies are indeed not passed on
transitively. This behaviour is actually documented on the website ([1],
section "dependency scope"), so I guess it's not really a bug.

(whether this behaviour is intuitive is a different thing alltogether)

Thanks
Jorg

On 7/21/06 10:31 AM, in article 20060721083132.D882C1A981A@eris.apache.org,
"cziegeler@apache.org" <cz...@apache.org> wrote:

> Author: cziegeler
> Date: Fri Jul 21 01:31:24 2006
> New Revision: 424228
> 
> URL: http://svn.apache.org/viewvc?rev=424228&view=rev
> Log:
> Add missing dep to servlet api (due to a bug in m2 it gets not inherited from
> core as it has the scope provided)
>