Where did you get the MavenDependencyResolover class from? Are you sure the loadDependencies implementation is correct?
1 of 1 people found this helpful
when you're loading pom.xml file, the effective pom file is constructed. This means that if you project has a multimodule structure, where one module depends on other, it must be installed into local repository before Maven resolution can be applied.
This is default behavior of Maven as well. Try to execute (in the directory where pom.xml resides)
and it will fail unable to locate com.acme:service-bus artifact as well.
If by any chance com:acme:service-bus is a parent artifact, you can overcome the need of installing by correctly specifying <relativePath> element in <parent> declaration.
Can you include pom.xml file to verify this is you case?
PS: Thanks for the typo
Hi Karel, thanks for the support.
I'm not a maven person, in fact I believe it's the root of all evil in universe, but let's move on ...
It is a multi module project. But I have it installed on my local repo. The parent pom and all the modules as well.
I'm currently changing the layout of my project. I was putting the tests inside the artifact, but due the number of dependencies, I'm moving the tests to some other projects.
Here's our current structure:
I was putting the arquillian tests inside one of the implemetnations (service-bus-jgroups). I'll now create a separate project called service-bus-jgroups-test and add all tests there, and depend on the api/impl artifacts. I hope this alliviates the problem
I'll keep updating the post so others could use as reference.
Thanks a lot for the help.
If i were you i woul update to the new 1.0.1.Final Version of arquillian. there are nmany bugs fixed