It depends on whether or not the transitive dependency is exported or not. The addon *is* deployed, but you might not have an automatic imported relationship with it.

"provided" == not exported (your addon won't import this transitive dependency)
"compile" == exported (your addon will import this transitive dependency)

Think of it just like compilation. Based on the scope in the POM, would your addon be able to compile against the types in the transitive dependency? If yes, then it is imported, and it will automatically be linked in the test. If no, then it is not imported into your test, and you will need to add an explicit dependency to it.

On Thu, Feb 19, 2015 at 12:10 AM, Ondrej Zizka <ozizka@redhat.com> wrote:
Hi,

does Furnace auto-load test deps? I recall Lincoln saying it does.
However it seems not to be true.
I use WindupException in a test class. That test depends on
:windup-config, which depends on :utils.
But unless I specify :utils as a dependency in getDeployment(), it fails
with that class not being found.

Am I missing something, or Forge test utils do not load the transitional
deps?

Thanks,
Ondra
_______________________________________________
windup-dev mailing list
windup-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/windup-dev



--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."