Repository: servicemix-bundles Updated Branches: refs/heads/master bffe84e88 -> 04d564222
[SM-3247] Create OSGi bundle for ant 1.10.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/04d56422 Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/04d56422 Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/04d56422 Branch: refs/heads/master Commit: 04d564222e2d3d36792c7a39175f8b627ee4d621 Parents: bffe84e Author: Jean-Baptiste Onofré <[email protected]> Authored: Sun Feb 19 20:51:18 2017 +0100 Committer: Jean-Baptiste Onofré <[email protected]> Committed: Sun Feb 19 20:51:18 2017 +0100 ---------------------------------------------------------------------- ant-1.10.1/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/04d56422/ant-1.10.1/pom.xml ---------------------------------------------------------------------- diff --git a/ant-1.10.1/pom.xml b/ant-1.10.1/pom.xml new file mode 100644 index 0000000..16467b0 --- /dev/null +++ b/ant-1.10.1/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>13-SNAPSHOT</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.10.1_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.10.1</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/04d56422/ant-1.10.1/src/main/resources/OSGI-INF/bundle.info ---------------------------------------------------------------------- diff --git a/ant-1.10.1/src/main/resources/OSGI-INF/bundle.info b/ant-1.10.1/src/main/resources/OSGI-INF/bundle.info new file mode 100644 index 0000000..8dc5d00 --- /dev/null +++ b/ant-1.10.1/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/04d56422/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 01868a5..84789c7 100644 --- a/pom.xml +++ b/pom.xml @@ -89,6 +89,7 @@ <module>lucene-queries-6.4.1</module> <module>lucene-queryparser-6.4.1</module> <module>lucene-sandbox-6.4.1</module> + <module>ant-1.10.1</module> </modules> </project>
