Some more details:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-plugin-plugin:3.6.4:descriptor
(default-descriptor) on project plc4x-maven-plugin: The API of the mojo
scanner is not compatible with this plugin version. Please check the plugin
dependencies configured in the POM and ensure the versions match.: Can't
load library: /usr/lib/jvm/java-11-openjdk-amd64/lib/libawt_xawt.so ->
[Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.apache.maven.plugins:maven-plugin-plugin:3.6.4:descriptor
(default-descriptor) on project plc4x-maven-plugin: The API of the mojo
scanner is not compatible with this plugin version. Please check the plugin
dependencies configured in the POM and ensure the versions match.
    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.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:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    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: org.apache.maven.plugin.MojoExecutionException: The API of the
mojo scanner is not compatible with this plugin version. Please check the
plugin dependencies configured in the POM and ensure the versions match.
    at org.apache.maven.plugin.plugin.AbstractGeneratorMojo.execute
(AbstractGeneratorMojo.java:334)
    at org.apache.maven.plugin.plugin.DescriptorGeneratorMojo.execute
(DescriptorGeneratorMojo.java:94)
    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.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:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    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.UnsatisfiedLinkError: Can't load library:
/usr/lib/jvm/java-11-openjdk-amd64/lib/libawt_xawt.so
    at java.lang.ClassLoader.loadLibrary (ClassLoader.java:2633)
    at java.lang.Runtime.load0 (Runtime.java:768)
    at java.lang.System.load (System.java:1837)
    at java.lang.ClassLoader$NativeLibrary.load0 (Native Method)
    at java.lang.ClassLoader$NativeLibrary.load (ClassLoader.java:2445)
    at java.lang.ClassLoader$NativeLibrary.loadLibrary
(ClassLoader.java:2501)
    at java.lang.ClassLoader.loadLibrary0 (ClassLoader.java:2700)
    at java.lang.ClassLoader.loadLibrary (ClassLoader.java:2651)
    at java.lang.Runtime.loadLibrary0 (Runtime.java:830)
    at java.lang.System.loadLibrary (System.java:1873)
    at java.awt.Toolkit$3.run (Toolkit.java:1399)
    at java.awt.Toolkit$3.run (Toolkit.java:1397)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.awt.Toolkit.loadLibraries (Toolkit.java:1396)
    at java.awt.Toolkit.<clinit> (Toolkit.java:1429)
    at sun.awt.AppContext$2.run (AppContext.java:282)
    at sun.awt.AppContext$2.run (AppContext.java:271)
    at java.security.AccessController.doPrivileged (Native Method)
    at sun.awt.AppContext.initMainAppContext (AppContext.java:271)
    at sun.awt.AppContext$3.run (AppContext.java:326)
    at sun.awt.AppContext$3.run (AppContext.java:309)
    at java.security.AccessController.doPrivileged (Native Method)
    at sun.awt.AppContext.getAppContext (AppContext.java:308)
    at javax.swing.text.html.parser.ParserDelegator.getDefaultDTD
(ParserDelegator.java:59)
    at javax.swing.text.html.parser.ParserDelegator.setDefaultDTD
(ParserDelegator.java:55)
    at javax.swing.text.html.parser.ParserDelegator.<init>
(ParserDelegator.java:109)
    at org.apache.maven.tools.plugin.generator.GeneratorUtils.toText
(GeneratorUtils.java:343)
    at org.apache.maven.tools.plugin.generator.GeneratorUtils.element
(GeneratorUtils.java:120)
    at
org.apache.maven.tools.plugin.generator.PluginDescriptorGenerator.writeDescriptor
(PluginDescriptorGenerator.java:126)
    at
org.apache.maven.tools.plugin.generator.PluginDescriptorGenerator.execute
(PluginDescriptorGenerator.java:83)
    at org.apache.maven.plugin.plugin.AbstractGeneratorMojo.execute
(AbstractGeneratorMojo.java:320)
    at org.apache.maven.plugin.plugin.DescriptorGeneratorMojo.execute
(DescriptorGeneratorMojo.java:94)
    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.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:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    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)
[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/MojoExecutionException
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <args> -rf :plc4x-maven-plugin


Am Do., 22. Sept. 2022 um 19:58 Uhr schrieb Lukas Ott <
[email protected]>:

> Can not build from source:
> [INFO] PLC4X Build Tools: Code Generation: PLC4X Maven Plugin FAILURE [
>  6.324 s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-plugin-plugin:3.6.4:descriptor
> (default-descriptor) on project plc4x-maven-plugin: The API of the mojo
> scanner is not compatible with this plugin version. Please check the plugin
> dependencies configured in the POM and ensure the versions match.: Can't
> load library: /usr/lib/jvm/java-11-openjdk-amd64/lib/libawt_xawt.so ->
> [Help 1]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [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/MojoExecutionException
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <args> -rf :plc4x-maven-plugin
>
> System:
> Distributor ID: Ubuntu
> Description: Ubuntu 22.04.1 LTS
> Release: 22.04
> Codename: jammy
>
> openjdk version "11.0.16" 2022-07-19
> OpenJDK Runtime Environment (build 11.0.16+8-post-Ubuntu-0ubuntu122.04)
> OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Ubuntu-0ubuntu122.04, mixed
> mode, sharing)
>
> Executed command: /build-tools/apache-plc4x-code-generation-1.6.0$ mvn
> install
>
> Apache Maven 3.6.3
> Maven home: /usr/share/maven
> Java version: 11.0.16, vendor: Ubuntu, runtime:
> /usr/lib/jvm/java-11-openjdk-amd64
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "5.15.0-47-generic", arch: "amd64", family:
> "unix"
>
>
> Am Do., 22. Sept. 2022 um 14:19 Uhr schrieb Christofer Dutz <
> [email protected]>:
>
>> This is the discussion thread for the corresponding VOTE thread.
>>
>> Please keep discussions in this thread to simplify the counting of votes.
>>
>> If you have to vote -1 please mention a brief description on why and then
>> take the details to this thread.
>>
>>

Reply via email to