Maven 2 & 3

In a reactor, attached artifacts with classifier should be used when generating classpath, instead of the whole output directory of the related project