How to determine which Maven dependency is needing a missing dependency? -


i trying build old maven project , i'm getting error:

[error] failed execute goal on project myapp: not resolve dependencies project com.initech.myapp:war:${buildversion}: failure find tangosol:tangosol-coherence:jar:3.3-rc1 in http://mvnrepo.initech.com/archiva/repository/initechrepo cached in local repository, resolution not reattempted until update interval of initechrepo has elapsed or updates forced -> [help 1]

i looked in pom.xml of myapp , there no mention of "tangosol" , there no parent pom figure must transitive dependency.

normally, can use maven dependency plugin on command line mvn dependency:tree display transitive dependencies. however, since dependency missing, build fails , errors out instead of displaying tree.

how can cause of missing transitive dependency if build failing?


edit: aware of why failed, artifact is missing our local repository and central repository, question of dependencies asking it.

there should better way, but if run command in debug mode (ie -x full command becomes mvn -x dependency:tree) you'll see trace printed out before build dies:

    ... [debug]    org.springmodules:spring-modules-cache:jar:0.9:compile [debug]       opensymphony:oscache:jar:2.3:compile [debug]       tangosol:tangosol-coherence:jar:3.3-rc1:compile [debug]       oro:oro:jar:2.0.8:compile [debug]       org.apache.jcs:jcs:jar:1.3:compile [debug]          concurrent:concurrent:jar:1.0:compile     ... 

better answers welcome.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

php - joomla get content in onBeforeCompileHead function -