Skip to content

Commit 0eefe4d

Browse files
committed
Handle httpclient version in maven dependency management. Remove httpclient version setting from profiles.
1 parent 7c00dfa commit 0eefe4d

File tree

3 files changed

+10
-15
lines changed

3 files changed

+10
-15
lines changed

assembly/pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -213,16 +213,6 @@
213213
</plugins>
214214
</build>
215215
</profile>
216-
<profile>
217-
<id>kinesis-asl</id>
218-
<dependencies>
219-
<dependency>
220-
<groupId>org.apache.httpcomponents</groupId>
221-
<artifactId>httpclient</artifactId>
222-
<version>${commons.httpclient.version}</version>
223-
</dependency>
224-
</dependencies>
225-
</profile>
226216

227217
<!-- Profiles that disable inclusion of certain dependencies. -->
228218
<profile>

examples/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -390,11 +390,6 @@
390390
<artifactId>spark-streaming-kinesis-asl_${scala.binary.version}</artifactId>
391391
<version>${project.version}</version>
392392
</dependency>
393-
<dependency>
394-
<groupId>org.apache.httpcomponents</groupId>
395-
<artifactId>httpclient</artifactId>
396-
<version>${commons.httpclient.version}</version>
397-
</dependency>
398393
</dependencies>
399394
</profile>
400395
<profile>

pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,16 @@
420420
<artifactId>jsr305</artifactId>
421421
<version>1.3.9</version>
422422
</dependency>
423+
<dependency>
424+
<groupId>org.apache.httpcomponents</groupId>
425+
<artifactId>httpclient</artifactId>
426+
<version>${commons.httpclient.version}</version>
427+
</dependency>
428+
<dependency>
429+
<groupId>org.apache.httpcomponents</groupId>
430+
<artifactId>httpcore</artifactId>
431+
<version>${commons.httpclient.version}</version>
432+
</dependency>
423433
<dependency>
424434
<groupId>org.seleniumhq.selenium</groupId>
425435
<artifactId>selenium-java</artifactId>

0 commit comments

Comments
 (0)