Adds maven plugin. Switches class library test generation from main
class to maven goal