is there a way to exclude both 'provided' and 'test' dependencies using maven dependency plug-in:
with 'mvn dependency:tree | grep compiled' I'm getting one set of jars (which will be included into final war)
and with 'mvn dependecy:build-classpath -DexcludeScope=provided' I'm getting different set jars for both 'test' & 'compile'
so is there a way to get 1st set of jars using dependency plugin options?