takari / polyglot-maven

Support alternative markup for Apache Maven POM files
Eclipse Public License 1.0
893 stars 101 forks source link

ClassNotFoundException: org.apache.commons.lang3.StringEscapeUtils #262

Closed YunaBraska closed 2 months ago

YunaBraska commented 1 year ago

Looks like a dependency is missing in the translator?

Command:

mvn io.takari.polyglot:polyglot-translate-plugin:translate -Dinput=pom.xml -Doutput=pom.kts

Log:

mvn io.takari.polyglot:polyglot-translate-plugin:translate -Dinput=pom.xml -Doutput=pom.kts
[INFO] Scanning for projects...
[INFO] 
[INFO] -------------------< berlin.yuna:simple-spring-boot >-------------------
[INFO] Building TestApplication 0.0.1
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- polyglot-translate:0.4.10:translate (default-cli) @ simple-spring-boot ---
[INFO] Translating /Users/yuna/projects/SpringBootNativeExample/pom.xml -> /Users/yuna/projects/SpringBootNativeExample/pom.kts
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.309 s
[INFO] Finished at: 2023-06-14T15:02:51+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.takari.polyglot:polyglot-translate-plugin:0.4.10:translate (default-cli) on project simple-spring-boot: Execution default-cli of goal io.takari.polyglot:polyglot-translate-plugin:0.4.10:translate failed: A required class was missing while executing io.takari.polyglot:polyglot-translate-plugin:0.4.10:translate: org/apache/commons/lang3/StringEscapeUtils
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>io.takari.polyglot:polyglot-translate-plugin:0.4.10
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/Users/yuna/.m2/repository/io/takari/polyglot/polyglot-translate-plugin/0.4.10/polyglot-translate-plugin-0.4.10.jar
[ERROR] urls[1] = file:/Users/yuna/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.24/plexus-utils-3.0.24.jar
[ERROR] urls[2] = file:/Users/yuna/.m2/repository/io/takari/polyglot/polyglot-common/0.4.10/polyglot-common-0.4.10.jar
[ERROR] urls[3] = file:/Users/yuna/.m2/repository/io/takari/polyglot/polyglot-ruby/0.4.10/polyglot-ruby-0.4.10.jar
[ERROR] urls[4] = file:/Users/yuna/.m2/repository/org/jruby/jruby/9.2.19.0/jruby-9.2.19.0.pom
[ERROR] urls[5] = file:/Users/yuna/.m2/repository/org/jruby/jruby-core/9.2.19.0/jruby-core-9.2.19.0.jar
[ERROR] urls[6] = file:/Users/yuna/.m2/repository/com/github/jnr/jnr-netdb/1.2.0/jnr-netdb-1.2.0.jar
[ERROR] urls[7] = file:/Users/yuna/.m2/repository/com/github/jnr/jnr-enxio/0.32.6/jnr-enxio-0.32.6.jar
[ERROR] urls[8] = file:/Users/yuna/.m2/repository/com/github/jnr/jnr-unixsocket/0.38.8/jnr-unixsocket-0.38.8.jar
[ERROR] urls[9] = file:/Users/yuna/.m2/repository/com/github/jnr/jnr-posix/3.1.7/jnr-posix-3.1.7.jar
[ERROR] urls[10] = file:/Users/yuna/.m2/repository/com/github/jnr/jnr-constants/0.10.2/jnr-constants-0.10.2.jar
[ERROR] urls[11] = file:/Users/yuna/.m2/repository/com/github/jnr/jffi/1.3.3/jffi-1.3.3.jar
[ERROR] urls[12] = file:/Users/yuna/.m2/repository/com/github/jnr/jffi/1.3.3/jffi-1.3.3-native.jar
[ERROR] urls[13] = file:/Users/yuna/.m2/repository/org/jruby/joni/joni/2.1.31/joni-2.1.31.jar
[ERROR] urls[14] = file:/Users/yuna/.m2/repository/org/jruby/jcodings/jcodings/1.0.46/jcodings-1.0.46.jar
[ERROR] urls[15] = file:/Users/yuna/.m2/repository/org/jruby/dirgra/0.3/dirgra-0.3.jar
[ERROR] urls[16] = file:/Users/yuna/.m2/repository/com/headius/invokebinder/1.11/invokebinder-1.11.jar
[ERROR] urls[17] = file:/Users/yuna/.m2/repository/com/headius/options/1.4/options-1.4.jar
[ERROR] urls[18] = file:/Users/yuna/.m2/repository/com/jcraft/jzlib/1.1.3/jzlib-1.1.3.jar
[ERROR] urls[19] = file:/Users/yuna/.m2/repository/com/martiansoftware/nailgun-server/0.9.1/nailgun-server-0.9.1.jar
[ERROR] urls[20] = file:/Users/yuna/.m2/repository/joda-time/joda-time/2.10.5/joda-time-2.10.5.jar
[ERROR] urls[21] = file:/Users/yuna/.m2/repository/com/headius/backport9/1.8/backport9-1.8.jar
[ERROR] urls[22] = file:/Users/yuna/.m2/repository/org/jruby/jruby-stdlib/9.2.19.0/jruby-stdlib-9.2.19.0.jar
[ERROR] urls[23] = file:/Users/yuna/.m2/repository/io/takari/polyglot/polyglot-groovy/0.4.10/polyglot-groovy-0.4.10.jar
[ERROR] urls[24] = file:/Users/yuna/.m2/repository/org/codehaus/groovy/groovy/2.5.14/groovy-2.5.14.jar
[ERROR] urls[25] = file:/Users/yuna/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
[ERROR] urls[26] = file:/Users/yuna/.m2/repository/io/takari/polyglot/polyglot-atom/0.4.10/polyglot-atom-0.4.10.jar
[ERROR] urls[27] = file:/Users/yuna/.m2/repository/io/takari/polyglot/polyglot-scala/0.4.10/polyglot-scala-0.4.10.jar
[ERROR] urls[28] = file:/Users/yuna/.m2/repository/com/twitter/util-eval_2.11/6.43.0/util-eval_2.11-6.43.0.jar
[ERROR] urls[29] = file:/Users/yuna/.m2/repository/com/twitter/util-core_2.11/6.43.0/util-core_2.11-6.43.0.jar
[ERROR] urls[30] = file:/Users/yuna/.m2/repository/com/twitter/util-function_2.11/6.43.0/util-function_2.11-6.43.0.jar
[ERROR] urls[31] = file:/Users/yuna/.m2/repository/com/googlecode/kiama/kiama_2.11/1.8.0/kiama_2.11-1.8.0.jar
[ERROR] urls[32] = file:/Users/yuna/.m2/repository/com/google/code/findbugs/jsr305/2.0.3/jsr305-2.0.3.jar
[ERROR] urls[33] = file:/Users/yuna/.m2/repository/com/google/guava/guava/17.0/guava-17.0.jar
[ERROR] urls[34] = file:/Users/yuna/.m2/repository/org/bitbucket/inkytonik/dsinfo/dsinfo_2.11/0.4.0/dsinfo_2.11-0.4.0.jar
[ERROR] urls[35] = file:/Users/yuna/.m2/repository/org/bitbucket/inkytonik/dsprofile/dsprofile_2.11/0.4.0/dsprofile_2.11-0.4.0.jar
[ERROR] urls[36] = file:/Users/yuna/.m2/repository/org/rogach/scallop_2.11/0.9.5/scallop_2.11-0.9.5.jar
[ERROR] urls[37] = file:/Users/yuna/.m2/repository/jline/jline/2.12/jline-2.12.jar
[ERROR] urls[38] = file:/Users/yuna/.m2/repository/org/scala-lang/modules/scala-parser-combinators_2.11/1.0.2/scala-parser-combinators_2.11-1.0.2.jar
[ERROR] urls[39] = file:/Users/yuna/.m2/repository/org/scala-lang/scala-library/2.11.12/scala-library-2.11.12.jar
[ERROR] urls[40] = file:/Users/yuna/.m2/repository/org/scala-lang/scala-reflect/2.11.12/scala-reflect-2.11.12.jar
[ERROR] urls[41] = file:/Users/yuna/.m2/repository/org/scala-lang/scala-compiler/2.11.12/scala-compiler-2.11.12.jar
[ERROR] urls[42] = file:/Users/yuna/.m2/repository/org/scala-lang/modules/scala-xml_2.11/1.0.5/scala-xml_2.11-1.0.5.jar
[ERROR] urls[43] = file:/Users/yuna/.m2/repository/io/takari/polyglot/polyglot-yaml/0.4.10/polyglot-yaml-0.4.10.jar
[ERROR] urls[44] = file:/Users/yuna/.m2/repository/org/yaml/snakeyaml/1.17/snakeyaml-1.17.jar
[ERROR] urls[45] = file:/Users/yuna/.m2/repository/io/takari/polyglot/polyglot-xml/0.4.10/polyglot-xml-0.4.10.jar
[ERROR] urls[46] = file:/Users/yuna/.m2/repository/io/takari/polyglot/polyglot-java/0.4.10/polyglot-java-0.4.10.jar
[ERROR] urls[47] = file:/Users/yuna/.m2/repository/commons-io/commons-io/2.7/commons-io-2.7.jar
[ERROR] urls[48] = file:/Users/yuna/.m2/repository/commons-beanutils/commons-beanutils/1.9.4/commons-beanutils-1.9.4.jar
[ERROR] urls[49] = file:/Users/yuna/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar
[ERROR] urls[50] = file:/Users/yuna/.m2/repository/io/takari/polyglot/polyglot-kotlin/0.4.10/polyglot-kotlin-0.4.10.jar
[ERROR] urls[51] = file:/Users/yuna/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.4.10/kotlin-stdlib-jdk8-1.4.10.jar
[ERROR] urls[52] = file:/Users/yuna/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib/1.4.10/kotlin-stdlib-1.4.10.jar
[ERROR] urls[53] = file:/Users/yuna/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib-common/1.4.10/kotlin-stdlib-common-1.4.10.jar
[ERROR] urls[54] = file:/Users/yuna/.m2/repository/org/jetbrains/annotations/13.0/annotations-13.0.jar
[ERROR] urls[55] = file:/Users/yuna/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib-jdk7/1.4.10/kotlin-stdlib-jdk7-1.4.10.jar
[ERROR] urls[56] = file:/Users/yuna/.m2/repository/org/jetbrains/kotlin/kotlin-script-util/1.4.10/kotlin-script-util-1.4.10.jar
[ERROR] urls[57] = file:/Users/yuna/.m2/repository/org/jetbrains/kotlin/kotlin-script-runtime/1.4.10/kotlin-script-runtime-1.4.10.jar
[ERROR] urls[58] = file:/Users/yuna/.m2/repository/org/jetbrains/kotlin/kotlin-scripting-jvm/1.4.10/kotlin-scripting-jvm-1.4.10.jar
[ERROR] urls[59] = file:/Users/yuna/.m2/repository/org/jetbrains/intellij/deps/trove4j/1.0.20181211/trove4j-1.0.20181211.jar
[ERROR] urls[60] = file:/Users/yuna/.m2/repository/org/jetbrains/kotlin/kotlin-daemon-client/1.4.10/kotlin-daemon-client-1.4.10.jar
[ERROR] urls[61] = file:/Users/yuna/.m2/repository/org/jetbrains/kotlin/kotlin-reflect/1.4.10/kotlin-reflect-1.4.10.jar
[ERROR] urls[62] = file:/Users/yuna/.m2/repository/org/jetbrains/kotlinx/kotlinx-coroutines-core/1.3.7/kotlinx-coroutines-core-1.3.7.jar
[ERROR] urls[63] = file:/Users/yuna/.m2/repository/org/jetbrains/kotlin/kotlin-scripting-jvm-host/1.4.10/kotlin-scripting-jvm-host-1.4.10.jar
[ERROR] urls[64] = file:/Users/yuna/.m2/repository/org/jetbrains/kotlin/kotlin-scripting-common/1.4.10/kotlin-scripting-common-1.4.10.jar
[ERROR] urls[65] = file:/Users/yuna/.m2/repository/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.4.10/kotlin-compiler-embeddable-1.4.10.jar
[ERROR] urls[66] = file:/Users/yuna/.m2/repository/org/jetbrains/kotlin/kotlin-daemon-embeddable/1.4.10/kotlin-daemon-embeddable-1.4.10.jar
[ERROR] urls[67] = file:/Users/yuna/.m2/repository/org/jetbrains/kotlin/kotlin-scripting-compiler-embeddable/1.4.10/kotlin-scripting-compiler-embeddable-1.4.10.jar
[ERROR] urls[68] = file:/Users/yuna/.m2/repository/org/jetbrains/kotlin/kotlin-scripting-compiler-impl-embeddable/1.4.10/kotlin-scripting-compiler-impl-embeddable-1.4.10.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]

at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:150)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:342)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:330)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:175)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:76)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:163)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:160)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:827)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:272)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:195)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    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)
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringEscapeUtils
    at org.sonatype.maven.polyglot.kotlin.dsl.DSLSupportKt.escape (DSLSupport.kt:42)
    at org.sonatype.maven.polyglot.kotlin.serialization.KotlinScriptWriter.singleQuotedString (KotlinScriptWriter.kt:166)
    at org.sonatype.maven.polyglot.kotlin.serialization.KotlinScriptWriter.arguments (KotlinScriptWriter.kt:249)
    at org.sonatype.maven.polyglot.kotlin.serialization.KotlinScriptWriter$block$1.invoke (KotlinScriptWriter.kt:135)
    at org.sonatype.maven.polyglot.kotlin.serialization.KotlinScriptWriter$block$1.invoke (KotlinScriptWriter.kt:9)
    at org.sonatype.maven.polyglot.kotlin.serialization.KotlinScriptWriter.function (KotlinScriptWriter.kt:298)
    at org.sonatype.maven.polyglot.kotlin.serialization.KotlinScriptWriter.block (KotlinScriptWriter.kt:130)
    at org.sonatype.maven.polyglot.kotlin.serialization.KotlinScriptWriter.block (KotlinScriptWriter.kt:104)
    at org.sonatype.maven.polyglot.kotlin.serialization.ModelScriptWriter.write (ModelScriptWriter.kt:150)
    at org.sonatype.maven.polyglot.kotlin.KotlinModelWriter.write (KotlinModelWriter.kt:28)
    at org.sonatype.maven.polyglot.io.ModelWriterSupport.write (ModelWriterSupport.java:47)
    at org.sonatype.maven.polyglot.io.ModelWriterSupport.write (ModelWriterSupport.java:36)
    at org.sonatype.maven.polyglot.TeslaModelTranslator.translate (TeslaModelTranslator.java:70)
    at org.sonatype.maven.polyglot.TeslaModelTranslator.translate (TeslaModelTranslator.java:56)
    at io.takari.maven.polyglot.TranslatorMojo.execute (TranslatorMojo.java:51)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:342)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:330)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:175)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:76)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:163)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:160)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:827)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:272)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:195)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    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)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang3.StringEscapeUtils
    at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass (SelfFirstStrategy.java:50)
    at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass (ClassRealm.java:271)
    at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass (ClassRealm.java:247)
    at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass (ClassRealm.java:239)
    at org.sonatype.maven.polyglot.kotlin.dsl.DSLSupportKt.escape (DSLSupport.kt:42)
    at org.sonatype.maven.polyglot.kotlin.serialization.KotlinScriptWriter.singleQuotedString (KotlinScriptWriter.kt:166)
    at org.sonatype.maven.polyglot.kotlin.serialization.KotlinScriptWriter.arguments (KotlinScriptWriter.kt:249)
    at org.sonatype.maven.polyglot.kotlin.serialization.KotlinScriptWriter$block$1.invoke (KotlinScriptWriter.kt:135)
    at org.sonatype.maven.polyglot.kotlin.serialization.KotlinScriptWriter$block$1.invoke (KotlinScriptWriter.kt:9)
    at org.sonatype.maven.polyglot.kotlin.serialization.KotlinScriptWriter.function (KotlinScriptWriter.kt:298)
    at org.sonatype.maven.polyglot.kotlin.serialization.KotlinScriptWriter.block (KotlinScriptWriter.kt:130)
    at org.sonatype.maven.polyglot.kotlin.serialization.KotlinScriptWriter.block (KotlinScriptWriter.kt:104)
    at org.sonatype.maven.polyglot.kotlin.serialization.ModelScriptWriter.write (ModelScriptWriter.kt:150)
    at org.sonatype.maven.polyglot.kotlin.KotlinModelWriter.write (KotlinModelWriter.kt:28)
    at org.sonatype.maven.polyglot.io.ModelWriterSupport.write (ModelWriterSupport.java:47)
    at org.sonatype.maven.polyglot.io.ModelWriterSupport.write (ModelWriterSupport.java:36)
    at org.sonatype.maven.polyglot.TeslaModelTranslator.translate (TeslaModelTranslator.java:70)
    at org.sonatype.maven.polyglot.TeslaModelTranslator.translate (TeslaModelTranslator.java:56)
    at io.takari.maven.polyglot.TranslatorMojo.execute (TranslatorMojo.java:51)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:342)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:330)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:175)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:76)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:163)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:160)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:827)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:272)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:195)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    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)
cstamas commented 2 months ago

Fixed in 0.7.2 with https://github.com/takari/polyglot-maven/pull/322