removing examples dependencies if running spark shell.