[ 
http://jira.codehaus.org/browse/MOJO-1008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mathias Arens updated MOJO-1008:
--------------------------------

    Attachment: 
emma-maven-plugin-1.0-SNAPSHOT-maven-2.0.8-surefire-2.3.1-2.4.patch

I found the bug. I modified the lifecycle.xml file of the emma plugin. 
Basically I changed the classesDirectory tag from:

<classesDirectory>
${project.build.directory}/generated-classes/emma
</classesDirectory>

to:
<classesDirectory>
${project.build.directory}/generated-classes/emma/classes
</classesDirectory>

I also removed a System.setProperty() which has no effect in my opinion.

I tested the plugin with maven 2.0.8 and surefire-2.3.1 and surefire-2.4. The 
patch works fine. Also the integration tests do still work.

Can somebody check this patch in?

> emma-maven-plugin does not work with maven 2.0.8 and surefire 2.3.1/2.4
> -----------------------------------------------------------------------
>
>                 Key: MOJO-1008
>                 URL: http://jira.codehaus.org/browse/MOJO-1008
>             Project: Mojo
>          Issue Type: Bug
>         Environment: Maven 2.0.8, Surefire 2.3.1/2.4
>            Reporter: Mathias Arens
>         Attachments: 
> emma-maven-plugin-1.0-SNAPSHOT-maven-2.0.8-surefire-2.3.1-2.4.patch
>
>
> The Emma plugin does not work with maven 2.0.8 and surefire 2.3.1 or 2.4. 
> There is a NullPointerException when emma executes the surefire:test goal.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to