File: 01-workaround-maven-repo-helper-bug.patch

package info (click to toggle)
libhibernate-validator-java 4.3.3-1%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 6,404 kB
  • sloc: java: 31,882; xml: 6,027; sh: 90; makefile: 28
file content (24 lines) | stat: -rw-r--r-- 1,178 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: Work around the maven-repo-helper bug #802907. When two plugins have
 dependencies, if the first plugin is ignored the dependencies of the second
 plugin are replaced by the ones of the first plugin. Here the maven-jdocbook-plugin
 dependency (hibernate-jdocbook-style) replaces the maven-processor-plugin
 dependency (jboss-logging-processor) and breaks the build.
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/pom.xml
+++ b/pom.xml
@@ -298,14 +298,6 @@
                     <artifactId>maven-jdocbook-plugin</artifactId>
                     <version>2.3.5</version>
                     <extensions>true</extensions>
-                    <dependencies>
-                        <dependency>
-                            <groupId>org.hibernate</groupId>
-                            <artifactId>hibernate-jdocbook-style</artifactId>
-                            <version>2.0.1</version>
-                            <type>jdocbook-style</type>
-                        </dependency>
-                    </dependencies>
                 </plugin>
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>