ingwarsw / arquillian-suite-extension

Arquillian extension that will force single deployment for all tests
Apache License 2.0
67 stars 20 forks source link

Error when using my own snapshot build #19

Closed ghost closed 9 years ago

ghost commented 9 years ago

Hello, I have forked the project to try some things out. I added some code in ArquillianSuiteExtension, built with mvn package from the command line since my Eclipse did not want to build because of some plugin issue. I am not a maven user so I am not exactly sure what the problem is. I was able to build the snapshot successfully but I am having troubles getting it to run my project.

We use Ivy instead of Maven for dependency management. To switch my project to use the snapshot I removed arquiilian-suite-extension from Ivy and just placed the snapshot jar on the build path. I also then added to the org.reflections dependency into Ivy to resolve that. It looks like I have all the other dependencies listed in the pom from maven already in my Ivy dependencies. When I try and run a test suite I get this error:

Caused by: java.lang.VerifyError: (class: org/apache/maven/model/validation/DefaultModelValidator, method: validateEffectiveModel signature: (Lorg/apache/maven/model/Model;Lorg/apache/maven/model/building/ModelBuildingRequest;Lorg/apache/maven/model/building/ModelProblemCollector;)V) Incompatible argument to function

Any ideas on what to do get my own snapshot up and running?

Thanks Travis

ghost commented 9 years ago

I traced this down to not having shrinkwrap-resolver-impl-maven-archive in my ivy dependencies. I had the -depchain artifact, but it must not be the same thing as having -impl-maven and -impl-maven-archive.