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 2018/06/07 09:25:50 UTC
httpcomponents-core git commit: Add Automatic-Module-Name in manifest
so Java9 modular applications can depend on this library
Repository: httpcomponents-core
Updated Branches:
refs/heads/4.4.x a02971f55 -> ad830474a
Add Automatic-Module-Name in manifest so Java9 modular applications can depend on this library
Project: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/commit/ad830474
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/ad830474
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/ad830474
Branch: refs/heads/4.4.x
Commit: ad830474ac0a2b915bba940299de8f3083fae653
Parents: a02971f
Author: Varun Nandi <va...@amazon.com>
Authored: Thu May 31 12:22:58 2018 -0700
Committer: Varun Nandi <va...@amazon.com>
Committed: Wed Jun 6 10:30:04 2018 -0700
----------------------------------------------------------------------
httpcore-ab/pom.xml | 25 +++++++++++++++++++++++++
httpcore-nio/pom.xml | 20 ++++++++++++++++++++
httpcore/pom.xml | 7 +++++++
3 files changed, 52 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/ad830474/httpcore-ab/pom.xml
----------------------------------------------------------------------
diff --git a/httpcore-ab/pom.xml b/httpcore-ab/pom.xml
index 3a47d55..80de4cd 100644
--- a/httpcore-ab/pom.xml
+++ b/httpcore-ab/pom.xml
@@ -58,6 +58,31 @@
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>default-jar</id>
+ <phase>package</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ <configuration>
+ <archive combine.children="append">
+ <manifestEntries>
+ <Automatic-Module-Name>org.apache.httpcomponents.httpcore-ab</Automatic-Module-Name>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
<reporting>
<plugins>
http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/ad830474/httpcore-nio/pom.xml
----------------------------------------------------------------------
diff --git a/httpcore-nio/pom.xml b/httpcore-nio/pom.xml
index fc76058..bbc6240 100644
--- a/httpcore-nio/pom.xml
+++ b/httpcore-nio/pom.xml
@@ -93,6 +93,26 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>default-jar</id>
+ <phase>package</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ <configuration>
+ <archive combine.children="append">
+ <manifestEntries>
+ <Automatic-Module-Name>org.apache.httpcomponents.httpcore-nio</Automatic-Module-Name>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/ad830474/httpcore/pom.xml
----------------------------------------------------------------------
diff --git a/httpcore/pom.xml b/httpcore/pom.xml
index dc22cb2..d43f147 100644
--- a/httpcore/pom.xml
+++ b/httpcore/pom.xml
@@ -93,6 +93,13 @@
</goals>
</execution>
</executions>
+ <configuration>
+ <archive>
+ <manifestEntries combine.children="append">
+ <Automatic-Module-Name>org.apache.httpcomponents.httpcore</Automatic-Module-Name>
+ </manifestEntries>
+ </archive>
+ </configuration>
</plugin>
</plugins>
<resources>