Added support for writing maven properties to generted resources.
Fixed phase for generating sources.