Fix POM leakage - remove some unnecessary warnings