servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r1227935 - in /servicemix/smx4/bundles/trunk: ./ twitter4j-core-2.2.5/ twitter4j-core-2.2.5/src/ twitter4j-core-2.2.5/src/main/ twitter4j-core-2.2.5/src/main/resources/ twitter4j-core-2.2.5/src/main/resources/OSGI-INF/
Date Fri, 06 Jan 2012 02:16:07 GMT
Author: ffang
Date: Fri Jan  6 02:16:07 2012
New Revision: 1227935

URL: http://svn.apache.org/viewvc?rev=1227935&view=rev
Log:
[SMX4-1032]add twitter-core 2.2.5 bundle

Added:
    servicemix/smx4/bundles/trunk/twitter4j-core-2.2.5/
    servicemix/smx4/bundles/trunk/twitter4j-core-2.2.5/pom.xml
    servicemix/smx4/bundles/trunk/twitter4j-core-2.2.5/src/
    servicemix/smx4/bundles/trunk/twitter4j-core-2.2.5/src/main/
    servicemix/smx4/bundles/trunk/twitter4j-core-2.2.5/src/main/resources/
    servicemix/smx4/bundles/trunk/twitter4j-core-2.2.5/src/main/resources/OSGI-INF/
    servicemix/smx4/bundles/trunk/twitter4j-core-2.2.5/src/main/resources/OSGI-INF/bundle.info
Modified:
    servicemix/smx4/bundles/trunk/pom.xml

Modified: servicemix/smx4/bundles/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/pom.xml?rev=1227935&r1=1227934&r2=1227935&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/pom.xml Fri Jan  6 02:16:07 2012
@@ -46,6 +46,7 @@
       <module>jopt-simple-4.3</module>
       <module>not-yet-commons-ssl-0.3.11</module>
       <module>guava-11</module>
+      <module>twitter4j-core-2.2.5</module>
     </modules>
 
 </project>

Added: servicemix/smx4/bundles/trunk/twitter4j-core-2.2.5/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/twitter4j-core-2.2.5/pom.xml?rev=1227935&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/twitter4j-core-2.2.5/pom.xml (added)
+++ servicemix/smx4/bundles/trunk/twitter4j-core-2.2.5/pom.xml Fri Jan  6 02:16:07 2012
@@ -0,0 +1,93 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <!--
+
+        Licensed to the Apache Software Foundation (ASF) under one or more
+        contributor license agreements.  See the NOTICE file distributed with
+        this work for additional information regarding copyright ownership.
+        The ASF licenses this file to You under the Apache License, Version 2.0
+        (the "License"); you may not use this file except in compliance with
+        the License.  You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+
+        Unless required by applicable law or agreed to in writing, software
+        distributed under the License is distributed on an "AS IS" BASIS,
+        WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+        See the License for the specific language governing permissions and
+        limitations under the License.
+    -->
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.servicemix.bundles</groupId>
+        <artifactId>bundles-pom</artifactId>
+        <version>6</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.twitter4j-core</artifactId>
+    <version>2.2.5_1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+    <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.</description>
+
+    <properties>
+        <pkgGroupId>org.twitter4j</pkgGroupId>
+        <pkgArtifactId>twitter4j-core</pkgArtifactId>
+        <pkgVersion>2.2.5</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            twitter4j
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            !twitter4j*,
+            *
+        </servicemix.osgi.import.pkg>
+        <servicemix.osgi.failok>true</servicemix.osgi.failok>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>true</optional>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-shade-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>shade</goal>
+                        </goals>
+                        <configuration>
+                            <artifactSet>
+                                <includes>
+                                    <include>${pkgGroupId}:${pkgArtifactId}</include>
+                                </includes>
+                            </artifactSet>
+                            <filters>
+                                <filter>
+                                    <artifact>${pkgGroupId}:${pkgArtifactId}</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                            </filters>
+                            <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+                            <createDependencyReducedPom>true</createDependencyReducedPom>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Added: servicemix/smx4/bundles/trunk/twitter4j-core-2.2.5/src/main/resources/OSGI-INF/bundle.info
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/twitter4j-core-2.2.5/src/main/resources/OSGI-INF/bundle.info?rev=1227935&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/twitter4j-core-2.2.5/src/main/resources/OSGI-INF/bundle.info
(added)
+++ servicemix/smx4/bundles/trunk/twitter4j-core-2.2.5/src/main/resources/OSGI-INF/bundle.info
Fri Jan  6 02:16:07 2012
@@ -0,0 +1,20 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    Twitter4J is an unofficial Java library for the Twitter API.
+    With Twitter4J, you can easily integrate your Java application with the Twitter service.
Twitter4J is an unofficial
+    library.
+
+    Twitter4J is featuring:
+        * 100% Pure Java - works on any Java Platform version 1.4.2 or later
+        * Android platform and Google APP Engine ready
+        * Zero dependency : No additional jars required
+        * Built-in OAuth support
+        * Out-of-the-box gzip support
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://twitter4j.org/en/index.html\u001B[0m



Mime
View raw message