Fixed sort order being lost in Java 8 Update 20.
Added "remove artifacts" goal for Netbeans.