Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Auto Closed
-
2.4
-
None
-
None
-
Windows 7, Java 64 Bit 1.7.0_06
Description
The includeScope property does not include only compile dependencies but also provided dependencies. This can be verified by the attached example.
<configuration>
<!--dependency plugin fails here and also includes the scope provided -->
<includeScope>compile</includeScope>
</configuration>
This bloats the directory with tons of files in my case.
Also specifying an excludeScope does not work.
Workaround: specify <useSubDirectoryPerScope>true</useSubDirectoryPerScope> and use only the result form the corresponding directory.