File: javadoc-set-source.patch

package info (click to toggle)
apache-opennlp 2.5.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 15,772 kB
  • sloc: java: 80,146; xml: 73,649; sh: 237; makefile: 18
file content (14 lines) | stat: -rw-r--r-- 572 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: setting source version for maven-javadoc-plugin to avoid
 "The code being documented uses modules but the packages defined in ... are
 in the unnamed module" exception.
Author: Andrius Merkys <merkys@debian.org>
--- a/opennlp-tools/pom.xml
+++ b/opennlp-tools/pom.xml
@@ -110,6 +110,7 @@
         <artifactId>maven-javadoc-plugin</artifactId>
         <configuration>
           <excludePackageNames>opennlp.tools.cmdline</excludePackageNames>
+          <source>${java.version}</source>
         </configuration>
         <executions>
           <execution>