largely copied from sql-maven-plugin, some properties-maven-plugin thrown in for good measure
made a start on integration tests