Atmosphere won't work when packaged as self-hosted war

Due to how the org.atmosphere.util.annotation.AnnotationDetector works, classpath scanning for annotations in a file stored in a war fails with an exception (not a file). Extracting the file before launching fixes this [1].

Atmosphere won't work when the war is launched via:
java -jar jhipster.war

Resulting in the following error:
java.lang.AssertionError: Not a File: file:/Users/buttercup/Coding/Java/Dropvote-Spring/target/yourwarhere-0.7-SNAPSHOT.war!/WEB-INF/lib/atmosphere-runtime-2.1.4.jar!/org/atmosphere/annotation

[1] http://docs.spring.io/spring-boot/docs/1.1.4.RELEASE/reference/htmlsingle/#howto-extract-specific-libraries-when-an-executable-jar-runs