On Ubuntu 16.04 LTS, the build environment can be simply setup with the following command.
sudo apt-get install -y git maven openjdk-8-jdk
Making the Build¶
git clone https://github.com/Teradata/jaqy.git cd jaqy mvn clean package -Dmaven.test.skip=true
There are two jars built.
jaqy-1.0.jar is the standalone package.
jaqy-avro-1.0.jar is a separate
addon for AVRO import / export format.
For the unit tests, use Vagrant in the jaqy/ directory to start up a testing VM. It has PostgreSQL and MySQL setup, matching the Travis CI environment, with the appropriate port forwarding.
Once the testing environment is set up, just run the following maven command to execute the unit tests.
mvn clean test