After talking with @kzangeli , the idea would be modifity the sonar_metrics target so it executes a script to generate the sonar-project.properties file on the fly, using as paramter the version numer (which is a known information -as a varaible- in the makefile).