httpclient-osgi
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.basistech.org.apache.httpcomponents</groupId>
<artifactId>httpclient-osgi</artifactId>
<version>4.5.14-1</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
====================================================================
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.
====================================================================
This software consists of voluntary contributions made by many
individuals on behalf of the Apache Software Foundation. For more
information on the Apache Software Foundation, please see
<http://www.apache.org />.
====================================================================
Babel Street / Rosette Update:
Modifications copyright (C) 2023 Babel Street
Changes made to this file are listed below for the purpose of
updating the embedded Apache Commons Codec to fix vulnerability
SONATYPE-2012-0050.
- Apache Commons Codec version update 1.13 -> 1.15
- Java version update 1.6 -> 1.8
- Support for deployment to Maven Central under com.basistech
- Various metadata modifications to properly describe the artifact
====================================================================
-->
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcomponents-client</artifactId>
<version>4.5.14</version>
</parent>
<groupId>com.basistech.org.apache.httpcomponents</groupId>
<artifactId>httpclient-osgi</artifactId>
<version>4.5.14-1</version>
<name>Apache HttpClient OSGi bundle - Custom Rosette</name>
<inceptionYear>1999</inceptionYear>
<description>
Apache HttpComponents Client (OSGi bundle) with an updated Apache Commons Codec to remove SONATYPE-2012-0050 vulnerability.
</description>
<url>http://hc.apache.org/httpcomponents-client</url>
<packaging>bundle</packaging>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<httpcore.osgi.import.version>"[4.4.0, 4.5.0)"</httpcore.osgi.import.version>
<commons-logging.osgi.import.version>"[1.1.0, 1.3.0)"</commons-logging.osgi.import.version>
</properties>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<dependencies>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>${project.parent.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.15</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpmime</artifactId>
<version>${project.parent.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient-cache</artifactId>
<version>${project.parent.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>fluent-hc</artifactId>
<version>${project.parent.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
<version>4.2.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.compendium</artifactId>
<version>4.2.0</version>
<scope>provided</scope>
</dependency>
<!-- test dependencies, mainly OSGi runtime environment -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerId>eclipse</compilerId>
</configuration>
<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-compiler-eclipse</artifactId>
<version>2.13.0</version>
</dependency>
</dependencies>
<version>3.11.0</version>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.13</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<!-- Prevents error with JAVA_HOME env not already defined in parent pom -->
<javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-Name>Apache ${project.name}</Bundle-Name>
<Bundle-SymbolicName>${project.groupId}.httpclient</Bundle-SymbolicName>
<_exportcontents>
org.apache.http.auth.*;version=${project.parent.version},
org.apache.http.cookie.*;version=${project.parent.version},
org.apache.http.conn.*;version=${project.parent.version},
org.apache.http.client.*;version=${project.parent.version},
org.apache.http.entity.mime.*;version=${project.parent.version},
org.apache.http.entity.mime.content.*;version=${project.parent.version},
org.apache.http.impl.auth.*;version=${project.parent.version},
org.apache.http.impl.cookie.*;version=${project.parent.version},
org.apache.http.impl.conn.*;version=${project.parent.version},
org.apache.http.impl.execchain.*;version=${project.parent.version},
org.apache.http.impl.client.*;version=${project.parent.version},
org.apache.http.osgi.services.*;version=${project.parent.version}
</_exportcontents>
<Embed-Dependency>*;scope=compile|runtime;inline=true</Embed-Dependency>
<Import-Package>
javax.crypto,
javax.crypto.spec,
javax.naming,
javax.naming.directory,
javax.naming.ldap,
javax.net,
javax.net.ssl,
javax.security.auth.x500,
org.ietf.jgss,,
org.osgi.framework,
org.osgi.service.cm,
org.apache.commons.logging;version=${commons-logging.osgi.import.version},
org.apache.http;version=${httpcore.osgi.import.version},
org.apache.http.config;version=${httpcore.osgi.import.version},
org.apache.http.concurrent;version=${httpcore.osgi.import.version},
org.apache.http.entity;version=${httpcore.osgi.import.version},
org.apache.http.io;version=${httpcore.osgi.import.version},
org.apache.http.message;version=${httpcore.osgi.import.version},
org.apache.http.params;version=${httpcore.osgi.import.version},
org.apache.http.pool;version=${httpcore.osgi.import.version},
org.apache.http.protocol;version=${httpcore.osgi.import.version},
org.apache.http.ssl;version=${httpcore.osgi.import.version},
org.apache.http.util;version=${httpcore.osgi.import.version},
org.apache.http.impl;version=${httpcore.osgi.import.version},
org.apache.http.impl.entity;version=${httpcore.osgi.import.version},
org.apache.http.impl.io;version=${httpcore.osgi.import.version},
org.apache.http.impl.pool;version=${httpcore.osgi.import.version},
net.sf.ehcache.*;resolution:=optional,
net.spy.memcached.*;resolution:=optional
</Import-Package>
<Bundle-Activator>org.apache.http.osgi.impl.HttpProxyConfigurationActivator</Bundle-Activator>
<!-- Stop the JAVA_1_n_HOME variables from being treated as headers by Bnd -->
<_removeheaders>JAVA_1_3_HOME,JAVA_1_4_HOME</_removeheaders>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>clirr-maven-plugin</artifactId>
<configuration>
<includes>
<include>org/apache/http/osgi/**</include>
</includes>
</configuration>
</plugin>
</plugins>
<finalName>org.apache.httpcomponents.httpclient_${project.parent.version}</finalName>
</build>
<reporting>
<plugins>
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
<inherited>false</inherited>
<reportSets>
<reportSet>
<reports>
<report>dependencies</report>
<report>dependency-info</report>
<report>summary</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
</project>