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-3319] Create OSGi bundle for mybatis 3.4.4
Date Tue, 02 May 2017 07:19:05 GMT
Repository: servicemix-bundles
Updated Branches:
  refs/heads/master b726e190c -> b70a1943a


[SM-3319] Create OSGi bundle for mybatis 3.4.4


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

Branch: refs/heads/master
Commit: b70a1943ad4644adfd86b5bbefe79f2ce6fbada2
Parents: b726e19
Author: Jean-Baptiste Onofré <jbonofre@apache.org>
Authored: Tue May 2 09:18:34 2017 +0200
Committer: Jean-Baptiste Onofré <jbonofre@apache.org>
Committed: Tue May 2 09:18:34 2017 +0200

----------------------------------------------------------------------
 mybatis-3.4.4/pom.xml                           | 116 +++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info     |  17 +++
 pom.xml                                         |   1 +
 3 files changed, 134 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/b70a1943/mybatis-3.4.4/pom.xml
----------------------------------------------------------------------
diff --git a/mybatis-3.4.4/pom.xml b/mybatis-3.4.4/pom.xml
new file mode 100644
index 0000000..98ba826
--- /dev/null
+++ b/mybatis-3.4.4/pom.xml
@@ -0,0 +1,116 @@
+<?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</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.mybatis</artifactId>
+    <version>3.4.4_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>
+    </scm>
+
+    <properties>
+        <pkgGroupId>org.mybatis</pkgGroupId>
+        <pkgArtifactId>mybatis</pkgArtifactId>
+        <pkgVersion>3.4.4</pkgVersion>
+        <servicemix.osgi.export>
+            org.apache.ibatis*;version=${pkgVersion};-split-package:=merge-first;-noimport:=true
+        </servicemix.osgi.export>
+        <servicemix.osgi.import.pkg>
+            net.sf.cglib.proxy*;resolution:=optional,
+            org.apache.commons.logging*;resolution:=optional,
+            org.apache.log4j*;resolution:=optional,
+            org.slf4j*;resolution:=optional,
+            javassist.util.proxy,
+            javax.naming,
+            javax.sql,
+            javax.xml.namespace,
+            javax.xml.parsers,
+            javax.xml.xpath,
+            org.w3c.dom,
+            org.xml.sax
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>true</optional>
+        </dependency>
+
+        <!-- sources -->
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+            <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>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/b70a1943/mybatis-3.4.4/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/mybatis-3.4.4/src/main/resources/OSGI-INF/bundle.info b/mybatis-3.4.4/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..0d26085
--- /dev/null
+++ b/mybatis-3.4.4/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,17 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:http://download.java.net/maven/2:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    The MyBatis data mapper framework makes it easier to use a relational database with object-oriented
applications.
+    MyBatis couples objects with stored procedures or SQL statements using a XML descriptor.
Simplicity is the biggest
+    advantage of the MyBatis data mapper over object relational mapping tools.
+
+    To use the MyBatis data mapper, you rely on your own objects, XML, and SQL. There is
little to learn that you
+    don't already know. With the MyBatis Data Mapper, you have the full power of both SQL
and stored procedures at your
+    fingertips.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://www.mybatis.org/\u001B[0m

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/b70a1943/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index f24d8f3..8b0ca1b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -91,6 +91,7 @@
         <module>libthrift-0.10.0</module>
         <module>snmp4j-2.5.6</module>
         <module>jt400-9.3</module>
+        <module>mybatis-3.4.4</module>
     </modules>
 
 </project>


Mime
View raw message