Author: ningjiang
Date: Fri Jan  6 09:29:08 2012
New Revision: 1228035

URL: http://svn.apache.org/viewvc?rev=1228035&view=rev
Log:
SMX4-1032 Wrap an OSGi bundle of twitter4j 2.2.5

Modified:
    servicemix/smx4/bundles/trunk/pom.xml
    servicemix/smx4/bundles/trunk/twitter4j-2.2.5/pom.xml   (contents, props 
changed)

Modified: servicemix/smx4/bundles/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/pom.xml?rev=1228035&r1=1228034&r2=1228035&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/pom.xml Fri Jan  6 09:29:08 2012
@@ -42,6 +42,7 @@
 
     <modules>
       <module>smack-3.2.1</module>
+      <module>twitter4j-2.2.5</module>
       <module>paranamer-2.4</module>
       <module>jopt-simple-4.3</module>
       <module>not-yet-commons-ssl-0.3.11</module>

Modified: servicemix/smx4/bundles/trunk/twitter4j-2.2.5/pom.xml
URL: 
http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/twitter4j-2.2.5/pom.xml?rev=1228035&r1=1228034&r2=1228035&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/twitter4j-2.2.5/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/twitter4j-2.2.5/pom.xml Fri Jan  6 09:29:08 
2012
@@ -31,17 +31,28 @@
     <artifactId>org.apache.servicemix.bundles.twitter4j</artifactId>
     <version>2.2.5_1-SNAPSHOT</version>
     <packaging>bundle</packaging>
-    <name>Apache ServiceMix :: Bundles :: twitter4j</name>
-    <description>This OSGi bundle wraps twitter4j-core and twitter-stream 
${pkgVersion} jar file.</description>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+    <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar 
file.</description>
 
     <properties>
         <pkgGroupId>org.twitter4j</pkgGroupId>
+        <pkgArtifactId>twitter4j</pkgArtifactId>
         <pkgVersion>2.2.5</pkgVersion>
         <servicemix.osgi.export.pkg>
             twitter4j
         </servicemix.osgi.export.pkg>
         <servicemix.osgi.import.pkg>
             !twitter4j*,
+            !dalvik.system,
+            !com.google.appengine.api.urlfetch.URLFetchService,
+           javax.crypto;resolution:=optional,
+            javax.crypto.spec;resolution:=optional,
+            javax.management;resolution:=optional,
+            javax.management.openmbean;resolution:=optional,
+            org.slf4j;resolution:=optional;version="[1.5.8,2)",
+            org.apache.commons.logging;resolution:=optional;version="[1.1,2)",
+            org.apache.http*;resolution:=optional;version="[4,5)",
+            org.apache.log4j;resolution:=optional;version="[1.2.9,2)",
             *
         </servicemix.osgi.import.pkg>
         <servicemix.osgi.failok>true</servicemix.osgi.failok>
@@ -60,6 +71,12 @@
             <version>${pkgVersion}</version>
             <optional>true</optional>
         </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>twitter4j-httpclient-support</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>true</optional>
+        </dependency>
     </dependencies>
 
     <build>
@@ -78,6 +95,7 @@
                                 <includes>
                                     
<include>${pkgGroupId}:twitter4j-core</include>
                                     
<include>${pkgGroupId}:twitter4j-stream</include>
+                                    
<include>${pkgGroupId}:twitter4j-httpclient-support</include>
                                 </includes>
                             </artifactSet>
                             <filters>
@@ -93,6 +111,12 @@
                                         <exclude>**</exclude>
                                     </excludes>
                                 </filter>
+                                <filter>
+                                    
<artifact>${pkgGroupId}:twitter4j-httpclient-support</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
                             </filters>
                             
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
                             
<createDependencyReducedPom>true</createDependencyReducedPom>

Propchange: servicemix/smx4/bundles/trunk/twitter4j-2.2.5/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: servicemix/smx4/bundles/trunk/twitter4j-2.2.5/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: servicemix/smx4/bundles/trunk/twitter4j-2.2.5/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml


Reply via email to