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 2017/10/11 11:49:38 UTC
[2/2] servicemix-bundles git commit: [SM-3506] Create OSGi bundle for
Jt400 9.4
[SM-3506] Create OSGi bundle for Jt400 9.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/b912b822
Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/b912b822
Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/b912b822
Branch: refs/heads/master
Commit: b912b8222174b49a2a38eea5eb8a3952f4166bd1
Parents: 8ae92a7
Author: Andrea Cosentino <an...@gmail.com>
Authored: Wed Oct 11 13:48:07 2017 +0200
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Wed Oct 11 13:48:07 2017 +0200
----------------------------------------------------------------------
jt400-9.4/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/b912b822/jt400-9.4/pom.xml
----------------------------------------------------------------------
diff --git a/jt400-9.4/pom.xml b/jt400-9.4/pom.xml
new file mode 100644
index 0000000..bb0bdeb
--- /dev/null
+++ b/jt400-9.4/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>13</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.4_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.4</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/b912b822/jt400-9.4/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/jt400-9.4/src/main/resources/OSGI-INF/bundle.info b/jt400-9.4/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..cb6d8be
--- /dev/null
+++ b/jt400-9.4/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/b912b822/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 230e957..98d1c9f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -48,6 +48,7 @@
<module>okhttp-3.9.0</module>
<module>chunk-templates-3.3.1</module>
<module>fastjson-1.2.38</module>
+ <module>jt400-9.4</module>
</modules>
</project>