Update maven settings and remove bogus code lines