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:48:29 UTC
[httpcomponents-core] 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-core.git
The following commit(s) were added to refs/heads/master by this push:
new 34102da Add Automatic-Module-Name in manifest so Java9 modular applications can depend on this library
34102da is described below
commit 34102da99ea1b150ea07779bcf2fc83056730060
Author: Niels Basjes <ni...@basjes.nl>
AuthorDate: Sat Jul 4 15:38:25 2020 +0200
Add Automatic-Module-Name in manifest so Java9 modular applications can depend on this library
---
httpcore5-h2/pom.xml | 8 ++++++--
httpcore5-reactive/pom.xml | 6 +++++-
httpcore5-testing/pom.xml | 4 ++++
httpcore5/pom.xml | 4 ++++
pom.xml | 1 +
5 files changed, 20 insertions(+), 3 deletions(-)
diff --git a/httpcore5-h2/pom.xml b/httpcore5-h2/pom.xml
index f645e2c..1727f8e 100644
--- a/httpcore5-h2/pom.xml
+++ b/httpcore5-h2/pom.xml
@@ -36,6 +36,10 @@
<url>http://hc.apache.org/httpcomponents-core-ga</url>
<packaging>jar</packaging>
+ <properties>
+ <Automatic-Module-Name>org.apache.httpcomponents.core5.httpcore5.h2</Automatic-Module-Name>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.apache.httpcomponents.core5</groupId>
@@ -99,9 +103,9 @@
</execution>
</executions>
</plugin>
- </plugins>
+ </plugins>
</build>
-
+
<reporting>
<plugins>
diff --git a/httpcore5-reactive/pom.xml b/httpcore5-reactive/pom.xml
index 9a7183c..605fdf4 100644
--- a/httpcore5-reactive/pom.xml
+++ b/httpcore5-reactive/pom.xml
@@ -37,6 +37,10 @@
<url>http://hc.apache.org/httpcomponents-core-ga</url>
<packaging>jar</packaging>
+ <properties>
+ <Automatic-Module-Name>org.apache.httpcomponents.core5.httpcore5.reactive</Automatic-Module-Name>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.apache.httpcomponents.core5</groupId>
@@ -85,7 +89,7 @@
</execution>
</executions>
</plugin>
- </plugins>
+ </plugins>
</build>
<reporting>
diff --git a/httpcore5-testing/pom.xml b/httpcore5-testing/pom.xml
index 7b0127e..14b0c5d 100644
--- a/httpcore5-testing/pom.xml
+++ b/httpcore5-testing/pom.xml
@@ -36,6 +36,10 @@
<url>http://hc.apache.org/httpcomponents-core-ga</url>
<packaging>jar</packaging>
+ <properties>
+ <Automatic-Module-Name>org.apache.httpcomponents.core5.httpcore5.testing</Automatic-Module-Name>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.apache.httpcomponents.core5</groupId>
diff --git a/httpcore5/pom.xml b/httpcore5/pom.xml
index 5b686c7..a0054cb 100644
--- a/httpcore5/pom.xml
+++ b/httpcore5/pom.xml
@@ -37,6 +37,10 @@
<url>http://hc.apache.org/httpcomponents-core-ga</url>
<packaging>jar</packaging>
+ <properties>
+ <Automatic-Module-Name>org.apache.httpcomponents.core5.httpcore5</Automatic-Module-Name>
+ </properties>
+
<dependencies>
<dependency>
<groupId>junit</groupId>
diff --git a/pom.xml b/pom.xml
index 7027b69..6389a11 100644
--- a/pom.xml
+++ b/pom.xml
@@ -136,6 +136,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>