COLLECTIONS-658: Add Automatic-Module-Name MANIFEST entry for Java 9 compatibility.

This commit is contained in:
Benedikt Ritter 2017-09-20 09:16:53 +02:00
parent d95543d818
commit 80ec288ee7
No known key found for this signature in database
GPG Key ID: 9DAADC1C9FCC82D0
2 changed files with 22 additions and 0 deletions

19
pom.xml
View File

@ -570,6 +570,25 @@
</ignorePathsToDelete>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
<!-- Temporary fix for COLLECTIONS-658, remove this after this has implemented in parent pom -->
<configuration>
<archive combine.children="append">
<manifestEntries>
<Automatic-Module-Name>org.apache.commons.collections4</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>

View File

@ -21,6 +21,9 @@
</properties>
<body>
<release version="4.2" date="YYYY-MM-DD" description="New features">
<action issue="COLLECTIONS-658" dev="britter" type="add">
Add Automatic-Module-Name MANIFEST entry for Java 9 compatibility
</action>
<action issue="COLLECTIONS-656" dev="ggregory" type="fix">
Fix site build on Java 8
</action>