Issue Type: Bug Bug
Assignee: Ognjen Bubalo
Components: jacoco, maven
Created: 22/Apr/14 2:18 PM
Description:

I have a Java 7 project I am trying to port to Java 8.
Everything else is working fine except maven tests, which result in zero coverage when project source/target is 1.8. Upon inspecting the resulting jacoco.exec it appears to be intact and showing executed classes properly.

I don't know if this is an issue with jacoco-maven-plugin or if it's actually a problem with maven-compiler-plugin or aspectj-maven-plugin.
The only differences between Java 7 and 8 in my pom.xml are related to maven-compiler-plugin and aspectj-maven-plugin:

<properties>
		<jdk.version>1.7</jdk.version>
</properties>

<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>${jdk.version}</source>
					<target>${jdk.version}</target>
					<showDeprecation>false</showDeprecation>
				</configuration>
			</plugin>
groupId>org.codehaus.mojo</groupId>
					<artifactId>aspectj-maven-plugin</artifactId>
					<version>1.6</version>
					<configuration>
						<showWeaveInfo>true</showWeaveInfo>
						<source>${jdk.version}</source>
						<target>${jdk.version}</target>
						<Xlint>ignore</Xlint>
						<complianceLevel>${jdk.version}</complianceLevel>
Project: Jenkins
Priority: Major Major
Reporter: Risto Oikarinen
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

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to