Author: hardy.ferentschik
Date: 2009-07-21 05:46:56 -0400 (Tue, 21 Jul 2009)
New Revision: 17174
Modified:
beanvalidation/trunk/validation-tck/pom.xml
Log:
changed the way the tck-audit tool was configured. Now uses ant task to generate the
coverage report. This prevents the complication failure with UserType and DummyPayload
Modified: beanvalidation/trunk/validation-tck/pom.xml
===================================================================
--- beanvalidation/trunk/validation-tck/pom.xml 2009-07-21 02:07:50 UTC (rev 17173)
+++ beanvalidation/trunk/validation-tck/pom.xml 2009-07-21 09:46:56 UTC (rev 17174)
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.hibernate.jsr303.tck</groupId>
<artifactId>jsr303-tck</artifactId>
@@ -208,7 +210,7 @@
<ciManagement>
<system>Hudson</system>
- <url />
+ <url/>
</ciManagement>
<issueManagement>
@@ -265,11 +267,44 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>process_annotations</id>
+ <phase>process-test-resources</phase>
+ <configuration>
+ <tasks>
+ <javac srcdir="src/main/java"
destdir="/target/classes"
+ failonerror="false"
excludes="test/**">
+ <compilerarg
value="-proc:only"/>
+ <compilerarg
value="-AauditXml=${basedir}/src/main/resources/tck-audit.xml"/>
+ <classpath>
+ <path
refid="maven.test.classpath"/>
+ </classpath>
+ </javac>
+ </tasks>
+ <sourceRoot>generate</sourceRoot>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant</artifactId>
+ <version>1.7.0</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
-
<compilerArgument>-AauditXml=${basedir}/src/main/resources/tck-audit.xml</compilerArgument>
+ <compilerArgument>-proc:none</compilerArgument>
</configuration>
</plugin>
<plugin>