On Jan 28, 2008 10:41 AM, Felix Meschberger <[EMAIL PROTECTED]> wrote:
> ...To get a complete list of dependencies we would have to analyze the > dependencies of each pom just like the maven's dependency report does.... I think this does it, if run from the top of our source code tree (assuming all modules are listed in the main pom.xml): mvn dependency:resolve | grep ':.*:.*:.*' | grep -v "Finished at" | cut -d ':' -f 1-4 | sort -u The resulting list also shows some "interesting" duplicates like: commons-httpclient:commons-httpclient:jar:3.0 commons-httpclient:commons-httpclient:jar:3.1 And commons-logging:commons-logging:jar:1.0.3 commons-logging:commons-logging:jar:1.0.4 commons-logging:commons-logging:jar:1.1 And a few others like this. -Bertrand
