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:04:05 UTC

servicemix-bundles git commit: [SM-2613] Create OSGi bundle for ant 1.9.6

Repository: servicemix-bundles
Updated Branches:
  refs/heads/master 34c9f157d -> adc707e45


[SM-2613] Create OSGi bundle for ant 1.9.6


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

Branch: refs/heads/master
Commit: adc707e45704fb1f9b769c4459f850660e2d4948
Parents: 34c9f15
Author: Jean-Baptiste Onofré <jb...@apache.org>
Authored: Mon Jul 6 11:03:17 2015 +0200
Committer: Jean-Baptiste Onofré <jb...@apache.org>
Committed: Mon Jul 6 11:03:17 2015 +0200

----------------------------------------------------------------------
 ant-1.9.6/pom.xml                               | 114 +++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info     |  13 +++
 pom.xml                                         |   1 +
 3 files changed, 128 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/adc707e4/ant-1.9.6/pom.xml
----------------------------------------------------------------------
diff --git a/ant-1.9.6/pom.xml b/ant-1.9.6/pom.xml
new file mode 100644
index 0000000..095f64a
--- /dev/null
+++ b/ant-1.9.6/pom.xml
@@ -0,0 +1,114 @@
+<?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.ant</artifactId>
+    <packaging>bundle</packaging>
+    <version>1.9.6_1-SNAPSHOT</version>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+    <description>This OSGi bundle wraps ant and ant-launcher ${pkgVersion} jar files.</description>
+
+    <properties>
+        <pkgGroupId>org.apache.ant</pkgGroupId>
+        <pkgArtifactId>ant</pkgArtifactId>
+        <pkgVersion>1.9.6</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            org.apache.tools
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            gnu.gcj;resolution:=optional,
+            javax.mail.internet;resolution:=optional,
+            kaffe.util;resolution:=optional,
+            org.apache.env;resolution:=optional,
+            sun.rmi.rmic;resolution:=optional,
+            weblogic;resolution:=optional,
+            javax.activation,
+            javax.xml*,
+            org.w3c.dom,
+            org.xml.sax*
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>ant</artifactId>
+            <version>${pkgVersion}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.ant</groupId>
+            <artifactId>ant-launcher</artifactId>
+            <version>${pkgVersion}</version>
+        </dependency>
+
+        <!-- sources are not present on central -->
+    </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}:ant</include>
+                                    <include>${pkgGroupId}:ant-launcher</include>
+                                </includes>
+                            </artifactSet>
+                            <filters>
+                                <filter>
+                                    <artifact>${pkgGroupId}:ant</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                                <filter>
+                                    <artifact>${pkgGroupId}:ant-launcher</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </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/adc707e4/ant-1.9.6/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/ant-1.9.6/src/main/resources/OSGI-INF/bundle.info b/ant-1.9.6/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..8dc5d00
--- /dev/null
+++ b/ant-1.9.6/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,13 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URLs:
+        \u001B[33mmvn:${pkgGroupId}/ant/${pkgVersion}\u001B[0m
+        \u001B[33mmvn:${pkgGroupId}/ant-launcher/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    Apache Ant is a Java library and command-line tool who's mission is to drive processes described in build
+    files as targets and extension upon each other.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://ant.apache.org/\u001B[0m

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/adc707e4/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 88bc3c0..f9cf711 100644
--- a/pom.xml
+++ b/pom.xml
@@ -105,6 +105,7 @@
         <module>htmlunit-2.17</module>
         <module>solr-solrj-5.2.1</module>
         <module>aws-java-sdk-1.10.2</module>
+        <module>ant-1.9.6</module>
     </modules>
 
 </project>