src/main/java/com/simpligility/maven/plugins/android/common/ArtifactResolverHelper.java
public Set<Artifact> getFilteredArtifacts( Iterable<Artifact> allArtifacts, String... types )
    {
        return getFilteredArtifacts( EXCLUDE_NON_PACKAGED_SCOPES, allArtifacts, types );
    }
public Set<Artifact> getFilteredArtifacts( Iterable<Artifact> allArtifacts, String... types )
    {
        return getFilteredArtifacts( EXCLUDE_NON_PACKAGED_SCOPES, allArtifacts, types );
    }
Filters provided artifacts and selects only defined types based on {@code types} argument
or all types if {@code types} argument is empty.

@param allArtifacts artifacts to be filtered
@param types artifact types to be selected
@return a {@code List} of all project dependencies. Never {@code null}.
This excludes artifacts of the {@code EXCLUDED_DEPENDENCY_SCOPES} scopes.
And this should maintain dependency order to comply with library project resource precedence.