configurations for running Jakarta Batch TCK with JBeret and WildFly.
install and start WildFly standalone server
export JBOSS_HOME=...
cd $JBOSS_HOME /bin
./standalone.sh
download and unzip Jakarta Batch TCK 2.1.1
wget https://download.eclipse.org/jakartaee/batch/2.1/jakarta.batch.official.tck-2.1.1.zip
unzip jakarta.batch.official.tck-2.1.1.zip
export BATCH_TCK_DIR=` pwd` /jakarta.batch.official.tck-2.1.1
clone jberet-tck-porting repo, and build and deploy to WildFly to create test datasource and database
git clone --depth=1 https://github.com/jberet/jberet-tck-porting.git
export JBERET_PORTING_DIR=` pwd` /jberet-tck-porting
cd $JBERET_PORTING_DIR
mvn -ntp package
/bin/cp $JBERET_PORTING_DIR /target/jberet-tck-porting.jar $JBOSS_HOME /standalone/deployments/
to customize the TCK for WildFly, copy configuration files from jberet-tck-porting repo to TCK
/bin/cp $JBERET_PORTING_DIR /src/main/resources/runners/sigtest/pom.xml $BATCH_TCK_DIR /runners/sigtest/pom.xml
/bin/cp $JBERET_PORTING_DIR /src/main/resources/runners/se-classpath/pom.xml $BATCH_TCK_DIR /runners/se-classpath/pom.xml
/bin/cp $JBERET_PORTING_DIR /src/main/resources/runners/platform-arquillian/pom.xml $BATCH_TCK_DIR /runners/platform-arquillian/pom.xml
/bin/cp $JBERET_PORTING_DIR /src/main/resources/runners/platform-arquillian/src/test/resources/arquillian.xml $BATCH_TCK_DIR /runners/platform-arquillian/src/test/resources/arquillian.xml
cd $BATCH_TCK_DIR /runners/sigtest/
mvn -ntp verify
run TCK in Java SE environment
cd $BATCH_TCK_DIR /runners/se-classpath/
mvn -ntp verify
run TCK in Jakarta EE environment
cd $BATCH_TCK_DIR /runners/platform-arquillian/
mvn -ntp verify
$JBOSS_HOME /bin/jboss-cli.sh --connect --commands=" undeploy jberet-tck-porting.jar, shutdown"