Transitive dependency not included in war package
问题 A war project is dependent on com.mycompany:somejarname:1.0. It is dependent on slf4j-log4j12 (this is needed only at runtime by that jar). The packaged war doesn't include slf4j-log4j12- my understanding is that it should be included since because of transitive dependency: war --> somejarname --> slf4j-log4j12. The dependency tree does show the dependency but it is not included in the final war package. [INFO] +- com.mycompany:somejarname:jar:1.0:compile [INFO] | +- common-crypt:common-crypt