[build] explicitly add http-client dependency

As discussed in the PR https://github.com/elastic/elasticsearch/pull/12036#issuecomment-119584570
This commit is contained in:
David Pilato 2015-07-08 16:17:27 +02:00
parent 88cf29b903
commit 02874ea411
5 changed files with 29 additions and 10 deletions

View File

@ -33,6 +33,13 @@
<artifactId>aws-java-sdk-s3</artifactId> <artifactId>aws-java-sdk-s3</artifactId>
<version>${amazonaws.version}</version> <version>${amazonaws.version}</version>
</dependency> </dependency>
<!-- We need to force here the compile scope as it was defined as test scope in plugins/pom.xml -->
<!-- TODO: remove this dependency when we will have a REST Test module -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<scope>compile</scope>
</dependency>
</dependencies> </dependencies>
<build> <build>

View File

@ -55,6 +55,13 @@ governing permissions and limitations under the License. -->
<artifactId>azure-management</artifactId> <artifactId>azure-management</artifactId>
<version>0.7.0</version> <version>0.7.0</version>
</dependency> </dependency>
<!-- We need to force here the compile scope as it was defined as test scope in plugins/pom.xml -->
<!-- TODO: remove this dependency when we will have a REST Test module -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<scope>compile</scope>
</dependency>
</dependencies> </dependencies>
<build> <build>

View File

@ -48,6 +48,13 @@ governing permissions and limitations under the License. -->
</exclusion> </exclusion>
</exclusions> </exclusions>
</dependency> </dependency>
<!-- We need to force here the compile scope as it was defined as test scope in plugins/pom.xml -->
<!-- TODO: remove this dependency when we will have a REST Test module -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<scope>compile</scope>
</dependency>
</dependencies> </dependencies>
<build> <build>

View File

@ -31,16 +31,6 @@ governing permissions and limitations under the License. -->
<tests.rest.load_packaged>false</tests.rest.load_packaged> <tests.rest.load_packaged>false</tests.rest.load_packaged>
</properties> </properties>
<dependencies>
<!-- Required by the REST test framework -->
<!-- Note that we should have this as a transient dependency coming from test module if any -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>

View File

@ -214,6 +214,14 @@
<artifactId>jna</artifactId> <artifactId>jna</artifactId>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<!-- Required by the REST test framework -->
<!-- TODO: remove this dependency when we will have a REST Test module -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<scope>test</scope>
</dependency>
</dependencies> </dependencies>
<!-- typical layout for plugins --> <!-- typical layout for plugins -->