You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by jb...@apache.org on 2017/09/03 06:39:22 UTC

servicemix-bundles git commit: [SM-3489] Create OSGi bundle for mybatis 3.4.5

Repository: servicemix-bundles
Updated Branches:
  refs/heads/master 102e5f898 -> 5bf852a29


[SM-3489] Create OSGi bundle for mybatis 3.4.5


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

Branch: refs/heads/master
Commit: 5bf852a29af6889af8542f31fcce7ead71009b6a
Parents: 102e5f8
Author: Jean-Baptiste Onofré <jb...@apache.org>
Authored: Sun Sep 3 08:39:03 2017 +0200
Committer: Jean-Baptiste Onofré <jb...@apache.org>
Committed: Sun Sep 3 08:39:03 2017 +0200

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


http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/5bf852a2/mybatis-3.4.4/pom.xml
----------------------------------------------------------------------
diff --git a/mybatis-3.4.4/pom.xml b/mybatis-3.4.4/pom.xml
deleted file mode 100644
index 59a6eb1..0000000
--- a/mybatis-3.4.4/pom.xml
+++ /dev/null
@@ -1,117 +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>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_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.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/5bf852a2/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
deleted file mode 100644
index 0d26085..0000000
--- a/mybatis-3.4.4/src/main/resources/OSGI-INF/bundle.info
+++ /dev/null
@@ -1,17 +0,0 @@
-\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/5bf852a2/mybatis-3.4.5/pom.xml
----------------------------------------------------------------------
diff --git a/mybatis-3.4.5/pom.xml b/mybatis-3.4.5/pom.xml
new file mode 100644
index 0000000..81ba91f
--- /dev/null
+++ b/mybatis-3.4.5/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.5_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.5</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/5bf852a2/mybatis-3.4.5/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/mybatis-3.4.5/src/main/resources/OSGI-INF/bundle.info b/mybatis-3.4.5/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..0d26085
--- /dev/null
+++ b/mybatis-3.4.5/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/5bf852a2/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 17c504f..efa913d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -70,6 +70,7 @@
         <module>grpc-1.6.1</module>
         <module>gremlin-driver-3.3.0-shaded</module>
         <module>dbunit-2.5.4</module>
+        <module>mybatis-3.4.5</module>
     </modules>
 
 </project>