title: Spring Scheduled tasks Doesnt kick with @ComponentScan
body: <p>In my project i am using spring scheduler to invoke a certain process in a periodic interval, Using spring boot the application looks like:</p>
  
  <pre><code>@SpringBootApplication
  @Configuration
  @ComponentScan(value = {"com.included"})
  @EnableAutoConfiguration(exclude = { MongoAutoConfiguration.class, MongoDataAutoConfiguration.class })
  @EnableScheduling
  @EnableJms
  public class myAlertsApplication implements CommandLineRunner {
  </code></pre>
  
  <p>my scheduler method has an annotation:</p>
  
  <pre><code>@Scheduled(initialDelayString = "${sometime:0}000", fixedDelayString = "${some time}000")
  </code></pre>
  
  <p>The problem surfaces when i introduce the component scan, and that is the scheduled method doesnt even gets invoked, however if i remove the component scan tag from the application above the method gets invoked as expected.
  The component scan is scanning a package in one of the included jars through pom dependency which i am sure should not be a problem.</p>