Closed sfuhrm closed 1 year ago
Hi. Do you think you could suggest a PR?
Could you list the full exception message?
Hi,
this is the error stuff I could retrieve from maven (3.9.5):
[ERROR] Failed to execute goal com.helger.maven:ph-javacc-maven-plugin:4.1.5:jjdoc (grammar) on project netconfigbuilder: Execution grammar of goal com.helger.maven:ph-javacc-maven-plugin:4.1.5:jjdoc failed: An API incompatibility was encountered while executing com.helger.maven:ph-javacc-maven-plugin:4.1.5:jjdoc: java.lang.ExceptionInInitializerError: null
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>com.helger.maven:ph-javacc-maven-plugin:4.1.5
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/home/stephan/.m2/repository/com/helger/maven/ph-javacc-maven-plugin/4.1.5/ph-javacc-maven-plugin-4.1.5.jar
[ERROR] urls[1] = file:/home/stephan/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.4/plexus-component-annotations-1.5.4.jar
[ERROR] urls[2] = file:/home/stephan/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
[ERROR] urls[3] = file:/home/stephan/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
[ERROR] urls[4] = file:/home/stephan/.m2/repository/org/apache/maven/reporting/maven-reporting-api/3.0/maven-reporting-api-3.0.jar
[ERROR] urls[5] = file:/home/stephan/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.7/doxia-sink-api-1.7.jar
[ERROR] urls[6] = file:/home/stephan/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.7/doxia-logging-api-1.7.jar
[ERROR] urls[7] = file:/home/stephan/.m2/repository/org/apache/maven/reporting/maven-reporting-impl/3.0.0/maven-reporting-impl-3.0.0.jar
[ERROR] urls[8] = file:/home/stephan/.m2/repository/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar
[ERROR] urls[9] = file:/home/stephan/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
[ERROR] urls[10] = file:/home/stephan/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[ERROR] urls[11] = file:/home/stephan/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] urls[12] = file:/home/stephan/.m2/repository/org/apache/maven/shared/maven-shared-utils/3.2.0/maven-shared-utils-3.2.0.jar
[ERROR] urls[13] = file:/home/stephan/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar
[ERROR] urls[14] = file:/home/stephan/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.7.4/doxia-decoration-model-1.7.4.jar
[ERROR] urls[15] = file:/home/stephan/.m2/repository/org/apache/maven/doxia/doxia-core/1.7/doxia-core-1.7.jar
[ERROR] urls[16] = file:/home/stephan/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar
[ERROR] urls[17] = file:/home/stephan/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
[ERROR] urls[18] = file:/home/stephan/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
[ERROR] urls[19] = file:/home/stephan/.m2/repository/org/apache/httpcomponents/httpclient/4.0.2/httpclient-4.0.2.jar
[ERROR] urls[20] = file:/home/stephan/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
[ERROR] urls[21] = file:/home/stephan/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar
[ERROR] urls[22] = file:/home/stephan/.m2/repository/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1.jar
[ERROR] urls[23] = file:/home/stephan/.m2/repository/xmlunit/xmlunit/1.5/xmlunit-1.5.jar
[ERROR] urls[24] = file:/home/stephan/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.7.4/doxia-site-renderer-1.7.4.jar
[ERROR] urls[25] = file:/home/stephan/.m2/repository/org/apache/maven/doxia/doxia-skin-model/1.7.4/doxia-skin-model-1.7.4.jar
[ERROR] urls[26] = file:/home/stephan/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.7/doxia-module-xhtml-1.7.jar
[ERROR] urls[27] = file:/home/stephan/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
[ERROR] urls[28] = file:/home/stephan/.m2/repository/org/codehaus/plexus/plexus-velocity/1.2/plexus-velocity-1.2.jar
[ERROR] urls[29] = file:/home/stephan/.m2/repository/org/apache/velocity/velocity/1.7/velocity-1.7.jar
[ERROR] urls[30] = file:/home/stephan/.m2/repository/org/apache/velocity/velocity-tools/2.0/velocity-tools-2.0.jar
[ERROR] urls[31] = file:/home/stephan/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
[ERROR] urls[32] = file:/home/stephan/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar
[ERROR] urls[33] = file:/home/stephan/.m2/repository/commons-chain/commons-chain/1.1/commons-chain-1.1.jar
[ERROR] urls[34] = file:/home/stephan/.m2/repository/commons-validator/commons-validator/1.3.1/commons-validator-1.3.1.jar
[ERROR] urls[35] = file:/home/stephan/.m2/repository/dom4j/dom4j/1.1/dom4j-1.1.jar
[ERROR] urls[36] = file:/home/stephan/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
[ERROR] urls[37] = file:/home/stephan/.m2/repository/sslext/sslext/1.2-0/sslext-1.2-0.jar
[ERROR] urls[38] = file:/home/stephan/.m2/repository/org/apache/struts/struts-core/1.3.8/struts-core-1.3.8.jar
[ERROR] urls[39] = file:/home/stephan/.m2/repository/antlr/antlr/2.7.2/antlr-2.7.2.jar
[ERROR] urls[40] = file:/home/stephan/.m2/repository/org/apache/struts/struts-taglib/1.3.8/struts-taglib-1.3.8.jar
[ERROR] urls[41] = file:/home/stephan/.m2/repository/org/apache/struts/struts-tiles/1.3.8/struts-tiles-1.3.8.jar
[ERROR] urls[42] = file:/home/stephan/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar
[ERROR] urls[43] = file:/home/stephan/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.24/plexus-utils-3.0.24.jar
[ERROR] urls[44] = file:/home/stephan/.m2/repository/edu/ucla/cs/compilers/jtb/1.3.2/jtb-1.3.2.jar
[ERROR] urls[45] = file:/home/stephan/.m2/repository/com/helger/parser-generator-cc/1.1.4/parser-generator-cc-1.1.4.jar
[ERROR] urls[46] = file:/home/stephan/.m2/repository/com/helger/commons/ph-commons/10.1.5/ph-commons-10.1.5.jar
[ERROR] urls[47] = file:/home/stephan/.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar
[ERROR] urls[48] = file:/home/stephan/.m2/repository/com/helger/commons/ph-security/10.1.5/ph-security-10.1.5.jar
[ERROR] urls[49] = file:/home/stephan/.m2/repository/com/helger/commons/ph-xml/10.1.5/ph-xml-10.1.5.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR] : Range [0, 3) out of bounds for length 2
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.helger.maven:ph-javacc-maven-plugin:4.1.5:jjdoc (grammar) on project netconfigbuilder: Execution grammar of goal com.helger.maven:ph-javacc-maven-plugin:4.1.5:jjdoc failed: An API incompatibility was encountered while executing com.helger.maven:ph-javacc-maven-plugin:4.1.5:jjdoc: java.lang.ExceptionInInitializerError: null
-----------------------------------------------------
realm = plugin>com.helger.maven:ph-javacc-maven-plugin:4.1.5
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/home/stephan/.m2/repository/com/helger/maven/ph-javacc-maven-plugin/4.1.5/ph-javacc-maven-plugin-4.1.5.jar
urls[1] = file:/home/stephan/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.4/plexus-component-annotations-1.5.4.jar
urls[2] = file:/home/stephan/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
urls[3] = file:/home/stephan/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
urls[4] = file:/home/stephan/.m2/repository/org/apache/maven/reporting/maven-reporting-api/3.0/maven-reporting-api-3.0.jar
urls[5] = file:/home/stephan/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.7/doxia-sink-api-1.7.jar
urls[6] = file:/home/stephan/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.7/doxia-logging-api-1.7.jar
urls[7] = file:/home/stephan/.m2/repository/org/apache/maven/reporting/maven-reporting-impl/3.0.0/maven-reporting-impl-3.0.0.jar
urls[8] = file:/home/stephan/.m2/repository/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar
urls[9] = file:/home/stephan/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
urls[10] = file:/home/stephan/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
urls[11] = file:/home/stephan/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
urls[12] = file:/home/stephan/.m2/repository/org/apache/maven/shared/maven-shared-utils/3.2.0/maven-shared-utils-3.2.0.jar
urls[13] = file:/home/stephan/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar
urls[14] = file:/home/stephan/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.7.4/doxia-decoration-model-1.7.4.jar
urls[15] = file:/home/stephan/.m2/repository/org/apache/maven/doxia/doxia-core/1.7/doxia-core-1.7.jar
urls[16] = file:/home/stephan/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar
urls[17] = file:/home/stephan/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
urls[18] = file:/home/stephan/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
urls[19] = file:/home/stephan/.m2/repository/org/apache/httpcomponents/httpclient/4.0.2/httpclient-4.0.2.jar
urls[20] = file:/home/stephan/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
urls[21] = file:/home/stephan/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar
urls[22] = file:/home/stephan/.m2/repository/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1.jar
urls[23] = file:/home/stephan/.m2/repository/xmlunit/xmlunit/1.5/xmlunit-1.5.jar
urls[24] = file:/home/stephan/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.7.4/doxia-site-renderer-1.7.4.jar
urls[25] = file:/home/stephan/.m2/repository/org/apache/maven/doxia/doxia-skin-model/1.7.4/doxia-skin-model-1.7.4.jar
urls[26] = file:/home/stephan/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.7/doxia-module-xhtml-1.7.jar
urls[27] = file:/home/stephan/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
urls[28] = file:/home/stephan/.m2/repository/org/codehaus/plexus/plexus-velocity/1.2/plexus-velocity-1.2.jar
urls[29] = file:/home/stephan/.m2/repository/org/apache/velocity/velocity/1.7/velocity-1.7.jar
urls[30] = file:/home/stephan/.m2/repository/org/apache/velocity/velocity-tools/2.0/velocity-tools-2.0.jar
urls[31] = file:/home/stephan/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
urls[32] = file:/home/stephan/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar
urls[33] = file:/home/stephan/.m2/repository/commons-chain/commons-chain/1.1/commons-chain-1.1.jar
urls[34] = file:/home/stephan/.m2/repository/commons-validator/commons-validator/1.3.1/commons-validator-1.3.1.jar
urls[35] = file:/home/stephan/.m2/repository/dom4j/dom4j/1.1/dom4j-1.1.jar
urls[36] = file:/home/stephan/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
urls[37] = file:/home/stephan/.m2/repository/sslext/sslext/1.2-0/sslext-1.2-0.jar
urls[38] = file:/home/stephan/.m2/repository/org/apache/struts/struts-core/1.3.8/struts-core-1.3.8.jar
urls[39] = file:/home/stephan/.m2/repository/antlr/antlr/2.7.2/antlr-2.7.2.jar
urls[40] = file:/home/stephan/.m2/repository/org/apache/struts/struts-taglib/1.3.8/struts-taglib-1.3.8.jar
urls[41] = file:/home/stephan/.m2/repository/org/apache/struts/struts-tiles/1.3.8/struts-tiles-1.3.8.jar
urls[42] = file:/home/stephan/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar
urls[43] = file:/home/stephan/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.24/plexus-utils-3.0.24.jar
urls[44] = file:/home/stephan/.m2/repository/edu/ucla/cs/compilers/jtb/1.3.2/jtb-1.3.2.jar
urls[45] = file:/home/stephan/.m2/repository/com/helger/parser-generator-cc/1.1.4/parser-generator-cc-1.1.4.jar
urls[46] = file:/home/stephan/.m2/repository/com/helger/commons/ph-commons/10.1.5/ph-commons-10.1.5.jar
urls[47] = file:/home/stephan/.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar
urls[48] = file:/home/stephan/.m2/repository/com/helger/commons/ph-security/10.1.5/ph-security-10.1.5.jar
urls[49] = file:/home/stephan/.m2/repository/com/helger/commons/ph-xml/10.1.5/ph-xml-10.1.5.jar
Number of foreign imports: 1
import: Entry[import from realm ClassRealm[maven.api, parent: null]]
-----------------------------------------------------
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
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:906)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
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:283)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution grammar of goal com.helger.maven:ph-javacc-maven-plugin:4.1.5:jjdoc failed: An API incompatibility was encountered while executing com.helger.maven:ph-javacc-maven-plugin:4.1.5:jjdoc: java.lang.ExceptionInInitializerError: null
-----------------------------------------------------
realm = plugin>com.helger.maven:ph-javacc-maven-plugin:4.1.5
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/home/stephan/.m2/repository/com/helger/maven/ph-javacc-maven-plugin/4.1.5/ph-javacc-maven-plugin-4.1.5.jar
urls[1] = file:/home/stephan/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.4/plexus-component-annotations-1.5.4.jar
urls[2] = file:/home/stephan/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
urls[3] = file:/home/stephan/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
urls[4] = file:/home/stephan/.m2/repository/org/apache/maven/reporting/maven-reporting-api/3.0/maven-reporting-api-3.0.jar
urls[5] = file:/home/stephan/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.7/doxia-sink-api-1.7.jar
urls[6] = file:/home/stephan/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.7/doxia-logging-api-1.7.jar
urls[7] = file:/home/stephan/.m2/repository/org/apache/maven/reporting/maven-reporting-impl/3.0.0/maven-reporting-impl-3.0.0.jar
urls[8] = file:/home/stephan/.m2/repository/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar
urls[9] = file:/home/stephan/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
urls[10] = file:/home/stephan/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
urls[11] = file:/home/stephan/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
urls[12] = file:/home/stephan/.m2/repository/org/apache/maven/shared/maven-shared-utils/3.2.0/maven-shared-utils-3.2.0.jar
urls[13] = file:/home/stephan/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar
urls[14] = file:/home/stephan/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.7.4/doxia-decoration-model-1.7.4.jar
urls[15] = file:/home/stephan/.m2/repository/org/apache/maven/doxia/doxia-core/1.7/doxia-core-1.7.jar
urls[16] = file:/home/stephan/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar
urls[17] = file:/home/stephan/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
urls[18] = file:/home/stephan/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
urls[19] = file:/home/stephan/.m2/repository/org/apache/httpcomponents/httpclient/4.0.2/httpclient-4.0.2.jar
urls[20] = file:/home/stephan/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
urls[21] = file:/home/stephan/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar
urls[22] = file:/home/stephan/.m2/repository/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1.jar
urls[23] = file:/home/stephan/.m2/repository/xmlunit/xmlunit/1.5/xmlunit-1.5.jar
urls[24] = file:/home/stephan/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.7.4/doxia-site-renderer-1.7.4.jar
urls[25] = file:/home/stephan/.m2/repository/org/apache/maven/doxia/doxia-skin-model/1.7.4/doxia-skin-model-1.7.4.jar
urls[26] = file:/home/stephan/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.7/doxia-module-xhtml-1.7.jar
urls[27] = file:/home/stephan/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
urls[28] = file:/home/stephan/.m2/repository/org/codehaus/plexus/plexus-velocity/1.2/plexus-velocity-1.2.jar
urls[29] = file:/home/stephan/.m2/repository/org/apache/velocity/velocity/1.7/velocity-1.7.jar
urls[30] = file:/home/stephan/.m2/repository/org/apache/velocity/velocity-tools/2.0/velocity-tools-2.0.jar
urls[31] = file:/home/stephan/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
urls[32] = file:/home/stephan/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar
urls[33] = file:/home/stephan/.m2/repository/commons-chain/commons-chain/1.1/commons-chain-1.1.jar
urls[34] = file:/home/stephan/.m2/repository/commons-validator/commons-validator/1.3.1/commons-validator-1.3.1.jar
urls[35] = file:/home/stephan/.m2/repository/dom4j/dom4j/1.1/dom4j-1.1.jar
urls[36] = file:/home/stephan/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
urls[37] = file:/home/stephan/.m2/repository/sslext/sslext/1.2-0/sslext-1.2-0.jar
urls[38] = file:/home/stephan/.m2/repository/org/apache/struts/struts-core/1.3.8/struts-core-1.3.8.jar
urls[39] = file:/home/stephan/.m2/repository/antlr/antlr/2.7.2/antlr-2.7.2.jar
urls[40] = file:/home/stephan/.m2/repository/org/apache/struts/struts-taglib/1.3.8/struts-taglib-1.3.8.jar
urls[41] = file:/home/stephan/.m2/repository/org/apache/struts/struts-tiles/1.3.8/struts-tiles-1.3.8.jar
urls[42] = file:/home/stephan/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar
urls[43] = file:/home/stephan/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.24/plexus-utils-3.0.24.jar
urls[44] = file:/home/stephan/.m2/repository/edu/ucla/cs/compilers/jtb/1.3.2/jtb-1.3.2.jar
urls[45] = file:/home/stephan/.m2/repository/com/helger/parser-generator-cc/1.1.4/parser-generator-cc-1.1.4.jar
urls[46] = file:/home/stephan/.m2/repository/com/helger/commons/ph-commons/10.1.5/ph-commons-10.1.5.jar
urls[47] = file:/home/stephan/.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar
urls[48] = file:/home/stephan/.m2/repository/com/helger/commons/ph-security/10.1.5/ph-security-10.1.5.jar
urls[49] = file:/home/stephan/.m2/repository/com/helger/commons/ph-xml/10.1.5/ph-xml-10.1.5.jar
Number of foreign imports: 1
import: Entry[import from realm ClassRealm[maven.api, parent: null]]
-----------------------------------------------------
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:165)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
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:906)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
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:283)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
Caused by: org.apache.maven.plugin.PluginContainerException: An API incompatibility was encountered while executing com.helger.maven:ph-javacc-maven-plugin:4.1.5:jjdoc: java.lang.ExceptionInInitializerError: null
-----------------------------------------------------
realm = plugin>com.helger.maven:ph-javacc-maven-plugin:4.1.5
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/home/stephan/.m2/repository/com/helger/maven/ph-javacc-maven-plugin/4.1.5/ph-javacc-maven-plugin-4.1.5.jar
urls[1] = file:/home/stephan/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.4/plexus-component-annotations-1.5.4.jar
urls[2] = file:/home/stephan/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
urls[3] = file:/home/stephan/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
urls[4] = file:/home/stephan/.m2/repository/org/apache/maven/reporting/maven-reporting-api/3.0/maven-reporting-api-3.0.jar
urls[5] = file:/home/stephan/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.7/doxia-sink-api-1.7.jar
urls[6] = file:/home/stephan/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.7/doxia-logging-api-1.7.jar
urls[7] = file:/home/stephan/.m2/repository/org/apache/maven/reporting/maven-reporting-impl/3.0.0/maven-reporting-impl-3.0.0.jar
urls[8] = file:/home/stephan/.m2/repository/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar
urls[9] = file:/home/stephan/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
urls[10] = file:/home/stephan/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
urls[11] = file:/home/stephan/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
urls[12] = file:/home/stephan/.m2/repository/org/apache/maven/shared/maven-shared-utils/3.2.0/maven-shared-utils-3.2.0.jar
urls[13] = file:/home/stephan/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar
urls[14] = file:/home/stephan/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.7.4/doxia-decoration-model-1.7.4.jar
urls[15] = file:/home/stephan/.m2/repository/org/apache/maven/doxia/doxia-core/1.7/doxia-core-1.7.jar
urls[16] = file:/home/stephan/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar
urls[17] = file:/home/stephan/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
urls[18] = file:/home/stephan/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
urls[19] = file:/home/stephan/.m2/repository/org/apache/httpcomponents/httpclient/4.0.2/httpclient-4.0.2.jar
urls[20] = file:/home/stephan/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
urls[21] = file:/home/stephan/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar
urls[22] = file:/home/stephan/.m2/repository/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1.jar
urls[23] = file:/home/stephan/.m2/repository/xmlunit/xmlunit/1.5/xmlunit-1.5.jar
urls[24] = file:/home/stephan/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.7.4/doxia-site-renderer-1.7.4.jar
urls[25] = file:/home/stephan/.m2/repository/org/apache/maven/doxia/doxia-skin-model/1.7.4/doxia-skin-model-1.7.4.jar
urls[26] = file:/home/stephan/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.7/doxia-module-xhtml-1.7.jar
urls[27] = file:/home/stephan/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
urls[28] = file:/home/stephan/.m2/repository/org/codehaus/plexus/plexus-velocity/1.2/plexus-velocity-1.2.jar
urls[29] = file:/home/stephan/.m2/repository/org/apache/velocity/velocity/1.7/velocity-1.7.jar
urls[30] = file:/home/stephan/.m2/repository/org/apache/velocity/velocity-tools/2.0/velocity-tools-2.0.jar
urls[31] = file:/home/stephan/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
urls[32] = file:/home/stephan/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar
urls[33] = file:/home/stephan/.m2/repository/commons-chain/commons-chain/1.1/commons-chain-1.1.jar
urls[34] = file:/home/stephan/.m2/repository/commons-validator/commons-validator/1.3.1/commons-validator-1.3.1.jar
urls[35] = file:/home/stephan/.m2/repository/dom4j/dom4j/1.1/dom4j-1.1.jar
urls[36] = file:/home/stephan/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
urls[37] = file:/home/stephan/.m2/repository/sslext/sslext/1.2-0/sslext-1.2-0.jar
urls[38] = file:/home/stephan/.m2/repository/org/apache/struts/struts-core/1.3.8/struts-core-1.3.8.jar
urls[39] = file:/home/stephan/.m2/repository/antlr/antlr/2.7.2/antlr-2.7.2.jar
urls[40] = file:/home/stephan/.m2/repository/org/apache/struts/struts-taglib/1.3.8/struts-taglib-1.3.8.jar
urls[41] = file:/home/stephan/.m2/repository/org/apache/struts/struts-tiles/1.3.8/struts-tiles-1.3.8.jar
urls[42] = file:/home/stephan/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar
urls[43] = file:/home/stephan/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.24/plexus-utils-3.0.24.jar
urls[44] = file:/home/stephan/.m2/repository/edu/ucla/cs/compilers/jtb/1.3.2/jtb-1.3.2.jar
urls[45] = file:/home/stephan/.m2/repository/com/helger/parser-generator-cc/1.1.4/parser-generator-cc-1.1.4.jar
urls[46] = file:/home/stephan/.m2/repository/com/helger/commons/ph-commons/10.1.5/ph-commons-10.1.5.jar
urls[47] = file:/home/stephan/.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar
urls[48] = file:/home/stephan/.m2/repository/com/helger/commons/ph-security/10.1.5/ph-security-10.1.5.jar
urls[49] = file:/home/stephan/.m2/repository/com/helger/commons/ph-xml/10.1.5/ph-xml-10.1.5.jar
Number of foreign imports: 1
import: Entry[import from realm ClassRealm[maven.api, parent: null]]
-----------------------------------------------------
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:163)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
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:906)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
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:283)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
Caused by: java.lang.ExceptionInInitializerError
at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.generateDocument (DefaultSiteRenderer.java:732)
at org.apache.maven.reporting.AbstractMavenReport.execute (AbstractMavenReport.java:154)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
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:906)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
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:283)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
Caused by: java.lang.StringIndexOutOfBoundsException: Range [0, 3) out of bounds for length 2
at jdk.internal.util.Preconditions$1.apply (Preconditions.java:55)
at jdk.internal.util.Preconditions$1.apply (Preconditions.java:52)
at jdk.internal.util.Preconditions$4.apply (Preconditions.java:213)
at jdk.internal.util.Preconditions$4.apply (Preconditions.java:210)
at jdk.internal.util.Preconditions.outOfBounds (Preconditions.java:98)
at jdk.internal.util.Preconditions.outOfBoundsCheckFromToIndex (Preconditions.java:112)
at jdk.internal.util.Preconditions.checkFromToIndex (Preconditions.java:349)
at java.lang.String.checkBoundsBeginEnd (String.java:4861)
at java.lang.String.substring (String.java:2830)
at org.apache.commons.lang.SystemUtils.getJavaVersionAsFloat (SystemUtils.java:1133)
at org.apache.commons.lang.SystemUtils.<clinit> (SystemUtils.java:818)
at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.generateDocument (DefaultSiteRenderer.java:732)
at org.apache.maven.reporting.AbstractMavenReport.execute (AbstractMavenReport.java:154)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
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:906)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
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:283)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
[ERROR]
[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/PluginContainerException
to me it looks like org.apache.commons.lang.SystemUtils.getJavaVersionAsFloat
is not aware of the situation that the JDK version is only having two parts.
I'll check whether I can provide a PR
Thanks for the stacktrace. It looks like upgrading commons.lang should help.
I have opened a PR for this (#21 ) Besides that I have added a the missing junit 3.8 dependency and github actions build as #20 .
Hi,
to me it looks like for JDK 21 the binding to Javac compiler has changed a bit.
A maven build using com.helger.maven:ph-javacc-maven-plugin:4.1.5 fails with:
Would be nice to get a workaround or a fix :)
Best wishes, Stephan