Add Automatic-Module-Name in manifest so Java9 modular applications can depend on this library

This commit is contained in:
Niels Basjes 2020-07-04 15:38:27 +02:00 committed by Oleg Kalnichevski
parent 93e3d0f452
commit 9a967de60e
6 changed files with 21 additions and 0 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>