version: 0.2
phases: install: runtime-versions: python: 3.5 pre_build: commands: - echo "Starting pre-build phase" build: commands: - echo "Starting build..." - echo "Building application..." - mvn install -DskipTests=true post_build: commands: - echo "Starting post-build phase" artifacts: files: - target/my-application.jar discard-paths: yes base-directory: 'target'