Its working now!!! I have to explicitly mention the subfolder as a new resource folder. By default maven classpath will point to src/main/resources. If we want to have a property files and XML files in specific sub folder, it should be mentioned explicitly in the pom.xml as a separate "build" tag as follows.
<resource>
<directory>src/main/resources/config</directory>
<includes>
<include>*.xml</include>
<include>*.properties</include>
</includes>
</resource>