azure-core-http-jdk-httpclient
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.azure</groupId> <artifactId>azure-core-http-jdk-httpclient</artifactId> <version>1.1.2</version> </dependency>
<!-- ~ Copyright (c) Microsoft Corporation. All rights reserved. ~ Licensed under the MIT License. --> <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"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.azure</groupId> <artifactId>azure-client-sdk-parent</artifactId> <version>1.7.0</version> <!-- {x-version-update;com.azure:azure-client-sdk-parent;current} --> <relativePath>../../parents/azure-client-sdk-parent</relativePath> </parent> <groupId>com.azure</groupId> <artifactId>azure-core-http-jdk-httpclient</artifactId> <packaging>jar</packaging> <version>1.1.2</version> <!-- {x-version-update;com.azure:azure-core-http-jdk-httpclient;current} --> <name>Microsoft Azure JDK HTTP Client Library</name> <description>This package contains the Azure HTTP client library using the JDK HttpClient API.</description> <url>https://github.com/Azure/azure-sdk-for-java</url> <licenses> <license> <name>The MIT License (MIT)</name> <url>http://opensource.org/licenses/MIT</url> <distribution>repo</distribution> </license> </licenses> <distributionManagement> <site> <id>azure-java-build-docs</id> <url>${site.url}/site/${project.artifactId}</url> </site> </distributionManagement> <scm> <url>https://github.com/Azure/azure-sdk-for-java</url> <connection>scm:git:https://github.com/Azure/azure-sdk-for-java.git</connection> <developerConnection>scm:git:https://github.com/Azure/azure-sdk-for-java.git</developerConnection> </scm> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>11</maven.compiler.source> <maven.compiler.target>11</maven.compiler.target> <jacoco.skip>true</jacoco.skip> <legal> <![CDATA[[INFO] Any downloads listed may be third party software. Microsoft grants you no rights for third party software.]]></legal> <javaModulesSurefireArgLine> --add-opens com.azure.core.http.jdk.httpclient/com.azure.core.http.jdk.httpclient=ALL-UNNAMED </javaModulesSurefireArgLine> <!-- Enables fail on deprecated API usage. --> <compiler.failondeprecatedstatus/> <javadoc.excludePackageNames>com.azure.json,com.azure.core.implementation*,com.azure.core.util,com.azure.core.util*, com.azure.core.models,com.azure.core.http,com.azure.core.http.policy,com.azure.core.http.rest,com.azure.core.exception,com.azure.core.cryptography, com.azure.core.credential,com.azure.core.client.traits,com.azure.core.annotation</javadoc.excludePackageNames> <spotbugs.skip>false</spotbugs.skip> </properties> <developers> <developer> <id>microsoft</id> <name>Microsoft</name> </developer> </developers> <dependencies> <dependency> <groupId>com.azure</groupId> <artifactId>azure-core</artifactId> <version>1.57.0</version> <!-- {x-version-update;com.azure:azure-core;current} --> </dependency> <!-- test dependencies on azure-core, because we want to run tests inherited from this module using JDK 11 HttpClient --> <dependency> <groupId>com.azure</groupId> <artifactId>azure-core</artifactId> <version>1.57.0</version> <!-- {x-version-update;com.azure:azure-core;current} --> <classifier>tests</classifier> <type>test-jar</type> <scope>test</scope> </dependency> <dependency> <groupId>io.projectreactor</groupId> <artifactId>reactor-test</artifactId> <version>3.7.11</version> <!-- {x-version-update;io.projectreactor:reactor-test;external_dependency} --> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>5.13.4</version> <!-- {x-version-update;org.junit.jupiter:junit-jupiter-api;external_dependency} --> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>5.13.4</version> <!-- {x-version-update;org.junit.jupiter:junit-jupiter-engine;external_dependency} --> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-params</artifactId> <version>5.13.4</version> <!-- {x-version-update;org.junit.jupiter:junit-jupiter-params;external_dependency} --> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-server</artifactId> <version>9.4.58.v20250814</version> <!-- {x-version-update;org.eclipse.jetty:jetty-server;external_dependency} --> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-servlet</artifactId> <version>9.4.58.v20250814</version> <!-- {x-version-update;org.eclipse.jetty:jetty-servlet;external_dependency} --> <scope>test</scope> </dependency> </dependencies> <profiles> <!-- Library cannot build for Java 11 and below --> <profile> <id>java8</id> <activation> <jdk>[,11)</jdk> </activation> <build> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.13</version> <!-- {x-version-update;org.jacoco:jacoco-maven-plugin;external_dependency} --> <configuration> <skip>true</skip> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.14.0</version> <!-- {x-version-update;org.apache.maven.plugins:maven-compiler-plugin;external_dependency} --> <configuration> <skipMain>true</skipMain> <skip>true</skip> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.5.3</version> <!-- {x-version-update;org.apache.maven.plugins:maven-surefire-plugin;external_dependency} --> <configuration> <skip>true</skip> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.11.3</version> <!-- {x-version-update;org.apache.maven.plugins:maven-javadoc-plugin;external_dependency} --> <configuration> <skip>true</skip> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.4.2</version> <!-- {x-version-update;org.apache.maven.plugins:maven-jar-plugin;external_dependency} --> <configuration> <skip>true</skip> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>3.6.0</version> <!-- {x-version-update;org.apache.maven.plugins:maven-checkstyle-plugin;external_dependency} --> <configuration> <skip>true</skip> </configuration> </plugin> <plugin> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-maven-plugin</artifactId> <version>4.8.3.1</version> <!-- {x-version-update;com.github.spotbugs:spotbugs-maven-plugin;external_dependency} --> <configuration> <skip>true</skip> </configuration> </plugin> <plugin> <groupId>org.revapi</groupId> <artifactId>revapi-maven-plugin</artifactId> <version>0.15.1</version> <!-- {x-version-update;org.revapi:revapi-maven-plugin;external_dependency} --> <configuration> <skip>true</skip> </configuration> </plugin> </plugins> </build> </profile> <!-- Override the parent client.pom.xml's java11+ profile to override target of base-compile execution from 1.8 to 11--> <profile> <id>java-lts</id> <activation> <jdk>[11,)</jdk> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.14.0</version> <!-- {x-version-update;org.apache.maven.plugins:maven-compiler-plugin;external_dependency} --> <configuration> <testRelease>11</testRelease> </configuration> <executions> <execution> <id>default-compile</id> </execution> <!-- Here the 'base-compile' execution section of java-lts profile defined in parent pom.client.xml is overridden. In parent pom, this execution entry enforces java8 release compatibility. The new http APIs are not available in Java8, hence here in this pom we override that release compatibility to 11. --> <execution> <id>base-compile</id> <goals> <goal>compile</goal> </goals> <configuration combine.self="override"> <release>11</release> </configuration> </execution> <!-- Here the 'base-testCompile' execution section of java-lts profile defined in parent pom.client.xml is overridden. In parent pom, this execution entry enforces java8 release compatibility. The new http APIs are not available in Java8, hence here in this pom we override that release compatibility to 11. --> <execution> <id>base-testCompile</id> <goals> <goal>testCompile</goal> </goals> <configuration combine.self="override"> <testRelease>11</testRelease> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>