Repository navigation
Conversation
Declare project.build.outputTimestamp in the root pom.xml, set to the time of the 2.5.13 release. Builds inherited the value of the Apache parent POM, and maven-release-plugin only sets it to the release time when the project declares it. FOP writes the build time and a random ID into the PDF manual. Replace them after rendering with project.build.outputTimestamp and a checksum of the content, and run Maven in UTC (.mvn/jvm.config), because FOP writes the time zone with a length that depends on it. Build opennlp-distr last, so that the binary archives always contain the apidocs of opennlp-dl from the same build instead of those left over from an earlier one. Backport of #1727 (afdf355, 4f2dcd0) Signed-off-by: Richard Zowalla <rzo1@apache.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #1727 to 2.x (#1724). Draft until #1727 is merged; the commit reference will then be updated to the merge commit.
Declares
project.build.outputTimestamp(set to the 2.5.13 release time), adds the PDF post-processing step ofopennlp-docsand.mvn/jvm.config, as on main (see #1727 for why the PDF needs it). In addition,opennlp-distris now the last module: it was built beforeopennlp-dl, so the binary archives contained theopennlp-dlapidocs of an earlier build, or none. Two clean builds now give identical jars and archives, and the PDF is the same when built in another time zone.