Fixed the JDK 1.6 issus of EndpointAnnotationProcessor
Make sure the apt profile is used when doing the release