#!/bin/bash
set -xe
PROJECT_PREFIX=`readlink -e .`
cd src/drools-7.17.0.Final
alias ant='$PROJECT_PREFIX/kit/apache-ant-1.9.4/bin/ant'
alias mvn='$PROJECT_PREFIX/kit/apache-maven-3.6.0/bin/mvn -Dmaven.repo.local=$PROJECT_PREFIX/kit/m2 --settings $PROJECT_PREFIX/kit/m2/settings.xml --strict-checksums -o'
export MAVEN_OPTS='-Xmx3000m'
mvn package -DskipTests=true -Dmaven.test.skip=true --projects drools-core,drools-compiler
