You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ff...@apache.org on 2015/04/27 02:57:59 UTC

servicemix-bundles git commit: [SM-2501]Create OSGi bundle for olingo-odata2-api version 2.0.3

Repository: servicemix-bundles
Updated Branches:
  refs/heads/master 39649b660 -> 94d69c73e


[SM-2501]Create OSGi bundle for olingo-odata2-api version 2.0.3


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

Branch: refs/heads/master
Commit: 94d69c73eec672363d79c06a0166ff03a54bed1e
Parents: 39649b6
Author: Freeman Fang <fr...@gmail.com>
Authored: Mon Apr 27 08:57:44 2015 +0800
Committer: Freeman Fang <fr...@gmail.com>
Committed: Mon Apr 27 08:57:44 2015 +0800

----------------------------------------------------------------------
 olingo-odata2-api-2.0.3/pom.xml                 | 99 ++++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info     | 10 ++
 pom.xml                                         |  1 +
 3 files changed, 110 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/94d69c73/olingo-odata2-api-2.0.3/pom.xml
----------------------------------------------------------------------
diff --git a/olingo-odata2-api-2.0.3/pom.xml b/olingo-odata2-api-2.0.3/pom.xml
new file mode 100644
index 0000000..b6be88a
--- /dev/null
+++ b/olingo-odata2-api-2.0.3/pom.xml
@@ -0,0 +1,99 @@
+<?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.olingo-odata2-api</artifactId>
+    <version>2.0.3_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.apache.olingo</pkgGroupId>
+        <pkgArtifactId>olingo-odata2-api</pkgArtifactId>
+        <pkgVersion>2.0.3</pkgVersion>
+        <servicemix.osgi.export.pkg>
+          org.apache.olingo.odata2.api*
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            *
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+        </dependency>
+
+        <!-- sources -->
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</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}:${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>

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/94d69c73/olingo-odata2-api-2.0.3/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/olingo-odata2-api-2.0.3/src/main/resources/OSGI-INF/bundle.info b/olingo-odata2-api-2.0.3/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..f125124
--- /dev/null
+++ b/olingo-odata2-api-2.0.3/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,10 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+   Apache Olingo is a Java library that implements the Open Data Protocol (OData).
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://olingo.apache.org/\u001B[0m

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/94d69c73/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 4cbb47f..d77afe4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -46,6 +46,7 @@
         <module>twitter4j-4.0.3</module>
         <module>aws-java-sdk-1.9.30</module>
         <module>docker-java-1.2.0</module>
+        <module>olingo-odata2-api-2.0.3</module>
     </modules>
 
 </project>