Build Automation describes the scenario in which the build process for the dependent project(s) begins once the project build is done successfully to verify that the dependent project(s) is/are stable.
Consider a team working on the bus-core-API project, which is dependent on the app-web-UI and app-desktop-UI projects.
The bus-core-API project uses 1.0-SNAPSHOT for the app-web-UI project.
The bus-core-api project uses 1.0-SNAPSHOT for the app-desktop-ui project.
Teams working on the app-web-UI and app-desktop-UI projects now have to restart their build processes anytime the bus-core-API project changes.
Using a snapshot assures that the most recent bus-core-API project is used, but we must do something additional to meet the above criterion.
Add a post-build objective to start the app-web-UI and app-desktop-UI pom in the bus-core-API pom.
Update the pom.xml file for the bus-core-API project with Maven.
To begin, open a command prompt, navigate to the C: > MVN > bus-core-API directory, and run the following mvn command: >mvn clean package -U
Maven will begin working on the bus-core-API project.