maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian E. Fox" <bri...@reply.infinity.nu>
Subject RE: [maven-dependency-plugin] Analyze HTML Report
Date Thu, 16 Aug 2007 18:53:15 GMT
It's controlled by a flag you can turn on and off. The reason it's off by default is because
you may have something required to run the tests, but would show up as an unused dependency
because it's not compiled in to the tests directly. An example could be hyper sql used to
simulate a database. It's referenced via a jdbc connect string, but isn't compiled in, even
in the tests.

(The unused dependencies are determined with bytecode analysis)

-----Original Message-----
From: Rémy Sanlaville [mailto:remy.sanlaville@gmail.com] 
Sent: Thursday, August 16, 2007 4:18 AM
To: Maven Developers List
Subject: Re: [maven-dependency-plugin] Analyze HTML Report

Very nice.

Brian, I wonder why the analyze goal of the maven-dependency-plugin just
take the compile dependencies for the Unused declared dependencies [1] ? Why
don't it take the test dependencies even though it also analyzes the test
classes ?

[1]
http://maven.apache.org/plugins/maven-dependency-plugin/xref/org/apache/maven/plugin/dependency/AnalyzeMojo.html#201

Thanks,

Rémy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message