Try mvn dependency:analyze
It will tell you when you are not using dependencies and also when you
haven't declared things you are directly using.
-Original Message-
From: Giovanni Azua [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 30, 2007 8:27 AM
To: 'Maven Users List'
Subject:
i'm unaware of any plugins to prohibit unused deps but the dependency
plugin has an analyze goal can give you a report showing dependencies
that are declared and unused that I find useful when cleaning
dependencies.
mvn dependency:analyze
on a related note ... is there a global exclusions ability? currently you
have to track down every use of the dependency in order to exclude it. For
me the classic case of this is junit. We don't use junit but every jar that
we include seems to have a dependency to junit... which completely
http://jira.codehaus.org/browse/MNG-1977
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]