JakubDziworski/Enkel-JVM-language

Maven error

Rdna123 opened this issue · 1 comments

windows 10
mvn 3.6.3
platform encoding: Cp1252

> mvn clean package
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.kuba.dziworski:compiler:jar:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ com.kuba.dziworski:enkel:1.0-SNAPSHOT, C:\Java\Enkel-JVM
-language\pom.xml, line 126, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.kuba.dziworski:antlr:jar:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ com.kuba.dziworski:enkel:1.0-SNAPSHOT, C:\Java\Enkel-JVM
-language\pom.xml, line 126, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.kuba.dziworski:enkel:pom:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 126, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] enkel                                                              [pom]
[INFO] antlr                                                              [jar]
[INFO] compiler                                                           [jar]
[INFO]
[INFO] ----------------------< com.kuba.dziworski:enkel >----------------------
[INFO] Building enkel 1.0-SNAPSHOT                                        [1/3]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ enkel ---
[INFO] Deleting C:\Java\Enkel-JVM-language\target
[INFO]
[INFO] --- gmavenplus-plugin:1.4:compile (default) @ enkel ---
[INFO] No sources specified for compilation.  Skipping.
[INFO]
[INFO] --- gmavenplus-plugin:1.4:testCompile (default) @ enkel ---
[INFO] No sources specified for compilation.  Skipping.
[INFO]
[INFO] --- maven-assembly-plugin:2.4:single (make-assembly) @ enkel ---
[WARNING] Cannot include project artifact: com.kuba.dziworski:enkel:pom:1.0-SNAPSHOT; it doesn't have an associated file or directory.
[INFO] Building jar: C:\Java\Enkel-JVM-language\target\enkel-1.0-SNAPSHOT-jar-with-dependencies.jar
[INFO]
[INFO] ----------------------< com.kuba.dziworski:antlr >----------------------
[INFO] Building antlr 1.0-SNAPSHOT                                        [2/3]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ antlr ---
[INFO] Deleting C\Java\Enkel-JVM-language\antlr\target
[INFO]
[INFO] --- antlr4-maven-plugin:4.3:antlr4 (default) @ antlr ---
[INFO] ANTLR 4: Processing source directory C:\Java\Enkel-JVM-language\antlr\src\main\antlr4
[INFO] Processing grammar: com.kubadziworski.antlr\Enkel.g4
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ antlr ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\Java\Enkel-JVM-language\antlr\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ antlr ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 4 source files to C:\Java\Enkel-JVM-language\antlr\target\classes
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by lombok.javac.apt.LombokProcessor to field com.sun.tools.javac.processing.JavacProcessingEnvironment.processorClassLoader
WARNING: Please consider reporting this to the maintainers of lombok.javac.apt.LombokProcessor
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for enkel 1.0-SNAPSHOT:
[INFO]
[INFO] enkel .............................................. SUCCESS [  4.689 s]
[INFO] antlr .............................................. FAILURE [  2.088 s]
[INFO] compiler ........................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  6.977 s
[INFO] Finished at: 2020-12-20T23:24:03-08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project antlr: Fatal error compiling: java.lang.ExceptionInInitializerE
rror: com.sun.tools.javac.code.TypeTags -> [Help 1]
[ERROR]
[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]
[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]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :antlr

Compiling requires Java 8. Updates readme.