Adjusted examples packaging to only create jars for fully self-contained examples.