ci.maven
ci.maven copied to clipboard
Dependency version change that fixes compilation error triggers multiple feature generation calls
If there is a compilation error in a Java file and an updated dependency version fixes that compilation error, feature generation is called at least twice. We should find a way to only call feature generation once.
Steps to reproduce:
- Use the demo devmode project
- Change the
pom.xmlorbuild.gradleMicroProfile umbrella dependency version to3.2 - Use
mvn liberty:devorgradle libertyDevto start up dev mode - Add SystemLivenessCheck.java as the demo devmode instructions show
- Notice there is a compilation error and feature generation does not run
- Update the MicroProfile umbrella dependency version to
4.1 - Notice the source code now compiles and feature generation is called twice. The first time is an optimize call from the dependency change and the second time is an increment call from the class file change
Debug output: debug-output.txt