java - exclude both 'provided' & 'test' dependencies with dependency-plugin -


is there way exclude both 'provided' , 'test' dependencies using maven dependency plug-in:

  1. with 'mvn dependency:tree | grep compiled' i'm getting 1 set of jars (which included final war)

  2. 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

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -