I am having problem using cobertura and aspectj plugin together. My code coverage is incorrectly reported as 0%
AspectJ is only used for unit testing, so project is configured to run test-compile only. Here is what i think is happening: - cobertura instruments the java class files (*.class) in target/generated-sources/cobertura - aspectj:test-compile is not picking up the class files generated (*.class) in the above step, it picks up the java source files (*.java) from src/main/java and src/main/test. I think ajc compiler needs -inpath option to weave the *.class files in target/generated-sources/cobertura directory but i couldn't find a configuration option for aspectj plugin to set this option. Any idea? Thanks, -Rakesh -- View this message in context: http://www.nabble.com/Problem-with-Using-cobertura-maven-plugin-and-aspectj-maven-plugin-together-in-a-project-tp22840458p22840458.html Sent from the mojo - user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email