Yo guys.

I just got reported, and resolved, an issue in the aspectJ plugin
where the plugin is configured in the parent pom (packaging pom). The
guy that filed the issue stated in front in a mail to me that they had
simular problems with the cobertura plugin.
Well I resolved it in the aspectJ prlugin with the following code :

public void execute()
        throws MojoExecutionException
    {
        // exclude this :
        if( "pom".endsWith( project.getPackaging() )
                || "ear".endsWith( project.getPackaging() ) )
        {
            return;
        }


Would you think that this also applies for the cobertura plugin ?
should we add simular code there ?

Best regards
Kaare Nilsen

Reply via email to