You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ac...@apache.org on 2016/08/24 08:21:38 UTC
servicemix-bundles git commit: [SM-3080] Create OSGi bundle for Jt400
9.1
Repository: servicemix-bundles
Updated Branches:
refs/heads/master 7ca3a2af3 -> 786604537
[SM-3080] Create OSGi bundle for Jt400 9.1
Project: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/repo
Commit: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/commit/78660453
Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/78660453
Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/78660453
Branch: refs/heads/master
Commit: 78660453793f929a4d7e339adb5cfad446960f36
Parents: 7ca3a2a
Author: Andrea Cosentino <an...@gmail.com>
Authored: Wed Aug 24 10:18:13 2016 +0200
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Wed Aug 24 10:18:13 2016 +0200
----------------------------------------------------------------------
jt400-9.1/pom.xml | 118 +++++++++++++++++++
.../src/main/resources/OSGI-INF/bundle.info | 21 ++++
pom.xml | 1 +
3 files changed, 140 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/78660453/jt400-9.1/pom.xml
----------------------------------------------------------------------
diff --git a/jt400-9.1/pom.xml b/jt400-9.1/pom.xml
new file mode 100644
index 0000000..b468779
--- /dev/null
+++ b/jt400-9.1/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.1_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.1</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/78660453/jt400-9.1/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/jt400-9.1/src/main/resources/OSGI-INF/bundle.info b/jt400-9.1/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..cb6d8be
--- /dev/null
+++ b/jt400-9.1/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/78660453/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 88fe331..2626428 100644
--- a/pom.xml
+++ b/pom.xml
@@ -47,6 +47,7 @@
<module>kafka_2.10-0.10.0.1</module>
<module>hystrix-event-stream-1.5.5</module>
<module>hystrix-1.5.5</module>
+ <module>jt400-9.1</module>
</modules>
</project>