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

Ignoring when previous version doesn't exist #122

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

Ignoring when previous version doesn't exist #122

vmassol opened this issue Mar 14, 2016 · 2 comments

Comments

@vmassol
Copy link

vmassol commented Mar 14, 2016

I'd like to ignore when the previous version defined doesn't exist. I know there's a ignoreMissingClasses property but it's defined as " Set this to true in order to ignore artifacts that cannot be resolved, i.e. the build does not break in case a dependency cannto be resolved to a file.". I want to break if some dependency of the current version cannot be resolved. I just don't want to break if the previous version doesn't exist without having to explicitly declare a skip, because if I do then I know for sure we'll forget to remove the skip when the next version is released.

Is that possible? If not, could it be added?

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 parameter ignoreMissingOldVersion to the maven plugin that won't break the build if the old version cannot be resolved.

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

git clone https:/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