I've having an odd problem with the maven dependency plugin.
I'm using it to copy all the jars upon which my app depends. It's
copying one particular jar, servlet-api-2.3.jar, which it shouldn't.
How do I figure out *why* it's copying that jar?
I've already tried running mvn dependency:tree from the command line,
and that particular jar does not show up in the output.
I've also tried to exclude it explicitly using <excludeGroupIds>:
<execution>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<includeScope>compile</includeScope>
<excludeGroupIds>javax-servlet</excludeGroupIds>
<outputDirectory>target/lib</outputDirectory>
</configuration>
</execution>
But it still gets copied.
I also enabled debug output during the maven build, but the dependency
plugin showed nothing useful.
How do I debug this?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]