By Administrator Updated: Monday, 18 April 2011 07:52
Find unused jars
Maven offer a great way to find unused libraries in your project. You have as well a list of the dependencies undeclared in the project
The result look like
[WARNING] Used undeclared dependencies found:
[WARNING] xerces:xmlParserAPIs:jar:2.6.2:compile
[WARNING] javax.persistence:persistence-api:jar:1.0:compile
[WARNING] com.l2fprod.common:l2fprod-common-shared:jar:6.9.1:compile
[WARNING] commons-logging:commons-logging:jar:1.1:compile
[WARNING] jfree:jcommon:jar:1.0.6:compile
[WARNING] org.swinglabs:swingx-ws:jar:1.0:compile
[WARNING] Unused declared dependencies found:
[WARNING] org.hibernate:hibernate-commons-annotations:jar:3.3.0.ga:compile
[WARNING] antlr:antlr:jar:2.7.6:compile
[WARNING] javax.transaction:jta:jar:1.1:compile
[WARNING] org.easymock:easymock:jar:3.0:test
[WARNING] com.kenai.nbpwr:org-jdesktop-swingx-ws:nbm:1.0-201002281504:compile
[WARNING] com.jyloo:synthetica-addons:jar:0.9.7:compile
[WARNING] com.jidesoft:jide-oss:jar:2.4.8:compile
[WARNING] com.oracle:ojdbc6:jar:11.2.0.1.0:runtime
Tags:
maven
,
compile[warning]
,
[warning]
,
dependencies
,
unused
,
antlr
,
find
,
commons-logging
,
undeclared
,
com.oracle
Add comment