servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject servicemix-bundles git commit: [SM-3786] Create OSGi bundle for Twitter4j 4.0.7
Date Fri, 24 Aug 2018 12:03:31 GMT
Repository: servicemix-bundles
Updated Branches:
  refs/heads/master 6957bb56f -> ad156740d


[SM-3786] Create OSGi bundle for Twitter4j 4.0.7


Project: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/repo
Commit: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/commit/ad156740
Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/ad156740
Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/ad156740

Branch: refs/heads/master
Commit: ad156740d12c65544541da2b110073ed85f74ab8
Parents: 6957bb5
Author: Andrea Cosentino <ancosen@gmail.com>
Authored: Fri Aug 24 14:02:34 2018 +0200
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Fri Aug 24 14:02:34 2018 +0200

----------------------------------------------------------------------
 pom.xml                                         |   1 +
 twitter4j-4.0.6/pom.xml                         | 131 -------------------
 .../src/main/resources/OSGI-INF/bundle.info     |  21 ---
 twitter4j-4.0.7/pom.xml                         | 131 +++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info     |  21 +++
 5 files changed, 153 insertions(+), 152 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/ad156740/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 7ffeda2..e67cd8e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -44,6 +44,7 @@
     <modules>
         <module>fastjson-1.2.49</module>
         <module>influxdb-java-2.12</module>
+        <module>twitter4j-4.0.7</module>
     </modules>
 
 </project>

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/ad156740/twitter4j-4.0.6/pom.xml
----------------------------------------------------------------------
diff --git a/twitter4j-4.0.6/pom.xml b/twitter4j-4.0.6/pom.xml
deleted file mode 100644
index ab0c0d1..0000000
--- a/twitter4j-4.0.6/pom.xml
+++ /dev/null
@@ -1,131 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<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/xsd/maven-4.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>12</version>
-        <relativePath>../bundles-pom/pom.xml</relativePath>
-    </parent>
-
-    <groupId>org.apache.servicemix.bundles</groupId>
-    <artifactId>org.apache.servicemix.bundles.twitter4j</artifactId>
-    <version>4.0.6_2-SNAPSHOT</version>
-    <packaging>bundle</packaging>
-    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
-    <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.</description>
-
-    <scm>
-        <connection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</connection>
-        <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</developerConnection>
-        <url>https://git-wip-us.apache.org/repos/asf?p=servicemix-bundles.git</url>
-      <tag>HEAD</tag>
-  </scm>
-
-    <properties>
-        <pkgGroupId>org.twitter4j</pkgGroupId>
-        <pkgArtifactId>twitter4j</pkgArtifactId>
-        <pkgVersion>4.0.6</pkgVersion>
-        <servicemix.osgi.export.pkg>
-            twitter4j
-        </servicemix.osgi.export.pkg>
-        <servicemix.osgi.import.pkg>
-	        javax.crypto*,
-            javax.management*,
-            org.slf4j;resolution:=optional,
-            org.apache.commons.logging;resolution:=optional,
-            org.apache.log4j;resolution:=optional,
-            com.google.appengine.api.urlfetch;resolution:=optional,
-            dalvik.system;resolution:=optional,
-            twitter4j.internal.http.alternative;resolution:=optional
-        </servicemix.osgi.import.pkg>
-    </properties>
-
-    <dependencies>
-        <dependency>
-            <groupId>${pkgGroupId}</groupId>
-            <artifactId>twitter4j-core</artifactId>
-            <version>${pkgVersion}</version>
-        </dependency>
-        <dependency>
-            <groupId>${pkgGroupId}</groupId>
-            <artifactId>twitter4j-stream</artifactId>
-            <version>${pkgVersion}</version>
-        </dependency>
-
-        <!-- sources -->
-        <dependency>
-            <groupId>${pkgGroupId}</groupId>
-            <artifactId>twitter4j-core</artifactId>
-            <version>${pkgVersion}</version>
-            <classifier>sources</classifier>
-        </dependency>
-        <dependency>
-            <groupId>${pkgGroupId}</groupId>
-            <artifactId>twitter4j-stream</artifactId>
-            <version>${pkgVersion}</version>
-            <classifier>sources</classifier>
-        </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}:twitter4j-core</include>
-                                    <include>${pkgGroupId}:twitter4j-stream</include>
-                                </includes>
-                            </artifactSet>
-                            <filters>
-                                <filter>
-                                    <artifact>${pkgGroupId}:twitter4j-core</artifact>
-                                    <excludes>
-                                        <exclude>**</exclude>
-                                    </excludes>
-                                </filter>
-                                <filter>
-                                    <artifact>${pkgGroupId}:twitter4j-stream</artifact>
-                                    <excludes>
-                                        <exclude>**</exclude>
-                                    </excludes>
-                                </filter>
-                            </filters>
-                            <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
-                            <createDependencyReducedPom>true</createDependencyReducedPom>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-</project>

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/ad156740/twitter4j-4.0.6/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/twitter4j-4.0.6/src/main/resources/OSGI-INF/bundle.info b/twitter4j-4.0.6/src/main/resources/OSGI-INF/bundle.info
deleted file mode 100644
index 5a88c94..0000000
--- a/twitter4j-4.0.6/src/main/resources/OSGI-INF/bundle.info
+++ /dev/null
@@ -1,21 +0,0 @@
-\u001B[1mSYNOPSIS\u001B[0m
-    ${project.description}
-
-    Original Maven URL:
-        \u001B[33mmvn:${pkgGroupId}/twitter4j-core\u001B[0m
-        \u001B[33mmvn:${pkgGroupId}/twitter4j-stream\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

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/ad156740/twitter4j-4.0.7/pom.xml
----------------------------------------------------------------------
diff --git a/twitter4j-4.0.7/pom.xml b/twitter4j-4.0.7/pom.xml
new file mode 100644
index 0000000..2ac9859
--- /dev/null
+++ b/twitter4j-4.0.7/pom.xml
@@ -0,0 +1,131 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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/xsd/maven-4.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>12</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.twitter4j</artifactId>
+    <version>4.0.7_1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+    <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.</description>
+
+    <scm>
+        <connection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</connection>
+        <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</developerConnection>
+        <url>https://git-wip-us.apache.org/repos/asf?p=servicemix-bundles.git</url>
+      <tag>HEAD</tag>
+  </scm>
+
+    <properties>
+        <pkgGroupId>org.twitter4j</pkgGroupId>
+        <pkgArtifactId>twitter4j</pkgArtifactId>
+        <pkgVersion>4.0.7</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            twitter4j
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+	        javax.crypto*,
+            javax.management*,
+            org.slf4j;resolution:=optional,
+            org.apache.commons.logging;resolution:=optional,
+            org.apache.log4j;resolution:=optional,
+            com.google.appengine.api.urlfetch;resolution:=optional,
+            dalvik.system;resolution:=optional,
+            twitter4j.internal.http.alternative;resolution:=optional
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>twitter4j-core</artifactId>
+            <version>${pkgVersion}</version>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>twitter4j-stream</artifactId>
+            <version>${pkgVersion}</version>
+        </dependency>
+
+        <!-- sources -->
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>twitter4j-core</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>twitter4j-stream</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+        </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}:twitter4j-core</include>
+                                    <include>${pkgGroupId}:twitter4j-stream</include>
+                                </includes>
+                            </artifactSet>
+                            <filters>
+                                <filter>
+                                    <artifact>${pkgGroupId}:twitter4j-core</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                                <filter>
+                                    <artifact>${pkgGroupId}:twitter4j-stream</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                            </filters>
+                            <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+                            <createDependencyReducedPom>true</createDependencyReducedPom>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/ad156740/twitter4j-4.0.7/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/twitter4j-4.0.7/src/main/resources/OSGI-INF/bundle.info b/twitter4j-4.0.7/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..5a88c94
--- /dev/null
+++ b/twitter4j-4.0.7/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,21 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:${pkgGroupId}/twitter4j-core\u001B[0m
+        \u001B[33mmvn:${pkgGroupId}/twitter4j-stream\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