I am trying to come up with a flow where the deployment to AWS CodeDeploy should only happen if the war files of individual services change in a monorepo vs deploying the entire application. The file structure looks something like this
project
apps
|-foo
|-foo.java
|-pom.xml
|-bar
|-bar.java
|-pom.xml
pom.xml
What happens now is, if changes are made to either foo or bar, both of them are deployed even though it is not required. I am trying to do selective deployments, where I should be able to detect changes in the war files and only deploy that service. I tried using checksums on the war files to only deploy those war files that changed, but this does not work since there is apparently some date/time information in the war files that cause a different checksum even though nothing in the code base changed. Any help is appreciated