[
https://issues.apache.org/jira/browse/VALIDATOR-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18073953#comment-18073953
]
Gary D. Gregory commented on VALIDATOR-499:
-------------------------------------------
FTR, when I apply the patch to git master now:
{noformat}
[INFO] --- japicmp:0.25.4:cmp (default-cli) @ commons-validator ---
[INFO] Written file
'/Users/garygregory/git/commons/commons-validator/target/japicmp/default-cli.diff'.
[INFO] Written file
'/Users/garygregory/git/commons/commons-validator/target/japicmp/default-cli.md'.
[INFO] Created file
'/Users/garygregory/git/commons/commons-validator/target/japicmp/default-cli.xml'.
[INFO] Written file
'/Users/garygregory/git/commons/commons-validator/target/japicmp/default-cli.html'.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.319 s
[INFO] Finished at: 2026-04-16T07:30:00-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
com.github.siom79.japicmp:japicmp-maven-plugin:0.25.4: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]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
{noformat}
> Upgrade from commons-digester to commons-digester3
> --------------------------------------------------
>
> Key: VALIDATOR-499
> URL: https://issues.apache.org/jira/browse/VALIDATOR-499
> Project: Commons Validator
> Issue Type: Bug
> Reporter: Ric Harris
> Priority: Major
>
> It would be useful to be able to upgrade dependencies from
> {{commons-digester}} to the slightly newer {{commons-digester3}} which will
> likely receive further updates as commons libraries progress.
> However because the class {{FormSetFactory}} extends an abstract class from
> {{commons-digester}} this will require a new major version due to the
> incompatible change in the class hierarchy
> i.e. from
> {code}
> FormSetFactory extends
> org.apache.commons.digester.AbstractObjectCreationFactory
> {code}
> to
> {code}
> FormSetFactory extends
> org.apache.commons.digester3.AbstractObjectCreationFactory<FormSet>
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)