Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to skip generation of html report #121

Closed
vmassol opened this issue Mar 14, 2016 · 2 comments
Closed

Ability to skip generation of html report #121

vmassol opened this issue Mar 14, 2016 · 2 comments

Comments

@vmassol
Copy link

vmassol commented Mar 14, 2016

I'd like to skip generating the html file since I'm only using japicmp to fail the build when source/binary backward incompatibilty is found. Right now whenever a maven module is built japicmp generates 3 files:

[INFO] Written file '/Users/vmassol/dev/xwiki/git/xwiki-platform/xwiki-platform-core/xwiki-platform-mail/xwiki-platform-mail-ui/target/japicmp/japicmp.diff'.
[INFO] Written file '/Users/vmassol/dev/xwiki/git/xwiki-platform/xwiki-platform-core/xwiki-platform-mail/xwiki-platform-mail-ui/target/japicmp/japicmp.xml'.
[INFO] Written file '/Users/vmassol/dev/xwiki/git/xwiki-platform/xwiki-platform-core/xwiki-platform-mail/xwiki-platform-mail-ui/target/japicmp/japicmp.html'.

Would it be possible to skip the generation of the html one at least?

The goal is to speed up the build.

Thanks

siom79 added a commit that referenced this issue Mar 15, 2016
 maven-plugin has new option to ignore missing old version, #123 interface moved to abstract class is no longer reported to be source incompatible
@siom79
Copy link
Owner

siom79 commented Mar 15, 2016

Added new options skipHtmlReport, skipXmlReport and skipDiffReport to skipt the corresponding report.

If you like, you can try it on the develop branch:

git clone https://github.com/siom79/japicmp.git
cd japicmp
git checkout develop
mvn install

@siom79
Copy link
Owner

siom79 commented Mar 20, 2016

Released with 0.7.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants