Open kriegaex opened 9 years ago
Thanks for reporting this. My first guess is that the newer versions of jacoco have likely changed some code and the jacocotogo plugin is likely not compatible without some code changes. I'll try to take a look soon. In the interim if you are able to use an older version of jacoco that may work for you.
I'd rather wait for a plugin update because I have tried to use the JaCoCo version defined in your plugin POM, but that one is so old, it does not even know the goals we are using, such as prepare-agent-integration.
Ok, so I finally started looking at this, and part of the problem is actually just the serviceURL you are providing. It appears you are missing the "/jmxrmi" at the end of the URL.
<serviceURL>service:jmx:rmi:///jndi/rmi://localhost:9990/jmxrmi</serviceURL>
Try adding that and see if it corrects the issue. If it still fails after that I may need to create a new release with the updated JaCoCo dependency. The code change is easy, but getting it built and deployed out to central will require me to fix up my build environment.
I am trying to instrument WARs inside WildFly 8.2.0 with JaCoCo via Arquillian for integration test coverage.
URL variant 1:
Error variant 1:
URL variant 2:
Error variant 2:
I am a JMX newbie, so I cannot understand the error messages, sorry. Maybe you can. The JMX switch for the JaCoCo Maven Plugin is set, by the way.