added deprecation and compilerarg=-Xlint:unchecked to show detail and includeantruntime=false to suppress compiler warning