The Bean Validation TCK was created by Red Hat/JBoss and is available under the Apache License, version 2.0, which allows anyone to download and run the TCK without having to sign the Sun/ASF NDA.
Please see the
Bean Validation TCK
website for details on how to setup a local JBoss instance for running the TCK.
The bval-tck11
module should be used to execute the TCK against Apache BVal.
For the below build and TCK runs, it is assumed that you have the latest Sun 1.6.0 JDK installed and set as the default Java implementation.
Build the project and run the JUnit tests:
cd bval/trunk
mvn clean install
Run the JBoss provided TCK in standalone mode -
cd bval/trunk/bval-tck11
mvn -Ptck
Build the project and run the JUnit tests:
cd bval/trunk
mvn clean install
Install JBoss Application Server; version 5.1.0 or later.
Run the JBoss provided TCK in the in-container mode, against your JBoss AS
installation (where $jbosshome
denotes the installation path):
cd bval/trunk/bval-tck
mvn -Ptck,incontainer -Djboss.home=$jbosshome
TBD - Must we use the Sun/Oracle provided TCK for final certification testing?