title: How to scan packages which are not in src/main/java?
body: <p>Interviewer asked, How will you scan packages which are not in the src/main/java .. ie.. your classpath.
  He also said that this is very rare situation when you have to do this type of things.</p>