Caching Core Service Code in Pipelines
We are currently using maven "install" goal in several places in our pipelines. Maven install builds the code and puts it in the local repository, which we are then caching. This causes the core code to not be rebuilt if we run the pipeline with updated core code. We should be using maven's "package" goal for all core and service code so that we are only caching dependencies.
Here are the relevant lines: https://community.opengroup.org/osdu/platform/deployment-and-operations/infra-azure-provisioning/-/blob/master/devops/build-stage.yml#L23 https://community.opengroup.org/osdu/platform/deployment-and-operations/infra-azure-provisioning/-/blob/master/devops/build-stage.yml#L24 https://community.opengroup.org/osdu/platform/deployment-and-operations/infra-azure-provisioning/-/blob/master/devops/tasks/deployment-steps.yml#L27