Added POM to gitingore.
Made sure filter is loaded before s2 and resources.