Sorry, I didn“t see the optional tag in the dependency I wanted.

Now I understood why the dependency was not there.


On Fri, Aug 7, 2009 at 2:54 PM, Renato K. Araujo<[email protected]> wrote:
> Hi!
>
> I am using Maven 2.0.10 and I have in my project a dependency of the
> dbunit 2.4.5 jar. In dbunit's pom it declares a runtime dependency.
>
> When I run "mvn test" the dbunit runtime dependency is not included by
> Maven in my project.
>
> In this case, when a dependency declares a runtime dependency in its
> pom, do I need to include this dependency in my own pom or should
> Maven resolve automatically the transitive runtime dependency?
>
> Does Maven resolve transitive dependencies when they are in runtime
> and test scopes?
>
> Thanks in advance.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to