On 12/1/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
On 12/1/06, Alexander Sack <[EMAIL PROTECTED]> wrote: > > And in fact, one can actually remove the transitive dependencies that are > unwanted during the build classpath by declaring them in the POM as > "provided." I believe that fits his scenario where he is building against > a > library that has a transitive dependency that he does not want on his > build > classpath for whatever reason (packaging, etc.). My understanding is the "provided" is essentially the opposite of "runtime" ... it leaves the dependency on the compile classpath but does not include it in the output. Whereas, "runtime" leaves it off the compile classpath but does include it in the output.
Craig, yea, your right. My apologies. I'm using provided in one project as a way to avoid output not build scope since as the original poster stated, transitive dependencies are relatively harmless. My issue was in fact that transitive dependencies were being packaged and I wanted to remove them. Again, sorry for the confusion and thanks for the correction! :D -aps -- "What lies behind us and what lies in front of us is of little concern to what lies within us." -Ralph Waldo Emerson
