You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by ja...@apache.org on 2014/03/10 14:44:24 UTC

svn commit: r1575941 - in /felix/trunk/http: bundle/pom.xml cometd/pom.xml

Author: jawi
Date: Mon Mar 10 13:44:23 2014
New Revision: 1575941

URL: http://svn.apache.org/r1575941
Log:
FELIX-4452 - removed transitive dependencies:

- the cometd bundle introduced some transitive dependencies that caused
  the all-in-bundle to not resolve; applied patch from David B;
- fixed a typo in the export clause of the Felix HTTP-API in the all-in-
  one bundle.


Modified:
    felix/trunk/http/bundle/pom.xml
    felix/trunk/http/cometd/pom.xml

Modified: felix/trunk/http/bundle/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/http/bundle/pom.xml?rev=1575941&r1=1575940&r2=1575941&view=diff
==============================================================================
--- felix/trunk/http/bundle/pom.xml (original)
+++ felix/trunk/http/bundle/pom.xml Mon Mar 10 13:44:23 2014
@@ -56,9 +56,9 @@
                             org.cometd.bayeux;version=${cometd.version};-split-package:=merge-first,
                             org.cometd.bayeux.client;version=${cometd.version};-split-package:=merge-first,
                             org.cometd.bayeux.server;version=${cometd.version};-split-package:=merge-first,
-                            org.apache.felix.http.api;version${http.api.version};-split-package:=merge-first,
+                            org.apache.felix.http.api;version=${http.api.version};-split-package:=merge-first,
                             org.apache.felix.http.cometd;version=${project.version};-split-package:=merge-first,
-                            org.eclipse.jetty.*;-split-package:=merge-first;version=${version;===;${jetty.version}}
+                            org.eclipse.jetty.*;version=${version;===;${jetty.version}};-split-package:=merge-first
                         </Export-Package>
                         <Private-Package>
                             org.apache.felix.http.base.*;-split-package:=merge-first,

Modified: felix/trunk/http/cometd/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/http/cometd/pom.xml?rev=1575941&r1=1575940&r2=1575941&view=diff
==============================================================================
--- felix/trunk/http/cometd/pom.xml (original)
+++ felix/trunk/http/cometd/pom.xml Mon Mar 10 13:44:23 2014
@@ -105,11 +105,35 @@
         	<groupId>org.cometd.java</groupId>
         	<artifactId>cometd-java-server</artifactId>
         	<version>${cometd.version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.eclipse.jetty</groupId>
+                    <artifactId>jetty-continuation</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.eclipse.jetty</groupId>
+                    <artifactId>jetty-jmx</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <dependency>
         	<groupId>org.cometd.java</groupId>
         	<artifactId>cometd-java-client</artifactId>
         	<version>${cometd.version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.eclipse.jetty</groupId>
+                    <artifactId>jetty-client</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.eclipse.jetty</groupId>
+                    <artifactId>jetty-io</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.eclipse.jetty</groupId>
+                    <artifactId>jetty-http</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>        
         <dependency>
         	<groupId>org.cometd.java</groupId>
@@ -126,6 +150,36 @@
             <artifactId>org.apache.felix.http.base</artifactId>
             <version>${project.version}</version>
         </dependency>
-    </dependencies>
 
+    <!-- The dependencies below are newer versions of the transitive 
+         Jetty dependencies pulled in by cometd. It should be able to 
+         remove these once the cometd dependencies on Jetty line up 
+         with the ones that the Felix Http Service project uses. -->
+        <dependency>
+            <groupId>org.eclipse.jetty</groupId>
+            <artifactId>jetty-client</artifactId>
+            <version>${jetty.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.eclipse.jetty</groupId>
+            <artifactId>jetty-continuation</artifactId>
+            <version>${jetty.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.eclipse.jetty</groupId>
+            <artifactId>jetty-http</artifactId>
+            <version>${jetty.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.eclipse.jetty</groupId>
+            <artifactId>jetty-io</artifactId>
+            <version>${jetty.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.eclipse.jetty</groupId>
+            <artifactId>jetty-jmx</artifactId>
+            <version>${jetty.version}</version>
+        </dependency>
+
+    </dependencies>
 </project>