servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject servicemix-bundles git commit: [SM-3255] Create OSGi bundle for braintree-java 2.71.0
Date Sun, 19 Feb 2017 20:52:03 GMT
Repository: servicemix-bundles
Updated Branches:
  refs/heads/master 47a6e3e04 -> 494db4b57


[SM-3255] Create OSGi bundle for braintree-java 2.71.0


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

Branch: refs/heads/master
Commit: 494db4b57e860bd57e960b572403abc2d12e055c
Parents: 47a6e3e
Author: Jean-Baptiste Onofré <jbonofre@apache.org>
Authored: Sun Feb 19 21:51:26 2017 +0100
Committer: Jean-Baptiste Onofré <jbonofre@apache.org>
Committed: Sun Feb 19 21:51:26 2017 +0100

----------------------------------------------------------------------
 braintree-java-2.71.0/pom.xml                   | 113 +++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info     |  15 +++
 pom.xml                                         |   1 +
 3 files changed, 129 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/494db4b5/braintree-java-2.71.0/pom.xml
----------------------------------------------------------------------
diff --git a/braintree-java-2.71.0/pom.xml b/braintree-java-2.71.0/pom.xml
new file mode 100644
index 0000000..74ad6f0
--- /dev/null
+++ b/braintree-java-2.71.0/pom.xml
@@ -0,0 +1,113 @@
+<?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>13-SNAPSHOT</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.braintree-java</artifactId>
+    <version>2.71.0_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>com.braintreepayments.gateway</pkgGroupId>
+        <pkgArtifactId>braintree-java</pkgArtifactId>
+        <pkgVersion>2.71.0</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            com.braintreegateway;version=${pkgVersion};-split-package:=merge-first,
+            com.braintreegateway.exceptions;version=${pkgVersion};-split-package:=merge-first,
+            com.braintreegateway.util;version=${pkgVersion};-split-package:=merge-first,
+            com.braintreegateway.test;version=${pkgVersion};-split-package:=merge-first
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.private.pkg>
+            com.braintreegateway.org.*;-split-package:=merge-first
+        </servicemix.osgi.private.pkg>
+        <servicemix.osgi.import.pkg>
+            *
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>braintree-java</artifactId>
+            <version>${pkgVersion}</version>
+        </dependency>
+
+        <!-- sources -->
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>braintree-java</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}:t${pkgArtifactId}</include>
+                                </includes>
+                            </artifactSet>
+                            <filters>
+                                <filter>
+                                    <artifact>${pkgGroupId}:${pkgArtifactId}</artifact>
+                                    <includes>
+                                        <include>**/*.properties</include>
+                                        <include>ssl/**</include>
+                                    </includes>
+                                </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/494db4b5/braintree-java-2.71.0/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/braintree-java-2.71.0/src/main/resources/OSGI-INF/bundle.info b/braintree-java-2.71.0/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..0189e2f
--- /dev/null
+++ b/braintree-java-2.71.0/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,15 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    Braintree makes it easy to accept payments in your app or website. 
+    
+    Get integrated quickly using our guides and selecting from our range of 
+    client SDKs and server SDKs.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttps://developers.braintreepayments.com\u001B[0m
+    \u001B[36mhttps://developers.braintreepayments.com/start/hello-server/java\u001B[0m

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/494db4b5/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 82ee734..19b9987 100644
--- a/pom.xml
+++ b/pom.xml
@@ -97,6 +97,7 @@
         <module>htmlunit-2.24</module>
         <module>hbase-1.3.0</module>
         <module>spatial4j-0.5</module>
+        <module>braintree-java-2.71.0</module>
     </modules>
 
 </project>


Mime
View raw message