sets proper scope on jsp-api and servlet-api deps