Open lprimak opened 1 month ago
Describe the bug The below exception occurs when running against maven 4-beta-3:
[ERROR] Failed to execute goal org.simplify4u.plugins:sign-maven-plugin:1.0.1:sign (default-cli) on project depchain: Execution default-cli of goal org.simplify4u.plugins:sign-maven-plugin:1.0.1:sign failed: An API incompatibility was encountered while executing org.simplify4u.plugins:sign-maven-plugin:1.0.1:sign: java.lang.NoSuchMethodError: 'org.eclipse.aether.transform.FileTransformerManager org.eclipse.aether.RepositorySystemSession.getFileTransformerManager()' [ERROR] ----------------------------------------------------- [ERROR] realm = plugin>org.simplify4u.plugins:sign-maven-plugin:1.0.1 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls[0] = file:/Users/software/.m2/repository/org/simplify4u/plugins/sign-maven-plugin/1.0.1/sign-maven-plugin-1.0.1.jar [ERROR] urls[1] = file:/Users/software/.m2/repository/org/codehaus/plexus/plexus-sec-dispatcher/2.0/plexus-sec-dispatcher-2.0.jar [ERROR] urls[2] = file:/Users/software/.m2/repository/org/codehaus/plexus/plexus-utils/3.4.1/plexus-utils-3.4.1.jar [ERROR] urls[3] = file:/Users/software/.m2/repository/org/codehaus/plexus/plexus-cipher/2.0/plexus-cipher-2.0.jar [ERROR] urls[4] = file:/Users/software/.m2/repository/org/bouncycastle/bcpg-jdk15on/1.70/bcpg-jdk15on-1.70.jar [ERROR] urls[5] = file:/Users/software/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.70/bcprov-jdk15on-1.70.jar [ERROR] urls[6] = file:/Users/software/.m2/repository/io/vavr/vavr/0.10.4/vavr-0.10.4.jar [ERROR] urls[7] = file:/Users/software/.m2/repository/io/vavr/vavr-match/0.10.4/vavr-match-0.10.4.jar [ERROR] Number of foreign imports: 1 [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
FYI this happens only if plugin is invoked from the command line. It works as part of the release process
Describe the bug The below exception occurs when running against maven 4-beta-3: