Only put in transitive sources for non-optional deps

Conflicts:
	test/java/org/apache/ivy/plugins/parser/m2/PomModuleDescriptorParserTest.java
do not include transitive sources for provided or system