Problems with ClassLoaderResourceAccessor in JBoss


I’m trying to programatically use liquibase to execute changecontrols over different jars. Each jar has the changecontrols files in the src/main/resources/ folder so the best way to access them is via the ClassLoaderResourceAccesor when Liquibase is instantiated.

However this accesor doesn’t work very well with the includeAll tag when the jars are deployed in JBoss because the protocol being used is vfs:// and in the ClassLoaderResourceAccesor this protocol is not used.

Is there any way to execute this changecontrol?

Thank you