[
http://jira.codehaus.org/browse/SUREFIRE-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brett Porter updated SUREFIRE-250:
----------------------------------
Component/s: report plugin
> surefire-report-maven-plugin: don't add report for non java projects
> --------------------------------------------------------------------
>
> Key: SUREFIRE-250
> URL: http://jira.codehaus.org/browse/SUREFIRE-250
> Project: Maven Surefire
> Issue Type: Bug
> Components: report plugin
> Reporter: fabrizio giustina
> Assigned To: Carlos Sanchez
> Fix For: 2.0 Report Plugin
>
> Attachments: MOJO-surefirereport.diff
>
>
> the surefire report should not be executed for non java (e.g. pom) projects.
> + /**
> + * @see
> org.apache.maven.reporting.AbstractMavenReport#canGenerateReport()
> + */
> + public boolean canGenerateReport()
> + {
> + // Only execute reports for java projects
> + ArtifactHandler artifactHandler =
> this.project.getArtifact().getArtifactHandler();
> + return "java".equals( artifactHandler.getLanguage() );
> + }
--
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