Skip to content

Commit

Permalink
[SMX4-1697]add commons-httpclient-2.0.2
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/servicemix/smx4/bundles/trunk@1571971 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
ffang committed Feb 26, 2014
1 parent f1b0968 commit d59e06e
Show file tree
Hide file tree
Showing 4 changed files with 126 additions and 1 deletion.
105 changes: 105 additions & 0 deletions commons-httpclient-2.0.2/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
<?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>11</version>
<relativePath>../bundles-pom/pom.xml</relativePath>
</parent>

<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>org.apache.servicemix.bundles.commons-httpclient</artifactId>
<version>2.0.2_1-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
<description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.</description>

<properties>
<pkgGroupId>commons-httpclient</pkgGroupId>
<pkgArtifactId>commons-httpclient</pkgArtifactId>
<pkgVersion>2.0.2</pkgVersion>
<servicemix.osgi.export.pkg>
org.apache.commons.httpclient
</servicemix.osgi.export.pkg>
<servicemix.osgi.import.pkg>
javax.crypto*,
javax.net*,
org.apache.commons.codec*;version="[1.2,2)",
org.apache.commons.logging*;resolution:=optional,
</servicemix.osgi.import.pkg>
</properties>

<dependencies>
<dependency>
<groupId>${pkgGroupId}</groupId>
<artifactId>${pkgArtifactId}</artifactId>
<version>${pkgVersion}</version>
<optional>true</optional>
</dependency>

<!-- sources -->
<dependency>
<groupId>${pkgGroupId}</groupId>
<artifactId>${pkgArtifactId}</artifactId>
<version>${pkgVersion}</version>
<classifier>sources</classifier>
<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>
<excludes>
<exclude>**</exclude>
</excludes>
</filter>
</filters>
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
<createDependencyReducedPom>true</createDependencyReducedPom>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>
19 changes: 19 additions & 0 deletions commons-httpclient-2.0.2/src/main/resources/OSGI-INF/bundle.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
\u001B[1mSYNOPSIS\u001B[0m
${project.description}

Original Maven URL:
\u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m

\u001B[1mDESCRIPTION\u001B[0m
The Hyper-Text Transfer Protocol (HTTP) is perhaps the most significant protocol used on the Internet today.
Web services, network-enabled appliances and the growth of network computing continue to expand the role of
the HTTP protocol beyond user-driven web browsers, while increasing the number of applications that require
HTTP support.

Designed for extension while providing robust support for the base HTTP protocol, the HttpComponents may be
of interest to anyone building HTTP-aware client and server applications such as web browsers, web spiders,
HTTP proxies, web service transport libraries, or systems that leverage or extend the HTTP protocol for
distributed communication.

\u001B[1mSEE ALSO\u001B[0m
\u001B[36mhttp://hc.apache.org/\u001B[0m
2 changes: 1 addition & 1 deletion commons-vfs-1.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>bundles-pom</artifactId>
<version>9-SNAPSHOT</version>
<version>11</version>
<relativePath>../bundles-pom/pom.xml</relativePath>
</parent>

Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
<!-- add modules for all bundles to released in the next batch here -->
<module>joda-time-2.3</module>
<module>elasticsearch-1.0.0</module>
<module>commons-httpclient-2.0.2</module>
</modules>

</project>

0 comments on commit d59e06e

Please sign in to comment.