2. • Place your own settings.xml file in the root folder
3. • Make a file bitbucket-pipelines.yml and past the content:
# Template maven-build
# This template allows you to test and build your Java project with Maven.
# The workflow allows running tests, code checkstyle and security scans on the default branch.
# Prerequisites: pom.xml and appropriate project structure should exist in the repository.image:
maven:3.6.3
pipelines:
default:
- parallel:
- - step:
- name: Build and Test
- caches:
- - maven
- script:
- - mvn clean test deploy -s settings.xml