I'm wondering is it posssible to write a custom checkstyle check that checks a file other then java source? For instance from src/main/resources? fiels like a liquibase changeset (it is a XML file)?
*I do not have liquibase PRO licence to write my own liquidbase check and run it.
I don't know what liquibase
is.
Possible, yes, but you will need to build out the new parser and checks that will go against the new file type. Its not a simple, easy process. Without the parser, you will have to rely on regexp or string based matching which can be very flawed.
I myself tried to start things like this at https://github.com/rnveach/checkstyle-extras/ for my work but things changed for me and I don't really have the energy to build this out myself.