Add Automatic-Module-Name in manifest so Java9 modular applications can depend on this library
This commit is contained in:
parent
93e3d0f452
commit
9a967de60e
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
1
pom.xml
1
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>
|
||||
|
|
Loading…
Reference in New Issue