Where does spring boot configure default application.properties
<p>By default Spring Boot will automatically load properties from      <code>classpath:/application.properties</code></p>

<p>I want to know where is this auto configuration source code. 
I want to exclude from my app. 
IE: <code>@EnableAutoConfiguration(exclude=XXXXAutoconfiguration.class)</code></p>

<p>The reason is:
Because I cannot override the default application.properties by an external property using <code>@PropertySource</code></p>

<pre><code>@SpringBootApplication
@ComponentScan(basePackages = {"com.test.green.ws"})
@PropertySource(value = {"classpath:/application.properties", "file:/opt/green-ws/application.properties"})
public class GreenWSApplication {

    public static void main(String[] args) {
        SpringApplication.run(GreenWSApplication.class, args);
    }
}
</code></pre>