Skip to content

Commit af91ffc

Browse files
committed
IO-551: Add Automatic-Module-Name MANIFEST entry for Java 9 compatibility.
1 parent 4f6b009 commit af91ffc

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

pom.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,25 @@ file comparators, endian transformation classes, and much more.
281281
</plugins>
282282
</pluginManagement>
283283
<plugins>
284+
<plugin>
285+
<groupId>org.apache.maven.plugins</groupId>
286+
<artifactId>maven-jar-plugin</artifactId>
287+
<executions>
288+
<execution>
289+
<goals>
290+
<goal>test-jar</goal>
291+
</goals>
292+
</execution>
293+
</executions>
294+
<!-- Temporary fix for IO-551, remove this after this has implemented in parent pom -->
295+
<configuration>
296+
<archive combine.children="append">
297+
<manifestEntries>
298+
<Automatic-Module-Name>org.apache.commons.io</Automatic-Module-Name>
299+
</manifestEntries>
300+
</archive>
301+
</configuration>
302+
</plugin>
284303
<plugin>
285304
<groupId>org.apache.maven.plugins</groupId>
286305
<artifactId>maven-surefire-plugin</artifactId>

src/changes/changes.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ The <action> type attribute can be add,update,fix,remove.
4747
<body>
4848
<!-- The release date is the date RC is cut -->
4949
<release version="2.6" date="2017-MM-DD" description="New features and bug fixes.">
50+
<action issue="IO-551" dev="britter" type="add">
51+
Add Automatic-Module-Name MANIFEST entry for Java 9 compatibility
52+
</action>
5053
<action issue="IO-550" dev="kinow" type="fix" due-to="Jimi Adrian">
5154
Documentation issue, fix 404 Javadoc issues in the description page
5255
</action>

0 commit comments

Comments
 (0)