Here is a question wich offer a solution to print all properties. But in fact it prints all properties from .properties
files in application sources, system and environment properties. But it ignore all properties from
additional-spring-configuration-metadata.json
spring-configuration-metadata.json
spring-autoconfigure-metadata.properties
- and others from
json
orproperties
in project dependecies - any properties which is considered as present in
org.springframework.boot.autoconfigure.condition.ConditionalOnProperty
annotation, with matchIfMissing key word, like that@ConditionalOnProperty(prefix = "spring.data.solr.repositories", name = "enabled", havingValue = "true", matchIfMissing = true)
Even I can not find any variable inside Environment env
which points to any of these properties.
So is there a way to print all properties both from current application sources and from imported dependencies/jars, especially which are generated via by annotatios?