I am using japicmp library to compare different versions of spring boot applications.
JarArchiveComparatorOptions comparatorOptions = new JarArchiveComparatorOptions(); comparatorOptions.getFilters().getExcludes().add(new JavadocLikePackageFilter("org.springframework.*", true));
My understanding was to exclude any packages that we don't want to compare as above - instead, the application fails with following exception:
Exception in thread "main" japicmp.exception.JApiCmpException: Could not load 'org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler'
any hints how to exclude such standard dependencies from being compared? Thank you for your help.
I looked at some other code bases on github and i understood how to use the api. just curious, is there any documentation of the api / libraries? Thank you for all your help.
I am using japicmp library to compare different versions of spring boot applications.
JarArchiveComparatorOptions comparatorOptions = new JarArchiveComparatorOptions(); comparatorOptions.getFilters().getExcludes().add(new JavadocLikePackageFilter("org.springframework.*", true));
My understanding was to exclude any packages that we don't want to compare as above - instead, the application fails with following exception:Exception in thread "main" japicmp.exception.JApiCmpException: Could not load 'org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler'
any hints how to exclude such standard dependencies from being compared? Thank you for your help.