change pom to include resources with tests
add javadoc publishing