[arquillian-issues] [JBoss JIRA] (ARQ-1309) Persistence extension does not work with Jacoco extension
Bartosz Majsak (JIRA)
jira-events at lists.jboss.org
Sat Mar 2 11:10:56 EST 2013
[ https://issues.jboss.org/browse/ARQ-1309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757988#comment-12757988 ]
Bartosz Majsak commented on ARQ-1309:
-------------------------------------
I'm not able to reproduce this problem when using latest version of the jacoco-extension:
{code:xml}
<dependencies>
<dependency>
<groupId>org.jboss.arquillian.extension</groupId>
<artifactId>arquillian-jacoco</artifactId>
<scope>test</scope>
<version>1.0.0.Alpha5</version>
</dependency>
<dependency>
<groupId>org.jacoco</groupId>
<artifactId>org.jacoco.core</artifactId>
<version>0.6.0.201210061924</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.6.0.201210061924</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>prepare-package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
{code}
Which version is causing the problem?
> Persistence extension does not work with Jacoco extension
> ---------------------------------------------------------
>
> Key: ARQ-1309
> URL: https://issues.jboss.org/browse/ARQ-1309
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Extension - Persistence
> Affects Versions: 1.0.0.Alpha5
> Reporter: Peter Schonhofen
> Assignee: Bartosz Majsak
> Fix For: persistence_1.0.0.next
>
>
> When the Jacoco and persistence extension is used together in a project, a "PersistenceExtensionInitializationException: Unable to create persistence configuration" is thrown.
> The cause of the exception is that in the ConfigurationImporter class the createConfiguration method receives a fieldsWithValues map with a "$jacocoData" item in it. Because the method cannot process this item, it fails.
--
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
More information about the arquillian-issues
mailing list