[KARAF-2898] Fix feature validation to accept artifact type.

A fix available for issue: https://issues.apache.org/jira/browse/KARAF-2898.