Modified to support Maven and Jetty for local deployment (ignore commit 429fe5644d8fa7dc03e4de2e749c92dd2f3fa419).