My main goal is to get code coverage using EMMA in a running web application using CTL coverage.get. I am using emma maven plugin.
So, I am deploying my web application using tool code.
The tomcat log has:
EMMA: collecting runtime coverage data ...
but no:
EMMA: runtime controller started on port [47653]
This means that Im cannot use ctl, since no one is listening to it.
What could be the reason that the runtime controller does not start?
My parent is pom.xml:
<project> ... <build> <plugins> ... <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>emma-maven-plugin</artifactId> <inherited>true</inherited> <executions> <execution> <id>instrument</id> <phase>process-test-classes</phase> <goals> <goal>instrument</goal> </goals> </execution> </executions> </plugin> ... </plugins> </build> ... <reporting> <plugins> ... <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>emma-maven-plugin</artifactId> <version>1.0-alpha-3</version> <inherited>true</inherited> </plugin> ... </plugins> </reporting> ... </project>
Thanks in advance. Any hints are welcome.
source share