File: 0001-don-t-build-sources-the-depend-on-jaxb-xjc.patch

package info (click to toggle)
libhibernate-validator-java 4.0.2.GA-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,784 kB
  • ctags: 2,599
  • sloc: java: 14,915; xml: 4,470; sh: 13; makefile: 5
file content (34 lines) | stat: -rw-r--r-- 1,584 bytes parent folder | download | duplicates (3)
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
From: Torsten Werner <twerner@debian.org>
Date: Sun, 6 Jun 2010 21:25:54 +0200
Subject: [PATCH] don't build sources the depend on jaxb-xjc

---
 hibernate-validator/pom.xml |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/hibernate-validator/pom.xml b/hibernate-validator/pom.xml
index 7b00b6e..2f6b97e 100644
--- a/hibernate-validator/pom.xml
+++ b/hibernate-validator/pom.xml
@@ -77,6 +77,20 @@
         </resources>
         <plugins>
             <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <exclude>**/org/hibernate/validator/HibernateValidator.java</exclude>
+                        <exclude>**/org/hibernate/validator/engine/ConfigurationImpl.java</exclude>
+                        <exclude>**/org/hibernate/validator/engine/ValidatorFactoryImpl.java</exclude>
+                        <exclude>**/org/hibernate/validator/engine/resolver/JPATraversableResolver.java</exclude>
+                        <exclude>**/org/hibernate/validator/xml/ValidationXmlParser.java</exclude>
+                        <exclude>**/org/hibernate/validator/xml/XmlMappingParser.java</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
+            <plugin>
                 <inherited>true</inherited>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-source-plugin</artifactId>
--