Repository: servicemix-bundles
Updated Branches:
  refs/heads/master a02765dc8 -> 97a1abd9d


[SM-3270] Create OSGi bundle for Jt400 9.2


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

Branch: refs/heads/master
Commit: 97a1abd9d0752b43f756bb8f4ab7b79ab767f937
Parents: a02765d
Author: Andrea Cosentino <[email protected]>
Authored: Thu Mar 9 10:15:03 2017 +0100
Committer: Andrea Cosentino <[email protected]>
Committed: Thu Mar 9 10:15:03 2017 +0100

----------------------------------------------------------------------
 jt400-9.2/pom.xml                               | 118 +++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info     |  21 ++++
 pom.xml                                         |  51 +-------
 3 files changed, 140 insertions(+), 50 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/97a1abd9/jt400-9.2/pom.xml
----------------------------------------------------------------------
diff --git a/jt400-9.2/pom.xml b/jt400-9.2/pom.xml
new file mode 100644
index 0000000..a3b925a
--- /dev/null
+++ b/jt400-9.2/pom.xml
@@ -0,0 +1,118 @@
+<?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.jt400</artifactId>
+    <packaging>bundle</packaging>
+    <version>9.2_1-SNAPSHOT</version>
+    <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>net.sf.jt400</pkgGroupId>
+        <pkgArtifactId>jt400</pkgArtifactId>
+        <pkgVersion>9.2</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            com.ibm.as400
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            javax.accessibility,
+            javax.naming*,
+            javax.net*,
+            javax.servlet*;resolution:=optional,
+            javax.sql,
+            javax.swing*;resolution:=optional,
+            javax.transaction.xa;resolution:=optional,
+            javax.xml.parsers,
+            javax.xml.transform,
+            javax.xml.transform.stream,
+            org.w3c.dom;resolution:=optional,
+            org.xml.sax,
+            org.xml.sax.helpers,
+            com.ibm.as400.ui.framework*;resolution:=optional,
+            com.ibm.db2.jdbc.app;resolution:=optional,
+            com.ibm.sslight;resolution:=optional,
+            org.ietf.jgss;resolution:=optional,
+            sun.misc;resolution:=optional,
+            sun.util;resolution:=optional
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <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>
+                                    <includes>
+                                        <include>**/*.gif</include>
+                                        <include>**/*.xsl</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/97a1abd9/jt400-9.2/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/jt400-9.2/src/main/resources/OSGI-INF/bundle.info 
b/jt400-9.2/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..cb6d8be
--- /dev/null
+++ b/jt400-9.2/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,21 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URLs:
+        \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    The IBM Toolbox for Java is a library of Java classes supporting the 
client/server and internet programming models
+    to a system running IBM i (or i5/OS or OS/400). The classes can be used by 
Java applets, servlets, and applications
+    to easily access IBM i data and resources.
+
+    The Toolbox does not require additional client support over and above what 
is provided by the Java Virtual Machine
+    and TCP/IP.
+
+    JTOpen is the open source version of the IBM Toolbox for Java licensed 
program product, and contains the identical
+    code. Both have been tested on a wide variety of platforms, including AIX, 
IBM i, Linux, Solaris, and Windows.
+
+    Details of all the functions and capabilities are available on the IBM 
Toolbox for Java web page.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://jt400.sourceforge.net/\u001B[0m

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/97a1abd9/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 9073294..86db026 100644
--- a/pom.xml
+++ b/pom.xml
@@ -43,56 +43,7 @@
 
     <modules>
         <!-- add modules for all bundles to released in the next batch here -->
-        <module>elasticsearch-5.1.2</module>
-        <module>elasticsearch-5.2.1</module>
-        <module>spring-test-4.3.1.RELEASE</module>
-        <module>spring-test-4.3.3.RELEASE</module>
-        <module>spring-test-4.3.5.RELEASE</module>
-        <module>spring-aop-4.3.6.RELEASE</module>
-        <module>spring-aspects-4.3.6.RELEASE</module>
-        <module>spring-beans-4.3.6.RELEASE</module>
-        <module>spring-context-4.3.6.RELEASE</module>
-        <module>spring-context-support-4.3.6.RELEASE</module>
-        <module>spring-core-4.3.6.RELEASE</module>
-        <module>spring-expression-4.3.6.RELEASE</module>
-        <module>spring-instrument-4.3.6.RELEASE</module>
-        <module>spring-jdbc-4.3.6.RELEASE</module>
-        <module>spring-jms-4.3.6.RELEASE</module>
-        <module>spring-messaging-4.3.6.RELEASE</module>
-        <module>spring-orm-4.3.6.RELEASE</module>
-        <module>spring-oxm-4.3.6.RELEASE</module>
-        <module>spring-test-4.3.6.RELEASE</module>
-        <module>spring-tx-4.3.6.RELEASE</module>
-        <module>spring-web-4.3.6.RELEASE</module>
-        <module>spring-webmvc-4.3.6.RELEASE</module>
-        <module>spring-webmvc-portlet-4.3.6.RELEASE</module>
-        <module>spring-websocket-4.3.6.RELEASE</module>
-        <module>derby-10.13.1.1</module>
-        <module>derbynet-10.13.1.1</module>
-        <module>gwt-servlet-2.8.0</module>
-        <module>gae-1.9.49</module>
-        <module>lucene-6.4.1</module>
-        <module>lucene-analyzers-common-6.4.1</module>
-        <module>lucene-queries-6.4.1</module>
-        <module>lucene-queryparser-6.4.1</module>
-        <module>lucene-sandbox-6.4.1</module>
-        <module>ant-1.10.1</module>
-        <module>docker-java-3.0.7</module>
-        <module>aspectj-1.8.10</module>
-        <module>saxon-9.7.0-15</module>
-        <module>orbitz-consul-client-0.13.11</module>
-        <module>htmlunit-2.24</module>
-        <module>hbase-1.3.0</module>
-        <module>spatial4j-0.5</module>
-        <module>braintree-java-2.71.0</module>
-        <module>bcpg-jdk15on-1.56</module>
-        <module>libphonenumber-8.3.0</module>
-        <module>aws-java-sdk-1.11.92</mmodule>
-        <module>spring-security-ldap-4.0.4.RELEASE</module>
-        <module>spring-data-commons-1.12.1.RELEASE</module>
-        <module>azure-keyvault-core-1.0.0-beta3</module>
-        <module>azure-storage-5.0.0</module>
-        <module>ognl-3.2</module>
+        <module>jt400-9.2</module>
     </modules>
 
 </project>

Reply via email to