-
Notifications
You must be signed in to change notification settings - Fork 165
Switch to use commons-digester3 #318
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
base: master
Are you sure you want to change the base?
Conversation
Hello @harrisric |
Hi @garydgregory - thanks for the quick response. I can't immediately see a way of avoiding the incompatibility - the class |
Hello @harrisric I also see a lot of stack traces like:
So there are likely other changes that would be needed as well. |
@garydgregory - quite correct, that is simply a change of the named schema in the rule set. All those stack-traces are now gone. A little odd that this didn't bubble up as a test failure. |
@harrisric |
Hi @garydgregory as noted earlier, it is not possible within the compatibility constraints of a minor version change to get a branch change which succeeds with the aim of replacing the old dependency, as part of that dependency is directly in the class hierarchy of one of the public classes ( |
Hello @harrisric |
Raised https://issues.apache.org/jira/browse/VALIDATOR-499 - let me know anything else I need to do here or can help out with. |
Thanks for your contribution to Apache Commons! Your help is appreciated!
Before you push a pull request, review this list:
mvn
; that'smvn
on the command line by itself.Changed the dependency on commons-digester to use commons-digester3 instead.
I understand that this may be blocked for a later major version change similarly to #53
running
japicmp:cmp
yields the following output:[ERROR] Failed to execute goal com.github.siom79.japicmp:japicmp-maven-plugin:0.23.1:cmp (default-cli) on project commons-validator: There is at least one incompatibility: org.apache.commons.digester.ObjectCreationFactory[org.apache.commons.digester.ObjectCreationFactory]:INTERFACE_REMOVED,org.apache.commons.validator.FormSetFactory:SUPERCLASS_REMOVED,org.apache.commons.validator.FormSetFactory:METHOD_ABSTRACT_ADDED_IN_IMPLEMENTED_INTERFACE -> [Help 1]