Adapt for work on maven without scaffold