servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject servicemix-bundles git commit: [SM-2966] Create OSGi bundle for ant 1.9.7
Date Fri, 29 Apr 2016 06:42:53 GMT
Repository: servicemix-bundles
Updated Branches:
  refs/heads/master d05b69f5a -> d7d9a9113


[SM-2966] Create OSGi bundle for ant 1.9.7


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

Branch: refs/heads/master
Commit: d7d9a911333f6ee77f48804225fb38df8b7241e9
Parents: d05b69f
Author: Jean-Baptiste Onofré <jbonofre@apache.org>
Authored: Fri Apr 29 08:42:26 2016 +0200
Committer: Jean-Baptiste Onofré <jbonofre@apache.org>
Committed: Fri Apr 29 08:42:26 2016 +0200

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


http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/d7d9a911/ant-1.9.7/pom.xml
----------------------------------------------------------------------
diff --git a/ant-1.9.7/pom.xml b/ant-1.9.7/pom.xml
new file mode 100644
index 0000000..78e6aea
--- /dev/null
+++ b/ant-1.9.7/pom.xml
@@ -0,0 +1,122 @@
+<?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.7_1-SNAPSHOT</version>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+    <description>This OSGi bundle wraps ant and ant-launcher ${pkgVersion} jar files.</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>org.apache.ant</pkgGroupId>
+        <pkgArtifactId>ant</pkgArtifactId>
+        <pkgVersion>1.9.7</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/d7d9a911/ant-1.9.7/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/ant-1.9.7/src/main/resources/OSGI-INF/bundle.info b/ant-1.9.7/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..8dc5d00
--- /dev/null
+++ b/ant-1.9.7/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/d7d9a911/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index d9e0a72..0c38e52 100644
--- a/pom.xml
+++ b/pom.xml
@@ -88,6 +88,7 @@
         <module>spring-ws-security-2.3.0.RELEASE</module>
         <module>spring-ws-support-2.3.0.RELEASE</module>
         <module>spring-ws-test-2.3.0.RELEASE</module>
+        <module>ant-1.9.7</module>
     </modules>
 
 </project>


Mime
View raw message