I am not sure that it matters since Maven can always get whatever it
needs when it needs it.
It is an intriguing question nonetheless.
You might trace back the reason for the pom to be downloaded.
This might give you a hint as to what Maven need the pom for.
oro is unlikely to be a "provided" or "system" dependency but a bit of
digging into your dependency hierarchy might shed some light.
You may want to reread the section in the doc on transitive dependencies
to focus your investigation.
Ron
On 10/03/2015 10:22 AM, D C wrote:
I am trying to download all dependencies from a pom file. My steps are:
1. delete .m2/repository
2. mvn dependency:tree pom.xml
Everything looks good, however as I browse the .m2 directory I can see that
for some artifacts maven only downloaded the pom file, and did not
download the associated jar. I then repeat the process on another pom
file. This time the jar file is present for that same artifact.
There are multiple artifacts that this happens on, but for troubleshooting
I'm just focusing on oro-2.0.8. Neither of my poms declare oro, so this
is a sub-dependency somewhere down the chain. The process can be
reproduced every time, and I can see from the output that the oro-2.0.8
pom file is downloaded from the same location (local artifactory) in both
cases.
Does anyone know why maven would download a pom file, and then not attempt
to download the associated jar?
Thanks,
Dan
--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org