sonar-xquery-plugin icon indicating copy to clipboard operation
sonar-xquery-plugin copied to clipboard

Trying to build XQuery3 branch for use with SonarQube 5.6.3

Open kstoltz opened this issue 4 years ago • 0 comments

Hi, I'm looking to get the XQuery3 branch up and running on an older version of SonarQube to determine what kind of work would need to be done to get an update to SonarQube 8, but I'm running into issues getting it the branch to build. Looking for any help to get the build running.

Thanks!

MVN Compile gives back the following (Maven 3.6.0, Java 1.8.0_232)

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project sonar-xquery-plugin: Compilation failure: Compilation failure: [ERROR] /Users/kstoltz/development/sonar-xquery-plugin/target/generated-sources/antlr4/org/sonar/plugins/xquery/parser/XQueryParser.java:[13,35] cannot find symbol [ERROR] symbol: class MultiChannelBaseParser [ERROR] /Users/kstoltz/development/sonar-xquery-plugin/target/generated-sources/antlr4/org/sonar/plugins/xquery/parser/XQueryParser.java:[218,9] method does not override or implement a method from a supertype [ERROR] /Users/kstoltz/development/sonar-xquery-plugin/target/generated-sources/antlr4/org/sonar/plugins/xquery/parser/XQueryParser.java:[224,9] method does not override or implement a method from a supertype [ERROR] /Users/kstoltz/development/sonar-xquery-plugin/target/generated-sources/antlr4/org/sonar/plugins/xquery/parser/XQueryParser.java:[230,9] method does not override or implement a method from a supertype [ERROR] /Users/kstoltz/development/sonar-xquery-plugin/target/generated-sources/antlr4/org/sonar/plugins/xquery/parser/XQueryParser.java:[233,9] method does not override or implement a method from a supertype [ERROR] /Users/kstoltz/development/sonar-xquery-plugin/target/generated-sources/antlr4/org/sonar/plugins/xquery/parser/XQueryParser.java:[236,9] method does not override or implement a method from a supertype [ERROR] /Users/kstoltz/development/sonar-xquery-plugin/target/generated-sources/antlr4/org/sonar/plugins/xquery/parser/XQueryParser.java:[239,9] method does not override or implement a method from a supertype [ERROR] /Users/kstoltz/development/sonar-xquery-plugin/target/generated-sources/antlr4/org/sonar/plugins/xquery/parser/XQueryParser.java:[244,17] cannot find symbol [ERROR] symbol: variable _interp [ERROR] location: class org.sonar.plugins.xquery.parser.XQueryParser [ERROR] /Users/kstoltz/development/sonar-xquery-plugin/target/generated-sources/antlr4/org/sonar/plugins/xquery/parser/XQueryParser.java:[244,50] incompatible types: org.sonar.plugins.xquery.parser.XQueryParser cannot be converted to org.antlr.v4.runtime.Parser ...

kstoltz avatar Jun 06 '20 19:06 kstoltz