You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by David Weintraub <qa...@gmail.com> on 2009/10/05 18:53:49 UTC

Why is this jar downloading?

I am trying to trace the dependency upon a particular jarfile:
btm-1.3.3-RC2.jar, and trying to find out why it is downloading. I've ran
mvn with the --debug flag and got this:

com.solbright.aim:core:jar:2.1.2-SNAPSHOT (selected for null)
[DEBUG]   org.apache.ibatis:ibatis-sqlmap:jar:2.3.4.726:compile (selected
for compile)
[DEBUG]   opensymphony:quartz-all:jar:1.5.2:compile (selected for compile)
[DEBUG]   junit:junit:jar:4.5:test (selected for test)
[DEBUG]   log4j:log4j:jar:1.2.15:compile (selected for compile)
[DEBUG]     javax.mail:mail:jar:1.4:compile (selected for compile)
[DEBUG]       javax.activation:activation:jar:1.1:compile (selected for
compile)
[DEBUG]     javax.jms:jms:jar:1.1:compile (selected for compile)
[DEBUG]     com.sun.jdmk:jmxtools:jar:1.2.1:compile (selected for compile)
[DEBUG]     com.sun.jmx:jmxri:jar:1.2.1:compile (selected for compile)
[DEBUG]   commons-logging:commons-logging:jar:1.1.1:compile (selected for
compile)
[DEBUG]   commons-dbcp:commons-dbcp:jar:1.2.2:compile (selected for compile)
[DEBUG]     commons-pool:commons-pool:jar:1.3:compile (selected for compile)
[DEBUG] Retrieving parent-POM: org.apache.commons:commons-parent:pom:9 for
project: commons-collections:commons-collections:jar:3.2.1 from the
repository.
[DEBUG]   commons-collections:commons-collections:jar:3.2.1:compile
(selected for compile)
[DEBUG]   commons-lang:commons-lang:jar:2.4:compile (selected for compile)
[DEBUG]   commons-beanutils:commons-beanutils:jar:1.7.0:compile (selected
for compile)
[DEBUG]     commons-logging:commons-logging:jar:1.0.3:compile (removed -
nearer found: 1.1.1)
[DEBUG]   org.aspectj:aspectjrt:jar:1.6.2:compile (selected for compile)
[DEBUG]   org.aspectj:aspectjweaver:jar:1.6.2:compile (selected for compile)
[DEBUG]   org.springframework:spring:jar:2.5.5:compile (selected for
compile)
[DEBUG]   org.springframework:spring-aspects:jar:2.5.5:compile (selected for
compile)
[DEBUG]     org.aspectj:aspectjrt:jar:1.6.0:compile (removed - nearer found:
1.6.2)
[DEBUG]     org.aspectj:aspectjweaver:jar:1.6.0:compile (removed - nearer
found: 1.6.2)
[DEBUG]     org.springframework:spring-beans:jar:2.5.5:compile (selected for
compile)
[DEBUG]       org.springframework:spring-core:jar:2.5.5:compile (selected
for compile)
[DEBUG]   com.oracle:classes12:jar:10.2.0.2.0:compile (selected for compile)
[DEBUG]   org.codehaus.btm:btm:jar:1.3.3-RC2:compile (selected for compile)
[DEBUG] Retrieving parent-POM: org.apache.geronimo.specs:specs:pom:1.1 for
project: null:geronimo-jms_1.1_spec:jar:1.0.1 from the repository.
[DEBUG] Retrieving parent-POM: org.apache:apache:pom:1 for project:
org.apache.geronimo.specs:specs:pom:1.1 from the repository.
[DEBUG] Adding managed dependencies for unknown:geronimo-jms_1.1_spec
[DEBUG]   org.apache.geronimo.specs:geronimo-activation_1.0.2_spec:jar:1.1
[DEBUG]   org.apache.geronimo.specs:geronimo-commonj_1.1_spec:jar:1.0
[DEBUG]   org.apache.geronimo.specs:geronimo-corba_3.0_spec:jar:1.1
[DEBUG]   org.apache.geronimo.specs:geronimo-corba_2.3_spec:jar:1.1
[DEBUG]   org.apache.geronimo.specs:geronimo-ejb_2.1_spec:jar:1.0.1
[DEBUG]   org.apache.geronimo.specs:geronimo-j2ee_1.4_spec:jar:1.1
[DEBUG]
org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:jar:1.0.1
[DEBUG]
org.apache.geronimo.specs:geronimo-j2ee-deployment_1.1_spec:jar:1.0.1
[DEBUG]   org.apache.geronimo.specs:geronimo-j2ee-jacc_1.0_spec:jar:1.0.1
[DEBUG]
org.apache.geronimo.specs:geronimo-j2ee-management_1.0_spec:jar:1.0.1
[DEBUG]   org.apache.geronimo.specs:geronimo-javamail_1.3.1_spec:jar:1.1
[DEBUG]   org.apache.geronimo.specs:geronimo-jaxr_1.0_spec:jar:1.0.1
[DEBUG]   org.apache.geronimo.specs:geronimo-jaxrpc_1.1_spec:jar:1.0.1

So, what is generating this dependency on btm-1.3.3-RC.jar?

Is there a better way to figure this out?

-- 
David Weintraub
qazwart@gmail.com

Re: Why is this jar downloading?

Posted by Wayne Fay <wa...@gmail.com>.
> So, what is generating this dependency on btm-1.3.3-RC.jar?
>
> Is there a better way to figure this out?

"mvn dependency:tree" was built for this purpose exactly.

Wayne

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


RE: Why is this jar downloading?

Posted by Damon Silver <da...@diio.net>.
Try `mvn dependency:tree`.

- Damon

-----Original Message-----
From: David Weintraub [mailto:qazwart@gmail.com] 
Sent: Monday, October 05, 2009 9:54 AM
To: Maven Users List
Subject: Why is this jar downloading?

I am trying to trace the dependency upon a particular jarfile:
btm-1.3.3-RC2.jar, and trying to find out why it is downloading. I've ran
mvn with the --debug flag and got this:

com.solbright.aim:core:jar:2.1.2-SNAPSHOT (selected for null)
[DEBUG]   org.apache.ibatis:ibatis-sqlmap:jar:2.3.4.726:compile (selected
for compile)
[DEBUG]   opensymphony:quartz-all:jar:1.5.2:compile (selected for compile)
[DEBUG]   junit:junit:jar:4.5:test (selected for test)
[DEBUG]   log4j:log4j:jar:1.2.15:compile (selected for compile)
[DEBUG]     javax.mail:mail:jar:1.4:compile (selected for compile)
[DEBUG]       javax.activation:activation:jar:1.1:compile (selected for
compile)
[DEBUG]     javax.jms:jms:jar:1.1:compile (selected for compile)
[DEBUG]     com.sun.jdmk:jmxtools:jar:1.2.1:compile (selected for compile)
[DEBUG]     com.sun.jmx:jmxri:jar:1.2.1:compile (selected for compile)
[DEBUG]   commons-logging:commons-logging:jar:1.1.1:compile (selected for
compile)
[DEBUG]   commons-dbcp:commons-dbcp:jar:1.2.2:compile (selected for compile)
[DEBUG]     commons-pool:commons-pool:jar:1.3:compile (selected for compile)
[DEBUG] Retrieving parent-POM: org.apache.commons:commons-parent:pom:9 for
project: commons-collections:commons-collections:jar:3.2.1 from the
repository.
[DEBUG]   commons-collections:commons-collections:jar:3.2.1:compile
(selected for compile)
[DEBUG]   commons-lang:commons-lang:jar:2.4:compile (selected for compile)
[DEBUG]   commons-beanutils:commons-beanutils:jar:1.7.0:compile (selected
for compile)
[DEBUG]     commons-logging:commons-logging:jar:1.0.3:compile (removed -
nearer found: 1.1.1)
[DEBUG]   org.aspectj:aspectjrt:jar:1.6.2:compile (selected for compile)
[DEBUG]   org.aspectj:aspectjweaver:jar:1.6.2:compile (selected for compile)
[DEBUG]   org.springframework:spring:jar:2.5.5:compile (selected for
compile)
[DEBUG]   org.springframework:spring-aspects:jar:2.5.5:compile (selected for
compile)
[DEBUG]     org.aspectj:aspectjrt:jar:1.6.0:compile (removed - nearer found:
1.6.2)
[DEBUG]     org.aspectj:aspectjweaver:jar:1.6.0:compile (removed - nearer
found: 1.6.2)
[DEBUG]     org.springframework:spring-beans:jar:2.5.5:compile (selected for
compile)
[DEBUG]       org.springframework:spring-core:jar:2.5.5:compile (selected
for compile)
[DEBUG]   com.oracle:classes12:jar:10.2.0.2.0:compile (selected for compile)
[DEBUG]   org.codehaus.btm:btm:jar:1.3.3-RC2:compile (selected for compile)
[DEBUG] Retrieving parent-POM: org.apache.geronimo.specs:specs:pom:1.1 for
project: null:geronimo-jms_1.1_spec:jar:1.0.1 from the repository.
[DEBUG] Retrieving parent-POM: org.apache:apache:pom:1 for project:
org.apache.geronimo.specs:specs:pom:1.1 from the repository.
[DEBUG] Adding managed dependencies for unknown:geronimo-jms_1.1_spec
[DEBUG]   org.apache.geronimo.specs:geronimo-activation_1.0.2_spec:jar:1.1
[DEBUG]   org.apache.geronimo.specs:geronimo-commonj_1.1_spec:jar:1.0
[DEBUG]   org.apache.geronimo.specs:geronimo-corba_3.0_spec:jar:1.1
[DEBUG]   org.apache.geronimo.specs:geronimo-corba_2.3_spec:jar:1.1
[DEBUG]   org.apache.geronimo.specs:geronimo-ejb_2.1_spec:jar:1.0.1
[DEBUG]   org.apache.geronimo.specs:geronimo-j2ee_1.4_spec:jar:1.1
[DEBUG]
org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:jar:1.0.1
[DEBUG]
org.apache.geronimo.specs:geronimo-j2ee-deployment_1.1_spec:jar:1.0.1
[DEBUG]   org.apache.geronimo.specs:geronimo-j2ee-jacc_1.0_spec:jar:1.0.1
[DEBUG]
org.apache.geronimo.specs:geronimo-j2ee-management_1.0_spec:jar:1.0.1
[DEBUG]   org.apache.geronimo.specs:geronimo-javamail_1.3.1_spec:jar:1.1
[DEBUG]   org.apache.geronimo.specs:geronimo-jaxr_1.0_spec:jar:1.0.1
[DEBUG]   org.apache.geronimo.specs:geronimo-jaxrpc_1.1_spec:jar:1.0.1

So, what is generating this dependency on btm-1.3.3-RC.jar?

Is there a better way to figure this out?

-- 
David Weintraub
qazwart@gmail.com


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