I had to convert the main pom from jar to pom packaging to use modules and thus I manually rebuilt/attached the jar as it was built before manually with the jar and buildhelper plugins