Closed myronenkom closed 3 days ago
This has been fixed by vaadin/flow#20551 and will be released soon.
For the record, this is the repository for the Vaadin 8 maven plugin. Issues for newer versions can be created on the Flow or Vaadin Platform repositories.
Closing as fixed and duplicate of #20555
Description:
Hi, there's an issue with the latest version of Vaadin Maven Plugin (24.5.6). It fails on the task
configure
with the following error:Stack Trace:
Failed to execute goal com.vaadin:vaadin-maven-plugin:24.5.6:configure (configure)...``` [ERROR] Failed to execute goal com.vaadin:vaadin-maven-plugin:24.5.6:configure (configure) on project project-name: Execution configure of goal com.vaadin:vaadin-maven-plugin:24.5.6:configure failed: Duplicate key io.netty:netty-tcnative-boringssl-static (attempted merging values io.netty:netty-tcnative-boringssl-static:jar:2.0.69.Final:compile and io.netty:netty-tcnative-boringssl-static:jar:linux-x86_64:2.0.69.Final:compile) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.vaadin:vaadin-maven-plugin:24.5.6:configure (configure) on project project-name: Execution configure of goal com.vaadin:vaadin-maven-plugin:24.5.6:configure failed: Duplicate key io.netty:netty-tcnative-boringssl-static (attempted merging values io.netty:netty-tcnative-boringssl-static:jar:2.0.69.Final:compile and io.netty:netty-tcnative-boringssl-static:jar:linux-x86_64:2.0.69.Final:compile) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions (MojoExecutor.java:355) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:200) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:972) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103) at java.lang.reflect.Method.invoke (Method.java:580) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) at org.codehaus.classworlds.Launcher.main (Launcher.java:47) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution configure of goal com.vaadin:vaadin-maven-plugin:24.5.6:configure failed: Duplicate key io.netty:netty-tcnative-boringssl-static (attempted merging values io.netty:netty-tcnative-boringssl-static:jar:2.0.69.Final:compile and io.netty:netty-tcnative-boringssl-static:jar:linux-x86_64:2.0.69.Final:compile) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:148) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions (MojoExecutor.java:355) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:200) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:972) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103) at java.lang.reflect.Method.invoke (Method.java:580) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) at org.codehaus.classworlds.Launcher.main (Launcher.java:47) Caused by: java.lang.IllegalStateException: Duplicate key io.netty:netty-tcnative-boringssl-static (attempted merging values io.netty:netty-tcnative-boringssl-static:jar:2.0.69.Final:compile and io.netty:netty-tcnative-boringssl-static:jar:linux-x86_64:2.0.69.Final:compile) at java.util.stream.Collectors.duplicateKeyException (Collectors.java:135) at java.util.stream.Collectors.lambda$uniqKeysMapAccumulator$1 (Collectors.java:182) at java.util.stream.ReduceOps$3ReducingSink.accept (ReduceOps.java:169) at java.util.stream.ReferencePipeline$2$1.accept (ReferencePipeline.java:179) at java.util.stream.ReferencePipeline$2$1.accept (ReferencePipeline.java:179) at java.util.Iterator.forEachRemaining (Iterator.java:133) at java.util.Spliterators$IteratorSpliterator.forEachRemaining (Spliterators.java:1939) at java.util.stream.AbstractPipeline.copyInto (AbstractPipeline.java:509) at java.util.stream.AbstractPipeline.wrapAndCopyInto (AbstractPipeline.java:499) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential (ReduceOps.java:921) at java.util.stream.AbstractPipeline.evaluate (AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.collect (ReferencePipeline.java:682) at com.vaadin.flow.plugin.maven.Reflector.createIsolatedClassLoader (Reflector.java:245) at com.vaadin.flow.plugin.maven.Reflector.of (Reflector.java:201) at com.vaadin.flow.plugin.maven.FlowModeAbstractMojo.isHillaAvailable (FlowModeAbstractMojo.java:372) at com.vaadin.hilla.maven.EngineConfigureMojo.execute (EngineConfigureMojo.java:56) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions (MojoExecutor.java:355) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:200) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:972) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103) at java.lang.reflect.Method.invoke (Method.java:580) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) at org.codehaus.classworlds.Launcher.main (Launcher.java:47) [ERROR] [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/PluginExecutionException Process finished with exit code 1 ```
Additional Information:
spring-cloud-azure-starter-active-directory
dependency is included in the project.mvn dependency:tree
task:Azure dependency tree
``` [INFO] +- com.azure.spring:spring-cloud-azure-starter-active-directory:jar:5.18.0:compile [INFO] | +- com.azure.spring:spring-cloud-azure-starter:jar:5.18.0:compile [INFO] | | \- com.azure.spring:spring-cloud-azure-autoconfigure:jar:5.18.0:compile [INFO] | | \- com.azure.spring:spring-cloud-azure-service:jar:5.18.0:compile [INFO] | | \- com.azure.spring:spring-cloud-azure-core:jar:5.18.0:compile [INFO] | | +- com.azure:azure-core:jar:1.53.0:compile [INFO] | | | +- com.azure:azure-json:jar:1.3.0:compile [INFO] | | | \- com.azure:azure-xml:jar:1.1.0:compile [INFO] | | +- com.azure:azure-identity:jar:1.14.0:compile [INFO] | | | +- com.azure:azure-core-http-netty:jar:1.15.5:compile [INFO] | | | | +- io.netty:netty-transport-native-kqueue:jar:osx-x86_64:4.1.115.Final:compile [INFO] | | | | | \- io.netty:netty-transport-classes-kqueue:jar:4.1.115.Final:compile [INFO] | | | | \- io.netty:netty-tcnative-boringssl-static:jar:2.0.69.Final:compile [INFO] | | | | +- io.netty:netty-tcnative-classes:jar:2.0.69.Final:compile [INFO] | | | | +- io.netty:netty-tcnative-boringssl-static:jar:linux-x86_64:2.0.69.Final:compile [INFO] | | | | +- io.netty:netty-tcnative-boringssl-static:jar:linux-aarch_64:2.0.69.Final:compile [INFO] | | | | +- io.netty:netty-tcnative-boringssl-static:jar:osx-x86_64:2.0.69.Final:compile [INFO] | | | | +- io.netty:netty-tcnative-boringssl-static:jar:osx-aarch_64:2.0.69.Final:compile [INFO] | | | | \- io.netty:netty-tcnative-boringssl-static:jar:windows-x86_64:2.0.69.Final:compile ```
Steps to Reproduce:
spring-cloud-azure-starter-active-directory
dependency to the project.Expected Behavior:
The build should complete without errors.
System Info