David Barri commented on Bug JENKINS-15570

I'm having this issue too. The relevant part of my POM looks like this:

<plugin>
	<groupId>org.jacoco</groupId>
	<artifactId>jacoco-maven-plugin</artifactId>
	<version>0.6.0.201210061924</version>
	<executions>
		<execution>
			<id>coverage-agent</id>
			<phase>process-test-classes</phase>
			<goals>
				<goal>prepare-agent</goal>
			</goals>
		</execution>
		<execution>
			<id>coverage-report</id>
			<phase>test</phase>
			<goals>
				<goal>report</goal>
			</goals>
		</execution>
	</executions>
	<configuration>
		<excludes>
			<!-- Exclude classes generated by AndroidAnnotations -->
			<exclude>**/*_.*</exclude>
			<exclude>**/*_$*</exclude>
		</excludes>
	</configuration>
</plugin>

When I generate a Jacoco HTML report, classes that end in an underscore like ExampleActivity_ do not appear because of the exclude settings in my POM. However from Jenkins all of those classes that the Maven build excludes are visible again.

My Jenkins settings for this plugin are the defaults.

Thanks!
David

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to