[EMAIL PROTECTED] wrote:
> Author: antelder Date: Fri Apr 21 05:37:05 2006 New Revision: 395869
> 
> URL: http://svn.apache.org/viewcvs?rev=395869&view=rev Log: update
> sca/tomcat for 1.0 jsonrpc release. (is thre something wrong in the
> maven config that this is required here?
> 

The <dependency> in binding.jsonrpc's pom.xml marks jsonrpc as
"provided" which means it is down to the user to provide the dependency.
 This is often used for things like J2EE API jars that are assumed to be
on the classpath.

If you change the dependency to "compile" then maven's transitive
behaviour will automatically carry it forward. A patch to do this (at
least for tomcat) if you want to is attached.

--
Jeremy
Index: tomcat/pom.xml
===================================================================
--- tomcat/pom.xml	(revision 395890)
+++ tomcat/pom.xml	(working copy)
@@ -45,14 +45,7 @@
             <version>${pom.version}</version>
             <scope>compile</scope>
         </dependency>
-        <dependency>
-            <groupId>metaparadigm</groupId>
-            <artifactId>jsonrpc</artifactId>
-            <version>1.0</version>
-            <scope>provided</scope>
-        </dependency>
 
-
         <dependency>
             <groupId>tomcat</groupId>
             <artifactId>servlet-api</artifactId>
Index: bindings/binding.jsonrpc/pom.xml
===================================================================
--- bindings/binding.jsonrpc/pom.xml	(revision 395890)
+++ bindings/binding.jsonrpc/pom.xml	(working copy)
@@ -50,7 +50,7 @@
             <groupId>metaparadigm</groupId>
             <artifactId>jsonrpc</artifactId>
             <version>1.0</version>
-            <scope>provided</scope>
+            <scope>compile</scope>
         </dependency>
 
         <dependency>

Reply via email to