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 2015/07/06 11:16:49 UTC

servicemix-bundles git commit: [SM-2615] Create OSGi bundle for jopt-simple 4.9

Repository: servicemix-bundles
Updated Branches:
  refs/heads/master 82060082b -> 3263baecd


[SM-2615] Create OSGi bundle for jopt-simple 4.9


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

Branch: refs/heads/master
Commit: 3263baecd4d2330f1bd8485db68ad7815c72c57a
Parents: 8206008
Author: Jean-Baptiste Onofré <jb...@apache.org>
Authored: Mon Jul 6 11:16:23 2015 +0200
Committer: Jean-Baptiste Onofré <jb...@apache.org>
Committed: Mon Jul 6 11:16:23 2015 +0200

----------------------------------------------------------------------
 jopt-simple-4.9/pom.xml                         | 106 +++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info     |  14 +++
 pom.xml                                         |   1 +
 3 files changed, 121 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/3263baec/jopt-simple-4.9/pom.xml
----------------------------------------------------------------------
diff --git a/jopt-simple-4.9/pom.xml b/jopt-simple-4.9/pom.xml
new file mode 100644
index 0000000..378c615
--- /dev/null
+++ b/jopt-simple-4.9/pom.xml
@@ -0,0 +1,106 @@
+<?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.jopt-simple</artifactId>
+    <packaging>bundle</packaging>
+    <version>4.9_1-SNAPSHOT</version>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+    <description>This OSGi bundle wraps jopt-simple ${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>net.sf.jopt-simple</pkgGroupId>
+        <pkgArtifactId>jopt-simple</pkgArtifactId>
+        <pkgVersion>4.9</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            joptsimple
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+        </dependency>
+
+        <!-- sources -->
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+        </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>
+                            <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+                            <createDependencyReducedPom>false</createDependencyReducedPom>
+                            <keepDependenciesWithProvidedScope>true</keepDependenciesWithProvidedScope>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/3263baec/jopt-simple-4.9/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/jopt-simple-4.9/src/main/resources/OSGI-INF/bundle.info b/jopt-simple-4.9/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..cf7228e
--- /dev/null
+++ b/jopt-simple-4.9/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,14 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URLs:
+        \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    JOpt Simple is a Java library for parsing command line options, such as those you might pass to an invocation of javac.
+    In the interest of striving for simplicity, as closely as possible JOpt Simple attempts to honor the command line
+    option syntaxes of POSIX getopt() and GNU getopt_long(). It also aims to make option parser configuration and
+    retrieval of options and their arguments simple and expressive, without being overly clever.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://pholser.github.com/jopt-simple/\u001B[0m

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/3263baec/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 1708d3e..1358cea 100644
--- a/pom.xml
+++ b/pom.xml
@@ -107,6 +107,7 @@
         <module>aws-java-sdk-1.10.2</module>
         <module>ant-1.9.6</module>
         <module>bcpg-jdk15on-1.52</module>
+        <module>jopt-simple-4.9</module>
     </modules>
 
 </project>