Skip to content

Commit

Permalink
Upgrade maven-plugin-plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
io7m committed Mar 8, 2024
1 parent c9ab592 commit 363c93b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
5 changes: 4 additions & 1 deletion com.io7m.xstructural.maven_plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,14 @@
<artifactId>maven-plugin-plugin</artifactId>
<executions>
<execution>
<id>mojo-descriptor</id>
<id>default-descriptor</id>
<phase>process-classes</phase>
<goals>
<goal>descriptor</goal>
</goals>
<configuration>
<goalPrefix>xstructural</goalPrefix>
</configuration>
</execution>
</executions>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,11 @@ private void createEPUBWriteMime(
entry.setCrc(crcOf(source));
entry.setExtra(EMPTY_EXTRA);

// https://github.com/w3c/epubcheck/issues/562
for (final var f : entry.getExtraFields()) {
entry.removeExtraField(f.getHeaderId());
}

zipOut.putArchiveEntry(entry);
Files.copy(source, zipOut);
zipOut.closeArchiveEntry();
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.7.0</version>
<version>3.11.0</version>
</plugin>

<plugin>
Expand Down

0 comments on commit 363c93b

Please sign in to comment.