Pass the cipher to the constructor of DefaultSecDispatcher
MSALorg.codehaus.plexus:plexus-sec-dispatcher 2.0 has no constructor of DefaultSecDispatcher without arguments, and its _cipher field is final. This passes the cipher to the constructor that takes one instead: the cipher that an anonymous or named subclass assigned to _cipher, or else a new DefaultPlexusCipher, which is what the dispatcher that Maven configures uses. A subclass that assigns _decryptors, or assigns _cipher a value that can't be computed before the constructor runs, is left for a person to change.
org. openrewrite. codehaus. plexus. MigrateDefaultSecDispatcherConstructormod run . --recipe= org. openrewrite. codehaus. plexus. MigrateDefaultSecDispatcherConstructorInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.