less intrusive way for getting current as version

I tried with org.jboss.as.version.Version.AS_VERSION but it does not work, at least not in this scenario.
This version is lest intrusive and wont cause problems with eclipse.
@kabir this should make it work for you.