Hibernate diffDatabaseToChangeLog can't find mapping files

I am trying to get a diffDatabaseToChangeLog and I have everything working except that I must define hard coded paths in my hibernate.cfg.xml file:

I am using Spring and so it actually manages the cfg.xml files through its sessionFactory mappingLocations property. The only reason I need the cfg.xml file is so that liquibase can get the files. How can I use a non-hard coded path?