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>
--
|