You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For projects that contain multiple dependencies of the same maven artifact with different classifiers (or a dependency for which this applies), the production build fails with an IllegalStateException.
Example:
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:compil
e and io.netty:netty-tcnative-boringssl-static:jar:linux-x86_64:2.0.69.Final:compile)
[...]
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)
Description of the bug
For projects that contain multiple dependencies of the same maven artifact with different classifiers (or a dependency for which this applies), the production build fails with an IllegalStateException.
Example:
Expected behavior
Production build runs successfully
Minimal reproducible example
io.netty:netty-tcnative-boringssl-static
mvn -Pproduction install
The error is
Versions
The text was updated successfully, but these errors were encountered: