adding Apache License and excluding resource in pom