You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2020/07/07 13:49:01 UTC

[httpcomponents-client] branch master updated: Add Automatic-Module-Name in manifest so Java9 modular applications can depend on this library

This is an automated email from the ASF dual-hosted git repository.

olegk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/httpcomponents-client.git


The following commit(s) were added to refs/heads/master by this push:
     new 9a967de  Add Automatic-Module-Name in manifest so Java9 modular applications can depend on this library
9a967de is described below

commit 9a967de60ec032a7ff839116d2865b00a345de94
Author: Niels Basjes <ni...@basjes.nl>
AuthorDate: Sat Jul 4 15:38:27 2020 +0200

    Add Automatic-Module-Name in manifest so Java9 modular applications can depend on this library
---
 httpclient5-cache/pom.xml   | 4 ++++
 httpclient5-fluent/pom.xml  | 4 ++++
 httpclient5-testing/pom.xml | 4 ++++
 httpclient5-win/pom.xml     | 4 ++++
 httpclient5/pom.xml         | 4 ++++
 pom.xml                     | 1 +
 6 files changed, 21 insertions(+)

diff --git a/httpclient5-cache/pom.xml b/httpclient5-cache/pom.xml
index fe15a62..f64982b 100644
--- a/httpclient5-cache/pom.xml
+++ b/httpclient5-cache/pom.xml
@@ -37,6 +37,10 @@
   <url>http://hc.apache.org/httpcomponents-client</url>
   <packaging>jar</packaging>
 
+  <properties>
+    <Automatic-Module-Name>org.apache.httpcomponents.client5.httpclient5.cache</Automatic-Module-Name>
+  </properties>
+
   <dependencies>
     <dependency>
       <groupId>org.apache.httpcomponents.client5</groupId>
diff --git a/httpclient5-fluent/pom.xml b/httpclient5-fluent/pom.xml
index 341c570..26613f1 100644
--- a/httpclient5-fluent/pom.xml
+++ b/httpclient5-fluent/pom.xml
@@ -37,6 +37,10 @@
   <url>http://hc.apache.org/httpcomponents-client</url>
   <packaging>jar</packaging>
 
+  <properties>
+    <Automatic-Module-Name>org.apache.httpcomponents.client5.httpclient5.fluent</Automatic-Module-Name>
+  </properties>
+
   <dependencies>
     <dependency>
       <groupId>org.apache.httpcomponents.client5</groupId>
diff --git a/httpclient5-testing/pom.xml b/httpclient5-testing/pom.xml
index 9910d2e..9e906d2 100644
--- a/httpclient5-testing/pom.xml
+++ b/httpclient5-testing/pom.xml
@@ -36,6 +36,10 @@
   <url>http://hc.apache.org/httpcomponents-client</url>
   <packaging>jar</packaging>
 
+  <properties>
+    <Automatic-Module-Name>org.apache.httpcomponents.client5.httpclient5.testing</Automatic-Module-Name>
+  </properties>
+
   <dependencies>
     <dependency>
       <groupId>org.apache.httpcomponents.core5</groupId>
diff --git a/httpclient5-win/pom.xml b/httpclient5-win/pom.xml
index 960217e..71783aa 100644
--- a/httpclient5-win/pom.xml
+++ b/httpclient5-win/pom.xml
@@ -36,6 +36,10 @@
   <url>http://hc.apache.org/httpcomponents-client</url>
   <packaging>jar</packaging>
 
+  <properties>
+    <Automatic-Module-Name>org.apache.httpcomponents.client5.httpclient5.win</Automatic-Module-Name>
+  </properties>
+
   <dependencies>
     <dependency>
       <groupId>org.apache.httpcomponents.client5</groupId>
diff --git a/httpclient5/pom.xml b/httpclient5/pom.xml
index 680b875..b2159de 100644
--- a/httpclient5/pom.xml
+++ b/httpclient5/pom.xml
@@ -36,6 +36,10 @@
   <url>http://hc.apache.org/httpcomponents-client</url>
   <packaging>jar</packaging>
 
+  <properties>
+    <Automatic-Module-Name>org.apache.httpcomponents.client5.httpclient5</Automatic-Module-Name>
+  </properties>
+
   <dependencies>
     <dependency>
       <groupId>org.apache.httpcomponents.core5</groupId>
diff --git a/pom.xml b/pom.xml
index 326a670..a951b9d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -199,6 +199,7 @@
               <Implementation-Version>${project.version}</Implementation-Version>
               <Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor>
               <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
+              <Automatic-Module-Name>${Automatic-Module-Name}</Automatic-Module-Name>
               <url>${project.url}</url>
             </manifestEntries>
           </archive>