Added logic to unpack the spec.
Added correct dependency to spec, and build section to modules' poms.