Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIXED JENKINS-10236]Emma plugin causes maven release job to fail
- Loading branch information
Showing
1 changed file
with
38 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bcad739
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
this change restricts the usage of the plugin with the org.codehaus.mojo.emma-maven-plugin only.
By searching through the web one can see that there are at least 3(org.sonatype.maven.plugin:emma-maven-plugin:1.2, org.codehaus.mojo:emma-maven-plugin:1.0-alpha-3,org.apache.maven.plugins:maven-emma-plugin:0.5) possibly more plugins out there that produce the emma reports.
Would it be possible to choose a different mechanism to prevent build failure if no reports are available to process rather than restricting the plugin that is producing it?
Cheers,
Robert
bcad739
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we could do either: add the list of mojos to check or count the report files after the execution.