nielsbasjes commented on issue #11592: [FLINK-16871][runtime] Make more build time information available at runtime URL: https://github.com/apache/flink/pull/11592#issuecomment-610823822 @azagrebin @zentol About generating the Version.java and switching branches. If you look at the rest of the Flink code base you'll find that in several places things are generated in the `generate-sources` phase. I see a lot of places using things like Protobuf, Avro and an SQL parser that all rely on this same mechanism and the same way of working. So in general the problems you are addressing already exist in a large scale in the project. You cannot simply switch branch and then successfully run the project without doing a `mvn clean generate-sources`. I see this in almost all of my own projects and also in almost all Apache projects: code needs to be generated before the project can be compiled and tested. Putting a question back: What implementation approach do you recommend?
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services