Skip to content

Instantly share code, notes, and snippets.

@scottmarlow
Last active June 8, 2022 19:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottmarlow/c98dfea7dc908ea186f51349a069e78c to your computer and use it in GitHub Desktop.
Save scottmarlow/c98dfea7dc908ea186f51349a069e78c to your computer and use it in GitHub Desktop.
export WORKSPACE=$PWD
wget --no-cache https://download.eclipse.org/jakartaee/cdi/4.0/cdi-tck-4.0.4-dist.zip -O latest-cdi-tck-dist.zip
sha256sum latest-cdi-tck-dist.zip
unzip latest-cdi-tck-dist.zip
export MAVEN_OPTS
export JBOSS_DIR=wildfly
export JBOSS_ZIP=./wildfly.zip
unzip wildfly.zip > /dev/null && rm -f wildfly.zip
ls
mv wildfly-* $JBOSS_DIR
ls
cd cdi-tck-4.0.4/artifacts
export TCK_VERSION=4.0.4
mvn install
cd $WORKSPACE
git clone https://github.com/weld/core.git weld
cd weld
git checkout 5.0.0.SP1
mvn clean install -DskipTests
# JBOSS_HOME is used by jboss-tck-runner and has to point to WFLY
export JBOSS_HOME=${WORKSPACE}/${JBOSS_DIR}
mvn clean verify -f jboss-tck-runner/pom.xml -Dincontainer -Dcdi.tck-4-0.version=${TCK_VERSION} -Dmaven.test.failure.ignore=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment