File: javadoc-classpath.patch

package info (click to toggle)
jackson-dataformat-xml 2.11.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,160 kB
  • sloc: java: 12,362; xml: 155; makefile: 4
file content (36 lines) | stat: -rw-r--r-- 1,194 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From: Markus Koschany <apo@debian.org>
Date: Fri, 17 Aug 2018 22:07:34 +0200
Subject: javadoc classpath

Add jaxb-api.jar to the Javadoc classpath, otherwise javadoc will fail.

Bug-Debian: https://bugs.debian.org/906368
---
 pom.xml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/pom.xml b/pom.xml
index 1b6a698..b72dfa1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -128,6 +128,20 @@ Some data-binding types overridden as well (ObjectMapper sub-classed as XmlMappe
           </execution>
         </executions>
       </plugin>
+      <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-javadoc-plugin</artifactId>
+          <version>3.0.1</version>
+              <configuration>
+        <additionalDependencies>
+          <additionalDependency>
+             <groupId>javax.xml.bind</groupId>
+             <artifactId>jaxb-api</artifactId>
+             <version>debian</version>
+          </additionalDependency>
+        </additionalDependencies>
+            </configuration>
+      </plugin>
       <!--  Need to skip known-failing tests for build... -->
       <plugin>
           <groupId>org.apache.maven.plugins</groupId>