This sample shows you how to build a simple Java application and deploying the resultant artifact to Artifactory.
Detailed instructions on how to run this sample, as well as explanation of the configuration, is in the JFrog Pipelines Quickstart documentation: Pipelines Example: Build a Maven project.