How to exclude some dependency in maven-compiler-plugin?
<p>Guys I need to find out some way to include or exclude dependency while compile my code in maven (maven-compiler-plugin), I don't want to include all dependency in my class path, just few of them which will be used by java class file to be compile.</p>

<p>Is there any to do this  ?</p>