java - exclude both 'provided' & 'test' dependencies with dependency-plugin -
is there way exclude both 'provided' , 'test' dependencies using maven dependency plug-in:
with 'mvn dependency:tree | grep compiled' i'm getting 1 set of jars (which included final war)
and 'mvn dependecy:build-classpath -dexcludescope=provided' i'm getting different set jars both 'test' & 'compile'
so there way 1st set of jars using dependency plugin options?
it turns out 'includescope=runtime' trick
Comments
Post a Comment