antlr / antlr4

ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.
http://antlr.org
BSD 3-Clause "New" or "Revised" License
17.11k stars 3.28k forks source link

takari-lifecycle-plugin in main pom has no version explicitly set #3902

Open chris-miner opened 2 years ago

chris-miner commented 2 years ago

Please include the following information:

Pointers to suspicious code regions are also very welcome. The antlr4-maven-plugin pom makes use of the takari-lifecycle-plugin, but doesn't explicitly set a version number. According to mvn help:effective-pom the version used on my dev machine build is 2.0.7. The maven repo says there is a version 2.0.9 available since 9/7/22: https://mvnrepository.com/artifact/io.takari.maven.plugins/takari-lifecycle-plugin

Lucretia commented 2 years ago

I've been trying to build antlr4 from source and keep getting this along with failures in the testsuite, but antlr4 is not installed.


$ mvn clean
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.antlr:antlr4-maven-plugin:maven-plugin:4.11.2-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for io.takari.maven.plugins:takari-lifecycle-plugin is missing. @ line 143, column 15
[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] 
[WARNING] The project org.antlr:antlr4-master:pom:4.11.2-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[WARNING] The project org.antlr:antlr4-runtime:jar:4.11.2-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[WARNING] The project org.antlr:antlr4:jar:4.11.2-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[WARNING] The project org.antlr:antlr4-runtime-testsuite:jar:4.11.2-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[WARNING] The project org.antlr:antlr4-tool-testsuite:jar:4.11.2-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] ANTLR 4                                                            [pom]
[INFO] ANTLR 4 Runtime                                                    [jar]
[INFO] ANTLR 4 Tool                                                       [jar]
[INFO] ANTLR 4 Maven plugin                                      [maven-plugin]
[INFO] ANTLR 4 Runtime Tests (4th generation)                             [jar]
[INFO] ANTLR 4 Tool Tests                                                 [jar]
[INFO] 
[INFO] ----------------------< org.antlr:antlr4-master >-----------------------
[INFO] Building ANTLR 4 4.11.2-SNAPSHOT                                   [1/6]
[INFO] --------------------------------[ pom ]---------------------------------
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/3.1.0/maven-clean-plugin-3.1.0.pom
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/3.1.0/maven-clean-plugin-3.1.0.pom (5.2 kB at 14 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/31/maven-plugins-31.pom
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/31/maven-plugins-31.pom (10 kB at 248 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/3.1.0/maven-clean-plugin-3.1.0.jar
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/3.1.0/maven-clean-plugin-3.1.0.jar (30 kB at 517 kB/s)
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ antlr4-master ---
[INFO] 
[INFO] ----------------------< org.antlr:antlr4-runtime >----------------------
[INFO] Building ANTLR 4 Runtime 4.11.2-SNAPSHOT                           [2/6]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ antlr4-runtime ---
[INFO] 
[INFO] --------------------------< org.antlr:antlr4 >--------------------------
[INFO] Building ANTLR 4 Tool 4.11.2-SNAPSHOT                              [3/6]
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from central: https://repo.maven.apache.org/maven2/org/antlr/antlr3-maven-plugin/3.5.3/antlr3-maven-plugin-3.5.3.pom
Downloaded from central: https://repo.maven.apache.org/maven2/org/antlr/antlr3-maven-plugin/3.5.3/antlr3-maven-plugin-3.5.3.pom (10.0 kB at 284 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/antlr/antlr-master/3.5.3/antlr-master-3.5.3.pom
Downloaded from central: https://repo.maven.apache.org/maven2/org/antlr/antlr-master/3.5.3/antlr-master-3.5.3.pom (11 kB at 344 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/antlr/antlr3-maven-plugin/3.5.3/antlr3-maven-plugin-3.5.3.jar
Downloaded from central: https://repo.maven.apache.org/maven2/org/antlr/antlr3-maven-plugin/3.5.3/antlr3-maven-plugin-3.5.3.jar (16 kB at 138 kB/s)
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ antlr4 ---
[INFO] 
[INFO] -------------------< org.antlr:antlr4-maven-plugin >--------------------
[INFO] Building ANTLR 4 Maven plugin 4.11.2-SNAPSHOT                      [4/6]
[INFO] ----------------------------[ maven-plugin ]----------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ antlr4-maven-plugin ---
[INFO] 
[INFO] -----------------< org.antlr:antlr4-runtime-testsuite >-----------------
[INFO] Building ANTLR 4 Runtime Tests (4th generation) 4.11.2-SNAPSHOT    [5/6]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for ANTLR 4 4.11.2-SNAPSHOT:
[INFO] 
[INFO] ANTLR 4 ............................................ SUCCESS [  1.494 s]
[INFO] ANTLR 4 Runtime .................................... SUCCESS [  0.216 s]
[INFO] ANTLR 4 Tool ....................................... SUCCESS [  0.201 s]
[INFO] ANTLR 4 Maven plugin ............................... SUCCESS [  0.078 s]
[INFO] ANTLR 4 Runtime Tests (4th generation) ............. FAILURE [  0.039 s]
[INFO] ANTLR 4 Tool Tests ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.377 s
[INFO] Finished at: 2022-10-04T09:44:36+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.antlr:antlr4-maven-plugin:4.11.2-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact org.antlr:antlr4-maven-plugin:jar:4.11.2-SNAPSHOT -> [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/PluginResolutionException
$ mvn install -DskipTests
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.antlr:antlr4-maven-plugin:maven-plugin:4.11.2-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for io.takari.maven.plugins:takari-lifecycle-plugin is missing. @ line 143, column 15
[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] 
[WARNING] The project org.antlr:antlr4-master:pom:4.11.2-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[WARNING] The project org.antlr:antlr4-runtime:jar:4.11.2-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[WARNING] The project org.antlr:antlr4:jar:4.11.2-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[WARNING] The project org.antlr:antlr4-runtime-testsuite:jar:4.11.2-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[WARNING] The project org.antlr:antlr4-tool-testsuite:jar:4.11.2-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] ANTLR 4                                                            [pom]
[INFO] ANTLR 4 Runtime                                                    [jar]
[INFO] ANTLR 4 Tool                                                       [jar]
[INFO] ANTLR 4 Maven plugin                                      [maven-plugin]
[INFO] ANTLR 4 Runtime Tests (4th generation)                             [jar]
[INFO] ANTLR 4 Tool Tests                                                 [jar]
[INFO] 
[INFO] ----------------------< org.antlr:antlr4-master >-----------------------
[INFO] Building ANTLR 4 4.11.2-SNAPSHOT                                   [1/6]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ antlr4-master ---
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ antlr4-master ---
[INFO] Installing /home/laguest/src/mine-new/compilers/antlr4/pom.xml to /home/laguest/.m2/repository/org/antlr/antlr4-master/4.11.2-SNAPSHOT/antlr4-master-4.11.2-SNAPSHOT.pom
[INFO] 
[INFO] ----------------------< org.antlr:antlr4-runtime >----------------------
[INFO] Building ANTLR 4 Runtime 4.11.2-SNAPSHOT                           [2/6]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ antlr4-runtime ---
[INFO] 
[INFO] --- graphviz-maven-plugin:1.0:dot (default) @ antlr4-runtime ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ antlr4-runtime ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/laguest/src/mine-new/compilers/antlr4/runtime/Java/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ antlr4-runtime ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 174 source files to /home/laguest/src/mine-new/compilers/antlr4/runtime/Java/target/classes
[INFO] /home/laguest/src/mine-new/compilers/antlr4/runtime/Java/src/org/antlr/v4/runtime/tree/pattern/ParseTreePatternMatcher.java: Some input files use or override a deprecated API.
[INFO] /home/laguest/src/mine-new/compilers/antlr4/runtime/Java/src/org/antlr/v4/runtime/tree/pattern/ParseTreePatternMatcher.java: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-bundle-plugin:5.1.2:manifest (bundle-manifest) @ antlr4-runtime ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ antlr4-runtime ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/laguest/src/mine-new/compilers/antlr4/runtime/Java/test
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ antlr4-runtime ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ antlr4-runtime ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ antlr4-runtime ---
[INFO] Building jar: /home/laguest/src/mine-new/compilers/antlr4/runtime/Java/target/antlr4-runtime-4.11.2-SNAPSHOT.jar
[INFO] 
[INFO] >>> maven-source-plugin:3.2.1:jar (default) > generate-sources @ antlr4-runtime >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ antlr4-runtime ---
[INFO] 
[INFO] --- graphviz-maven-plugin:1.0:dot (default) @ antlr4-runtime ---
[INFO] 
[INFO] <<< maven-source-plugin:3.2.1:jar (default) < generate-sources @ antlr4-runtime <<<
[INFO] 
[INFO] 
[INFO] --- maven-source-plugin:3.2.1:jar (default) @ antlr4-runtime ---
[INFO] Building jar: /home/laguest/src/mine-new/compilers/antlr4/runtime/Java/target/antlr4-runtime-4.11.2-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ antlr4-runtime ---
[INFO] Installing /home/laguest/src/mine-new/compilers/antlr4/runtime/Java/target/antlr4-runtime-4.11.2-SNAPSHOT.jar to /home/laguest/.m2/repository/org/antlr/antlr4-runtime/4.11.2-SNAPSHOT/antlr4-runtime-4.11.2-SNAPSHOT.jar
[INFO] Installing /home/laguest/src/mine-new/compilers/antlr4/runtime/Java/pom.xml to /home/laguest/.m2/repository/org/antlr/antlr4-runtime/4.11.2-SNAPSHOT/antlr4-runtime-4.11.2-SNAPSHOT.pom
[INFO] Installing /home/laguest/src/mine-new/compilers/antlr4/runtime/Java/target/antlr4-runtime-4.11.2-SNAPSHOT-sources.jar to /home/laguest/.m2/repository/org/antlr/antlr4-runtime/4.11.2-SNAPSHOT/antlr4-runtime-4.11.2-SNAPSHOT-sources.jar
[INFO] 
[INFO] --------------------------< org.antlr:antlr4 >--------------------------
[INFO] Building ANTLR 4 Tool 4.11.2-SNAPSHOT                              [3/6]
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from central: https://repo.maven.apache.org/maven2/org/antlr/antlr-runtime/3.5.3/antlr-runtime-3.5.3.pom
Downloaded from central: https://repo.maven.apache.org/maven2/org/antlr/antlr-runtime/3.5.3/antlr-runtime-3.5.3.pom (2.9 kB at 9.3 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/antlr/ST4/4.3.4/ST4-4.3.4.pom
Downloaded from central: https://repo.maven.apache.org/maven2/org/antlr/ST4/4.3.4/ST4-4.3.4.pom (4.6 kB at 140 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/antlr/antlr-runtime/3.5.3/antlr-runtime-3.5.3.jar
Downloading from central: https://repo.maven.apache.org/maven2/org/antlr/ST4/4.3.4/ST4-4.3.4.jar
Downloaded from central: https://repo.maven.apache.org/maven2/org/antlr/antlr-runtime/3.5.3/antlr-runtime-3.5.3.jar (173 kB at 2.2 MB/s)
Downloaded from central: https://repo.maven.apache.org/maven2/org/antlr/ST4/4.3.4/ST4-4.3.4.jar (251 kB at 2.1 MB/s)
[INFO] 
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ antlr4 ---
[INFO] 
[INFO] --- build-helper-maven-plugin:3.2.0:add-source (default) @ antlr4 ---
[INFO] Source directory: /home/laguest/src/mine-new/compilers/antlr4/tool/target/generated-sources/antlr4-tool-codegen added.
[INFO] 
[INFO] --- antlr3-maven-plugin:3.5.3:antlr (default) @ antlr4 ---
Downloading from central: https://repo.maven.apache.org/maven2/org/antlr/antlr/3.5.3/antlr-3.5.3.pom
Downloaded from central: https://repo.maven.apache.org/maven2/org/antlr/antlr/3.5.3/antlr-3.5.3.pom (2.5 kB at 12 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/antlr/ST4/4.3.1/ST4-4.3.1.pom
Downloaded from central: https://repo.maven.apache.org/maven2/org/antlr/ST4/4.3.1/ST4-4.3.1.pom (4.9 kB at 127 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/antlr/antlr-runtime/3.5.2/antlr-runtime-3.5.2.pom
Downloaded from central: https://repo.maven.apache.org/maven2/org/antlr/antlr-runtime/3.5.2/antlr-runtime-3.5.2.pom (2.2 kB at 62 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/antlr/antlr-master/3.5.2/antlr-master-3.5.2.pom
Downloaded from central: https://repo.maven.apache.org/maven2/org/antlr/antlr-master/3.5.2/antlr-master-3.5.2.pom (12 kB at 372 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/antlr/antlr/3.5.3/antlr-3.5.3.jar
Downloading from central: https://repo.maven.apache.org/maven2/org/antlr/ST4/4.3.1/ST4-4.3.1.jar
Downloaded from central: https://repo.maven.apache.org/maven2/org/antlr/ST4/4.3.1/ST4-4.3.1.jar (251 kB at 3.9 MB/s)
Downloaded from central: https://repo.maven.apache.org/maven2/org/antlr/antlr/3.5.3/antlr-3.5.3.jar (1.2 MB at 6.4 MB/s)
[INFO] ANTLR: Processing source directory /home/laguest/src/mine-new/compilers/antlr4/tool/src
ANTLR Parser Generator  Version 3.5.3
Output file /home/laguest/src/mine-new/compilers/antlr4/tool/target/generated-sources/antlr3/org/antlr/v4/parse/ANTLRLexer.java does not exist: must build /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/parse/ANTLRLexer.g
org/antlr/v4/parse/ANTLRLexer.g
Output file /home/laguest/src/mine-new/compilers/antlr4/tool/target/generated-sources/antlr3/org/antlr/v4/parse/ANTLRParser.java does not exist: must build /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/parse/ANTLRParser.g
org/antlr/v4/parse/ANTLRParser.g
Output file /home/laguest/src/mine-new/compilers/antlr4/tool/target/generated-sources/antlr3/org/antlr/v4/parse/GrammarTreeVisitor.java does not exist: must build /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/parse/GrammarTreeVisitor.g
org/antlr/v4/parse/GrammarTreeVisitor.g
Output file /home/laguest/src/mine-new/compilers/antlr4/tool/target/generated-sources/antlr3/org/antlr/v4/codegen/SourceGenTriggers.java does not exist: must build /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/codegen/SourceGenTriggers.g
org/antlr/v4/codegen/SourceGenTriggers.g
Output file /home/laguest/src/mine-new/compilers/antlr4/tool/target/generated-sources/antlr3/org/antlr/v4/parse/BlockSetTransformer.java does not exist: must build /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/parse/BlockSetTransformer.g
org/antlr/v4/parse/BlockSetTransformer.g
Output file /home/laguest/src/mine-new/compilers/antlr4/tool/target/generated-sources/antlr3/org/antlr/v4/parse/ActionSplitter.java does not exist: must build /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/parse/ActionSplitter.g
org/antlr/v4/parse/ActionSplitter.g
Output file /home/laguest/src/mine-new/compilers/antlr4/tool/target/generated-sources/antlr3/org/antlr/v4/parse/LeftRecursiveRuleWalker.java does not exist: must build /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/parse/LeftRecursiveRuleWalker.g
org/antlr/v4/parse/LeftRecursiveRuleWalker.g
Output file /home/laguest/src/mine-new/compilers/antlr4/tool/target/generated-sources/antlr3/org/antlr/v4/parse/ATNBuilder.java does not exist: must build /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/parse/ATNBuilder.g
org/antlr/v4/parse/ATNBuilder.g
[INFO] 
[INFO] --- string-template-maven-plugin:1.1:render (default) @ antlr4 ---
Downloading from central: https://repo.maven.apache.org/maven2/org/antlr/stringtemplate/4.0.2/stringtemplate-4.0.2.pom
Downloaded from central: https://repo.maven.apache.org/maven2/org/antlr/stringtemplate/4.0.2/stringtemplate-4.0.2.pom (7.9 kB at 65 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/antlr/antlr-runtime/3.3/antlr-runtime-3.3.pom
Downloaded from central: https://repo.maven.apache.org/maven2/org/antlr/antlr-runtime/3.3/antlr-runtime-3.3.pom (4.1 kB at 127 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/antlr/antlr-master/3.3/antlr-master-3.3.pom
Downloaded from central: https://repo.maven.apache.org/maven2/org/antlr/antlr-master/3.3/antlr-master-3.3.pom (9.4 kB at 223 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/antlr/stringtemplate/3.2.1/stringtemplate-3.2.1.pom
Downloaded from central: https://repo.maven.apache.org/maven2/org/antlr/stringtemplate/3.2.1/stringtemplate-3.2.1.pom (7.5 kB at 241 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/antlr/stringtemplate/4.0.2/stringtemplate-4.0.2.jar
Downloading from central: https://repo.maven.apache.org/maven2/org/antlr/antlr-runtime/3.3/antlr-runtime-3.3.jar
Downloaded from central: https://repo.maven.apache.org/maven2/org/antlr/stringtemplate/4.0.2/stringtemplate-4.0.2.jar (226 kB at 2.8 MB/s)
Downloaded from central: https://repo.maven.apache.org/maven2/org/antlr/antlr-runtime/3.3/antlr-runtime-3.3.jar (164 kB at 1.2 MB/s)
[INFO] Unable to find the class: org.antlr.v4.unicode.UnicodeDataTemplateController.  Attempting to compile it...
[INFO] Compiling org/antlr/v4/unicode/UnicodeDataTemplateController.java...
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /home/laguest/src/mine-new/compilers/antlr4/tool/target/classes
[WARNING] /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/unicode/UnicodeDataTemplateController.java: /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/unicode/UnicodeDataTemplateController.java uses or overrides a deprecated API.
[WARNING] /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/unicode/UnicodeDataTemplateController.java: Recompile with -Xlint:deprecation for details.
[INFO] Invoking controller method: org.antlr.v4.unicode.UnicodeDataTemplateController.getProperties()
[INFO] Adding compile source root: /home/laguest/src/mine-new/compilers/antlr4/tool/target/generated-sources/tool
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ antlr4 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 18 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ antlr4 ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 240 source files to /home/laguest/src/mine-new/compilers/antlr4/tool/target/classes
[INFO] /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/unicode/UnicodeDataTemplateController.java: /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/unicode/UnicodeDataTemplateController.java uses or overrides a deprecated API.
[INFO] /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/unicode/UnicodeDataTemplateController.java: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ antlr4 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/laguest/src/mine-new/compilers/antlr4/tool/test
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ antlr4 ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ antlr4 ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ antlr4 ---
[INFO] Building jar: /home/laguest/src/mine-new/compilers/antlr4/tool/target/antlr4-4.11.2-SNAPSHOT.jar
[INFO] 
[INFO] >>> maven-source-plugin:3.2.1:jar (default) > generate-sources @ antlr4 >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ antlr4 ---
[INFO] 
[INFO] --- build-helper-maven-plugin:3.2.0:add-source (default) @ antlr4 ---
[INFO] Source directory: /home/laguest/src/mine-new/compilers/antlr4/tool/target/generated-sources/antlr4-tool-codegen added.
[INFO] 
[INFO] --- antlr3-maven-plugin:3.5.3:antlr (default) @ antlr4 ---
[INFO] ANTLR: Processing source directory /home/laguest/src/mine-new/compilers/antlr4/tool/src
ANTLR Parser Generator  Version 3.5.3
Grammar /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/parse/ANTLRLexer.g is up to date - build skipped
Grammar /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/parse/ANTLRParser.g is up to date - build skipped
Grammar /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/parse/GrammarTreeVisitor.g is up to date - build skipped
Grammar /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/codegen/SourceGenTriggers.g is up to date - build skipped
Grammar /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/parse/BlockSetTransformer.g is up to date - build skipped
Grammar /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/parse/ActionSplitter.g is up to date - build skipped
Grammar /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/parse/LeftRecursiveRuleWalker.g is up to date - build skipped
Grammar /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/parse/ATNBuilder.g is up to date - build skipped
[INFO] 
[INFO] --- string-template-maven-plugin:1.1:render (default) @ antlr4 ---
[INFO] Invoking controller method: org.antlr.v4.unicode.UnicodeDataTemplateController.getProperties()
[INFO] Adding compile source root: /home/laguest/src/mine-new/compilers/antlr4/tool/target/generated-sources/tool
[INFO] 
[INFO] <<< maven-source-plugin:3.2.1:jar (default) < generate-sources @ antlr4 <<<
[INFO] 
[INFO] 
[INFO] --- maven-source-plugin:3.2.1:jar (default) @ antlr4 ---
[INFO] Building jar: /home/laguest/src/mine-new/compilers/antlr4/tool/target/antlr4-4.11.2-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-shade-plugin:3.2.4:shade (default) @ antlr4 ---
[INFO] Including org.antlr:antlr4-runtime:jar:4.11.2-SNAPSHOT in the shaded jar.
[INFO] Including org.antlr:antlr-runtime:jar:3.5.3 in the shaded jar.
[INFO] Including org.antlr:ST4:jar:4.3.4 in the shaded jar.
[INFO] Including org.abego.treelayout:org.abego.treelayout.core:jar:1.0.3 in the shaded jar.
[INFO] Including org.glassfish:javax.json:jar:1.1.4 in the shaded jar.
[INFO] Excluding com.ibm.icu:icu4j:jar:71.1 from the shaded jar.
[WARNING] ST4-4.3.4.jar, antlr-runtime-3.5.3.jar, antlr4-4.11.2-SNAPSHOT.jar, antlr4-runtime-4.11.2-SNAPSHOT.jar, javax.json-1.1.4.jar, org.abego.treelayout.core-1.0.3.jar define 1 overlapping resource: 
[WARNING]   - META-INF/MANIFEST.MF
[WARNING] maven-shade-plugin has detected that some class files are
[WARNING] present in two or more JARs. When this happens, only one
[WARNING] single version of the class is copied to the uber jar.
[WARNING] Usually this is not harmful and you can skip these warnings,
[WARNING] otherwise try to manually exclude artifacts based on
[WARNING] mvn dependency:tree -Ddetail=true and the above output.
[WARNING] See http://maven.apache.org/plugins/maven-shade-plugin/
[INFO] Attaching shaded artifact.
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ antlr4 ---
[INFO] Installing /home/laguest/src/mine-new/compilers/antlr4/tool/target/antlr4-4.11.2-SNAPSHOT.jar to /home/laguest/.m2/repository/org/antlr/antlr4/4.11.2-SNAPSHOT/antlr4-4.11.2-SNAPSHOT.jar
[INFO] Installing /home/laguest/src/mine-new/compilers/antlr4/tool/pom.xml to /home/laguest/.m2/repository/org/antlr/antlr4/4.11.2-SNAPSHOT/antlr4-4.11.2-SNAPSHOT.pom
[INFO] Installing /home/laguest/src/mine-new/compilers/antlr4/tool/target/antlr4-4.11.2-SNAPSHOT-sources.jar to /home/laguest/.m2/repository/org/antlr/antlr4/4.11.2-SNAPSHOT/antlr4-4.11.2-SNAPSHOT-sources.jar
[INFO] Installing /home/laguest/src/mine-new/compilers/antlr4/tool/target/antlr4-4.11.2-SNAPSHOT-complete.jar to /home/laguest/.m2/repository/org/antlr/antlr4/4.11.2-SNAPSHOT/antlr4-4.11.2-SNAPSHOT-complete.jar
[INFO] 
[INFO] -------------------< org.antlr:antlr4-maven-plugin >--------------------
[INFO] Building ANTLR 4 Maven plugin 4.11.2-SNAPSHOT                      [4/6]
[INFO] ----------------------------[ maven-plugin ]----------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ antlr4-maven-plugin ---
[INFO] 
[INFO] --- maven-plugin-plugin:3.6.2:helpmojo (help-goal) @ antlr4-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo source files.
[INFO] java-javadoc mojo extractor found 0 mojo descriptor.
[INFO] bsh mojo extractor found 0 mojo descriptor.
[INFO] ant mojo extractor found 0 mojo descriptor.
[INFO] java-annotations mojo extractor found 0 mojo descriptor.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ antlr4-maven-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ antlr4-maven-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to /home/laguest/src/mine-new/compilers/antlr4/antlr4-maven-plugin/target/classes
[INFO] 
[INFO] --- maven-plugin-plugin:3.6.2:descriptor (default-descriptor) @ antlr4-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo source files.
[INFO] java-javadoc mojo extractor found 0 mojo descriptor.
[INFO] bsh mojo extractor found 0 mojo descriptor.
[INFO] ant mojo extractor found 0 mojo descriptor.
[INFO] java-annotations mojo extractor found 2 mojo descriptors.
[INFO] 
[INFO] --- maven-plugin-plugin:3.6.2:descriptor (mojo-descriptor) @ antlr4-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo source files.
[INFO] java-javadoc mojo extractor found 0 mojo descriptor.
[INFO] bsh mojo extractor found 0 mojo descriptor.
[INFO] ant mojo extractor found 0 mojo descriptor.
[INFO] java-annotations mojo extractor found 2 mojo descriptors.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ antlr4-maven-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/laguest/src/mine-new/compilers/antlr4/antlr4-maven-plugin/src/test/resources
[INFO] 
[INFO] --- takari-lifecycle-plugin:2.0.9:testProperties (testProperties) @ antlr4-maven-plugin ---
[INFO] Previous incremental build state does not exist, performing full build
[WARNING] File '/home/laguest/.m2/settings.xml' does not exist! It will be ignored.
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ antlr4-maven-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /home/laguest/src/mine-new/compilers/antlr4/antlr4-maven-plugin/target/test-classes
[INFO] /home/laguest/src/mine-new/compilers/antlr4/antlr4-maven-plugin/src/test/java/org/antlr/mojo/antlr4/Antlr4MojoTest.java: /home/laguest/src/mine-new/compilers/antlr4/antlr4-maven-plugin/src/test/java/org/antlr/mojo/antlr4/Antlr4MojoTest.java uses or overrides a deprecated API.
[INFO] /home/laguest/src/mine-new/compilers/antlr4/antlr4-maven-plugin/src/test/java/org/antlr/mojo/antlr4/Antlr4MojoTest.java: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ antlr4-maven-plugin ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ antlr4-maven-plugin ---
[INFO] Building jar: /home/laguest/src/mine-new/compilers/antlr4/antlr4-maven-plugin/target/antlr4-maven-plugin-4.11.2-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-plugin-plugin:3.6.2:addPluginArtifactMetadata (default-addPluginArtifactMetadata) @ antlr4-maven-plugin ---
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ antlr4-maven-plugin ---
[INFO] Installing /home/laguest/src/mine-new/compilers/antlr4/antlr4-maven-plugin/target/antlr4-maven-plugin-4.11.2-SNAPSHOT.jar to /home/laguest/.m2/repository/org/antlr/antlr4-maven-plugin/4.11.2-SNAPSHOT/antlr4-maven-plugin-4.11.2-SNAPSHOT.jar
[INFO] Installing /home/laguest/src/mine-new/compilers/antlr4/antlr4-maven-plugin/pom.xml to /home/laguest/.m2/repository/org/antlr/antlr4-maven-plugin/4.11.2-SNAPSHOT/antlr4-maven-plugin-4.11.2-SNAPSHOT.pom
[INFO] 
[INFO] -----------------< org.antlr:antlr4-runtime-testsuite >-----------------
[INFO] Building ANTLR 4 Runtime Tests (4th generation) 4.11.2-SNAPSHOT    [5/6]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ antlr4-runtime-testsuite ---
[INFO] 
[INFO] --- antlr4-maven-plugin:4.11.2-SNAPSHOT:antlr4 (default) @ antlr4-runtime-testsuite ---
[INFO] ANTLR 4: Processing source directory /home/laguest/src/mine-new/compilers/antlr4/runtime-testsuite/test
[INFO] Processing grammar: org/antlr/v4/test/runtime/java/api/VisitorCalc.g4
[INFO] Processing grammar: org/antlr/v4/test/runtime/java/api/VisitorBasic.g4
[INFO] Processing grammar: org/antlr/v4/test/runtime/java/api/Java.g4
[INFO] Processing grammar: org/antlr/v4/test/runtime/java/api/perf/graphemes.g4
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ antlr4-runtime-testsuite ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 372 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ antlr4-runtime-testsuite ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ antlr4-runtime-testsuite ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 62 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ antlr4-runtime-testsuite ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 78 source files to /home/laguest/src/mine-new/compilers/antlr4/runtime-testsuite/target/test-classes
[INFO] /home/laguest/src/mine-new/compilers/antlr4/runtime-testsuite/test/org/antlr/v4/test/runtime/java/api/TestTokenStream.java: Some input files use or override a deprecated API.
[INFO] /home/laguest/src/mine-new/compilers/antlr4/runtime-testsuite/test/org/antlr/v4/test/runtime/java/api/TestTokenStream.java: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ antlr4-runtime-testsuite ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ antlr4-runtime-testsuite ---
[INFO] Building jar: /home/laguest/src/mine-new/compilers/antlr4/runtime-testsuite/target/antlr4-runtime-testsuite-4.11.2-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ antlr4-runtime-testsuite ---
[INFO] Building jar: /home/laguest/src/mine-new/compilers/antlr4/runtime-testsuite/target/antlr4-runtime-testsuite-4.11.2-SNAPSHOT-tests.jar
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ antlr4-runtime-testsuite ---
[INFO] Installing /home/laguest/src/mine-new/compilers/antlr4/runtime-testsuite/target/antlr4-runtime-testsuite-4.11.2-SNAPSHOT.jar to /home/laguest/.m2/repository/org/antlr/antlr4-runtime-testsuite/4.11.2-SNAPSHOT/antlr4-runtime-testsuite-4.11.2-SNAPSHOT.jar
[INFO] Installing /home/laguest/src/mine-new/compilers/antlr4/runtime-testsuite/pom.xml to /home/laguest/.m2/repository/org/antlr/antlr4-runtime-testsuite/4.11.2-SNAPSHOT/antlr4-runtime-testsuite-4.11.2-SNAPSHOT.pom
[INFO] Installing /home/laguest/src/mine-new/compilers/antlr4/runtime-testsuite/target/antlr4-runtime-testsuite-4.11.2-SNAPSHOT-tests.jar to /home/laguest/.m2/repository/org/antlr/antlr4-runtime-testsuite/4.11.2-SNAPSHOT/antlr4-runtime-testsuite-4.11.2-SNAPSHOT-tests.jar
[INFO] 
[INFO] ------------------< org.antlr:antlr4-tool-testsuite >-------------------
[INFO] Building ANTLR 4 Tool Tests 4.11.2-SNAPSHOT                        [6/6]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ antlr4-tool-testsuite ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ antlr4-tool-testsuite ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ antlr4-tool-testsuite ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ antlr4-tool-testsuite ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 56 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ antlr4-tool-testsuite ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 52 source files to /home/laguest/src/mine-new/compilers/antlr4/tool-testsuite/target/test-classes
[INFO] /home/laguest/src/mine-new/compilers/antlr4/tool-testsuite/test/org/antlr/v4/test/tool/ToolTestUtils.java: Some input files use or override a deprecated API.
[INFO] /home/laguest/src/mine-new/compilers/antlr4/tool-testsuite/test/org/antlr/v4/test/tool/ToolTestUtils.java: Recompile with -Xlint:deprecation for details.
[INFO] /home/laguest/src/mine-new/compilers/antlr4/tool-testsuite/test/org/antlr/v4/test/tool/TestUtils.java: /home/laguest/src/mine-new/compilers/antlr4/tool-testsuite/test/org/antlr/v4/test/tool/TestUtils.java uses unchecked or unsafe operations.
[INFO] /home/laguest/src/mine-new/compilers/antlr4/tool-testsuite/test/org/antlr/v4/test/tool/TestUtils.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ antlr4-tool-testsuite ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ antlr4-tool-testsuite ---
[INFO] Building jar: /home/laguest/src/mine-new/compilers/antlr4/tool-testsuite/target/antlr4-tool-testsuite-4.11.2-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ antlr4-tool-testsuite ---
[INFO] Installing /home/laguest/src/mine-new/compilers/antlr4/tool-testsuite/target/antlr4-tool-testsuite-4.11.2-SNAPSHOT.jar to /home/laguest/.m2/repository/org/antlr/antlr4-tool-testsuite/4.11.2-SNAPSHOT/antlr4-tool-testsuite-4.11.2-SNAPSHOT.jar
[INFO] Installing /home/laguest/src/mine-new/compilers/antlr4/tool-testsuite/pom.xml to /home/laguest/.m2/repository/org/antlr/antlr4-tool-testsuite/4.11.2-SNAPSHOT/antlr4-tool-testsuite-4.11.2-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for ANTLR 4 4.11.2-SNAPSHOT:
[INFO] 
[INFO] ANTLR 4 ............................................ SUCCESS [  0.994 s]
[INFO] ANTLR 4 Runtime .................................... SUCCESS [ 10.338 s]
[INFO] ANTLR 4 Tool ....................................... SUCCESS [ 15.723 s]
[INFO] ANTLR 4 Maven plugin ............................... SUCCESS [  7.798 s]
[INFO] ANTLR 4 Runtime Tests (4th generation) ............. SUCCESS [  3.560 s]
[INFO] ANTLR 4 Tool Tests ................................. SUCCESS [  1.366 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  40.609 s
[INFO] Finished at: 2022-10-04T09:51:07+01:00
[INFO] ------------------------------------------------------------------------

$ ls ~/.m2/repository/org/antlr*
antlr                antlr4         antlr4-maven-plugin  antlr4-runtime-testsuite  antlr-master   maven-metadata-local.xml  stringtemplate
antlr3-maven-plugin  antlr4-master  antlr4-runtime       antlr4-tool-testsuite     antlr-runtime  ST4

and then with tests:

$ mvn install 
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.antlr:antlr4-maven-plugin:maven-plugin:4.11.2-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for io.takari.maven.plugins:takari-lifecycle-plugin is missing. @ line 143, column 15
[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] 
[WARNING] The project org.antlr:antlr4-master:pom:4.11.2-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[WARNING] The project org.antlr:antlr4-runtime:jar:4.11.2-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[WARNING] The project org.antlr:antlr4:jar:4.11.2-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[WARNING] The project org.antlr:antlr4-runtime-testsuite:jar:4.11.2-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[WARNING] The project org.antlr:antlr4-tool-testsuite:jar:4.11.2-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] ANTLR 4                                                            [pom]
[INFO] ANTLR 4 Runtime                                                    [jar]
[INFO] ANTLR 4 Tool                                                       [jar]
[INFO] ANTLR 4 Maven plugin                                      [maven-plugin]
[INFO] ANTLR 4 Runtime Tests (4th generation)                             [jar]
[INFO] ANTLR 4 Tool Tests                                                 [jar]
[INFO] 
[INFO] ----------------------< org.antlr:antlr4-master >-----------------------
[INFO] Building ANTLR 4 4.11.2-SNAPSHOT                                   [1/6]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ antlr4-master ---
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ antlr4-master ---
[INFO] Installing /home/laguest/src/mine-new/compilers/antlr4/pom.xml to /home/laguest/.m2/repository/org/antlr/antlr4-master/4.11.2-SNAPSHOT/antlr4-master-4.11.2-SNAPSHOT.pom
[INFO] 
[INFO] ----------------------< org.antlr:antlr4-runtime >----------------------
[INFO] Building ANTLR 4 Runtime 4.11.2-SNAPSHOT                           [2/6]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ antlr4-runtime ---
[INFO] 
[INFO] --- graphviz-maven-plugin:1.0:dot (default) @ antlr4-runtime ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ antlr4-runtime ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/laguest/src/mine-new/compilers/antlr4/runtime/Java/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ antlr4-runtime ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-bundle-plugin:5.1.2:manifest (bundle-manifest) @ antlr4-runtime ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ antlr4-runtime ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/laguest/src/mine-new/compilers/antlr4/runtime/Java/test
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ antlr4-runtime ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ antlr4-runtime ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ antlr4-runtime ---
[INFO] Building jar: /home/laguest/src/mine-new/compilers/antlr4/runtime/Java/target/antlr4-runtime-4.11.2-SNAPSHOT.jar
[INFO] 
[INFO] >>> maven-source-plugin:3.2.1:jar (default) > generate-sources @ antlr4-runtime >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ antlr4-runtime ---
[INFO] 
[INFO] --- graphviz-maven-plugin:1.0:dot (default) @ antlr4-runtime ---
[INFO] 
[INFO] <<< maven-source-plugin:3.2.1:jar (default) < generate-sources @ antlr4-runtime <<<
[INFO] 
[INFO] 
[INFO] --- maven-source-plugin:3.2.1:jar (default) @ antlr4-runtime ---
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ antlr4-runtime ---
[INFO] Installing /home/laguest/src/mine-new/compilers/antlr4/runtime/Java/target/antlr4-runtime-4.11.2-SNAPSHOT.jar to /home/laguest/.m2/repository/org/antlr/antlr4-runtime/4.11.2-SNAPSHOT/antlr4-runtime-4.11.2-SNAPSHOT.jar
[INFO] Installing /home/laguest/src/mine-new/compilers/antlr4/runtime/Java/pom.xml to /home/laguest/.m2/repository/org/antlr/antlr4-runtime/4.11.2-SNAPSHOT/antlr4-runtime-4.11.2-SNAPSHOT.pom
[INFO] Installing /home/laguest/src/mine-new/compilers/antlr4/runtime/Java/target/antlr4-runtime-4.11.2-SNAPSHOT-sources.jar to /home/laguest/.m2/repository/org/antlr/antlr4-runtime/4.11.2-SNAPSHOT/antlr4-runtime-4.11.2-SNAPSHOT-sources.jar
[INFO] 
[INFO] --------------------------< org.antlr:antlr4 >--------------------------
[INFO] Building ANTLR 4 Tool 4.11.2-SNAPSHOT                              [3/6]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ antlr4 ---
[INFO] 
[INFO] --- build-helper-maven-plugin:3.2.0:add-source (default) @ antlr4 ---
[INFO] Source directory: /home/laguest/src/mine-new/compilers/antlr4/tool/target/generated-sources/antlr4-tool-codegen added.
[INFO] 
[INFO] --- antlr3-maven-plugin:3.5.3:antlr (default) @ antlr4 ---
[INFO] ANTLR: Processing source directory /home/laguest/src/mine-new/compilers/antlr4/tool/src
ANTLR Parser Generator  Version 3.5.3
Grammar /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/parse/ANTLRLexer.g is up to date - build skipped
Grammar /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/parse/ANTLRParser.g is up to date - build skipped
Grammar /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/parse/GrammarTreeVisitor.g is up to date - build skipped
Grammar /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/codegen/SourceGenTriggers.g is up to date - build skipped
Grammar /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/parse/BlockSetTransformer.g is up to date - build skipped
Grammar /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/parse/ActionSplitter.g is up to date - build skipped
Grammar /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/parse/LeftRecursiveRuleWalker.g is up to date - build skipped
Grammar /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/parse/ATNBuilder.g is up to date - build skipped
[INFO] 
[INFO] --- string-template-maven-plugin:1.1:render (default) @ antlr4 ---
[INFO] Invoking controller method: org.antlr.v4.unicode.UnicodeDataTemplateController.getProperties()
[INFO] Adding compile source root: /home/laguest/src/mine-new/compilers/antlr4/tool/target/generated-sources/tool
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ antlr4 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 18 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ antlr4 ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 240 source files to /home/laguest/src/mine-new/compilers/antlr4/tool/target/classes
[INFO] /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/unicode/UnicodeDataTemplateController.java: /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/unicode/UnicodeDataTemplateController.java uses or overrides a deprecated API.
[INFO] /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/unicode/UnicodeDataTemplateController.java: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ antlr4 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/laguest/src/mine-new/compilers/antlr4/tool/test
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ antlr4 ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ antlr4 ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ antlr4 ---
[INFO] Building jar: /home/laguest/src/mine-new/compilers/antlr4/tool/target/antlr4-4.11.2-SNAPSHOT.jar
[INFO] 
[INFO] >>> maven-source-plugin:3.2.1:jar (default) > generate-sources @ antlr4 >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ antlr4 ---
[INFO] 
[INFO] --- build-helper-maven-plugin:3.2.0:add-source (default) @ antlr4 ---
[INFO] Source directory: /home/laguest/src/mine-new/compilers/antlr4/tool/target/generated-sources/antlr4-tool-codegen added.
[INFO] 
[INFO] --- antlr3-maven-plugin:3.5.3:antlr (default) @ antlr4 ---
[INFO] ANTLR: Processing source directory /home/laguest/src/mine-new/compilers/antlr4/tool/src
ANTLR Parser Generator  Version 3.5.3
Grammar /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/parse/ANTLRLexer.g is up to date - build skipped
Grammar /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/parse/ANTLRParser.g is up to date - build skipped
Grammar /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/parse/GrammarTreeVisitor.g is up to date - build skipped
Grammar /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/codegen/SourceGenTriggers.g is up to date - build skipped
Grammar /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/parse/BlockSetTransformer.g is up to date - build skipped
Grammar /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/parse/ActionSplitter.g is up to date - build skipped
Grammar /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/parse/LeftRecursiveRuleWalker.g is up to date - build skipped
Grammar /home/laguest/src/mine-new/compilers/antlr4/tool/src/org/antlr/v4/parse/ATNBuilder.g is up to date - build skipped
[INFO] 
[INFO] --- string-template-maven-plugin:1.1:render (default) @ antlr4 ---
[INFO] Invoking controller method: org.antlr.v4.unicode.UnicodeDataTemplateController.getProperties()
[INFO] Adding compile source root: /home/laguest/src/mine-new/compilers/antlr4/tool/target/generated-sources/tool
[INFO] 
[INFO] <<< maven-source-plugin:3.2.1:jar (default) < generate-sources @ antlr4 <<<
[INFO] 
[INFO] 
[INFO] --- maven-source-plugin:3.2.1:jar (default) @ antlr4 ---
[INFO] Building jar: /home/laguest/src/mine-new/compilers/antlr4/tool/target/antlr4-4.11.2-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-shade-plugin:3.2.4:shade (default) @ antlr4 ---
[INFO] Including org.antlr:antlr4-runtime:jar:4.11.2-SNAPSHOT in the shaded jar.
[INFO] Including org.antlr:antlr-runtime:jar:3.5.3 in the shaded jar.
[INFO] Including org.antlr:ST4:jar:4.3.4 in the shaded jar.
[INFO] Including org.abego.treelayout:org.abego.treelayout.core:jar:1.0.3 in the shaded jar.
[INFO] Including org.glassfish:javax.json:jar:1.1.4 in the shaded jar.
[INFO] Excluding com.ibm.icu:icu4j:jar:71.1 from the shaded jar.
[WARNING] ST4-4.3.4.jar, antlr-runtime-3.5.3.jar, antlr4-4.11.2-SNAPSHOT.jar, antlr4-runtime-4.11.2-SNAPSHOT.jar, javax.json-1.1.4.jar, org.abego.treelayout.core-1.0.3.jar define 1 overlapping resource: 
[WARNING]   - META-INF/MANIFEST.MF
[WARNING] maven-shade-plugin has detected that some class files are
[WARNING] present in two or more JARs. When this happens, only one
[WARNING] single version of the class is copied to the uber jar.
[WARNING] Usually this is not harmful and you can skip these warnings,
[WARNING] otherwise try to manually exclude artifacts based on
[WARNING] mvn dependency:tree -Ddetail=true and the above output.
[WARNING] See http://maven.apache.org/plugins/maven-shade-plugin/
[INFO] Attaching shaded artifact.
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ antlr4 ---
[INFO] Installing /home/laguest/src/mine-new/compilers/antlr4/tool/target/antlr4-4.11.2-SNAPSHOT.jar to /home/laguest/.m2/repository/org/antlr/antlr4/4.11.2-SNAPSHOT/antlr4-4.11.2-SNAPSHOT.jar
[INFO] Installing /home/laguest/src/mine-new/compilers/antlr4/tool/pom.xml to /home/laguest/.m2/repository/org/antlr/antlr4/4.11.2-SNAPSHOT/antlr4-4.11.2-SNAPSHOT.pom
[INFO] Installing /home/laguest/src/mine-new/compilers/antlr4/tool/target/antlr4-4.11.2-SNAPSHOT-sources.jar to /home/laguest/.m2/repository/org/antlr/antlr4/4.11.2-SNAPSHOT/antlr4-4.11.2-SNAPSHOT-sources.jar
[INFO] Installing /home/laguest/src/mine-new/compilers/antlr4/tool/target/antlr4-4.11.2-SNAPSHOT-complete.jar to /home/laguest/.m2/repository/org/antlr/antlr4/4.11.2-SNAPSHOT/antlr4-4.11.2-SNAPSHOT-complete.jar
[INFO] 
[INFO] -------------------< org.antlr:antlr4-maven-plugin >--------------------
[INFO] Building ANTLR 4 Maven plugin 4.11.2-SNAPSHOT                      [4/6]
[INFO] ----------------------------[ maven-plugin ]----------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ antlr4-maven-plugin ---
[INFO] 
[INFO] --- maven-plugin-plugin:3.6.2:helpmojo (help-goal) @ antlr4-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo source files.
[INFO] java-javadoc mojo extractor found 0 mojo descriptor.
[INFO] ant mojo extractor found 0 mojo descriptor.
[INFO] bsh mojo extractor found 0 mojo descriptor.
[INFO] java-annotations mojo extractor found 2 mojo descriptors.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ antlr4-maven-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ antlr4-maven-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to /home/laguest/src/mine-new/compilers/antlr4/antlr4-maven-plugin/target/classes
[INFO] 
[INFO] --- maven-plugin-plugin:3.6.2:descriptor (default-descriptor) @ antlr4-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo source files.
[INFO] java-javadoc mojo extractor found 0 mojo descriptor.
[INFO] ant mojo extractor found 0 mojo descriptor.
[INFO] bsh mojo extractor found 0 mojo descriptor.
[INFO] java-annotations mojo extractor found 2 mojo descriptors.
[INFO] 
[INFO] --- maven-plugin-plugin:3.6.2:descriptor (mojo-descriptor) @ antlr4-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo source files.
[INFO] java-javadoc mojo extractor found 0 mojo descriptor.
[INFO] ant mojo extractor found 0 mojo descriptor.
[INFO] bsh mojo extractor found 0 mojo descriptor.
[INFO] java-annotations mojo extractor found 2 mojo descriptors.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ antlr4-maven-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/laguest/src/mine-new/compilers/antlr4/antlr4-maven-plugin/src/test/resources
[INFO] 
[INFO] --- takari-lifecycle-plugin:2.0.9:testProperties (testProperties) @ antlr4-maven-plugin ---
[INFO] Incremental build configuration change detected, performing full build
[WARNING] File '/home/laguest/.m2/settings.xml' does not exist! It will be ignored.
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ antlr4-maven-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /home/laguest/src/mine-new/compilers/antlr4/antlr4-maven-plugin/target/test-classes
[INFO] /home/laguest/src/mine-new/compilers/antlr4/antlr4-maven-plugin/src/test/java/org/antlr/mojo/antlr4/Antlr4MojoTest.java: /home/laguest/src/mine-new/compilers/antlr4/antlr4-maven-plugin/src/test/java/org/antlr/mojo/antlr4/Antlr4MojoTest.java uses or overrides a deprecated API.
[INFO] /home/laguest/src/mine-new/compilers/antlr4/antlr4-maven-plugin/src/test/java/org/antlr/mojo/antlr4/Antlr4MojoTest.java: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ antlr4-maven-plugin ---
[INFO] Surefire report directory: /home/laguest/src/mine-new/compilers/antlr4/antlr4-maven-plugin/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.antlr.mojo.antlr4.Antlr4MojoTest
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 1.61 sec <<< FAILURE!
importTokens(org.antlr.mojo.antlr4.Antlr4MojoTest)  Time elapsed: 1.09 sec  <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.apache.maven.model.Plugin.getGroupId()" because the return value of "org.apache.maven.plugin.MojoExecution.getPlugin()" is null
        at org.apache.maven.lifecycle.internal.DefaultMojoExecutionConfigurator.configure(DefaultMojoExecutionConfigurator.java:44)
        at io.takari.maven.testing.Maven331Runtime.lookupConfiguredMojo(Maven331Runtime.java:37)
        at io.takari.maven.testing.Maven325Runtime.executeMojo(Maven325Runtime.java:34)
        at io.takari.maven.testing.TestMavenRuntime.executeMojo(TestMavenRuntime.java:269)
        at org.antlr.mojo.antlr4.Antlr4MojoTest.importTokens(Antlr4MojoTest.java:59)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        at io.takari.maven.testing.TestMavenRuntime$6.evaluate(TestMavenRuntime.java:208)
        at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
        at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:258)
        at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
        at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
        at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
        at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
        at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
        at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
        at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

importsCustomLayout(org.antlr.mojo.antlr4.Antlr4MojoTest)  Time elapsed: 0.179 sec  <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.apache.maven.model.Plugin.getGroupId()" because the return value of "org.apache.maven.plugin.MojoExecution.getPlugin()" is null
        at org.apache.maven.lifecycle.internal.DefaultMojoExecutionConfigurator.configure(DefaultMojoExecutionConfigurator.java:44)
        at io.takari.maven.testing.Maven331Runtime.lookupConfiguredMojo(Maven331Runtime.java:37)
        at io.takari.maven.testing.Maven325Runtime.executeMojo(Maven325Runtime.java:34)
        at io.takari.maven.testing.TestMavenRuntime.executeMojo(TestMavenRuntime.java:269)
        at org.antlr.mojo.antlr4.Antlr4MojoTest.importsCustomLayout(Antlr4MojoTest.java:120)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        at io.takari.maven.testing.TestMavenRuntime$6.evaluate(TestMavenRuntime.java:208)
        at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
        at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:258)
        at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
        at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
        at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
        at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
        at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
        at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
        at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

importsStandardLayout(org.antlr.mojo.antlr4.Antlr4MojoTest)  Time elapsed: 0.141 sec  <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.apache.maven.model.Plugin.getGroupId()" because the return value of "org.apache.maven.plugin.MojoExecution.getPlugin()" is null
        at org.apache.maven.lifecycle.internal.DefaultMojoExecutionConfigurator.configure(DefaultMojoExecutionConfigurator.java:44)
        at io.takari.maven.testing.Maven331Runtime.lookupConfiguredMojo(Maven331Runtime.java:37)
        at io.takari.maven.testing.Maven325Runtime.executeMojo(Maven325Runtime.java:34)
        at io.takari.maven.testing.TestMavenRuntime.executeMojo(TestMavenRuntime.java:269)
        at org.antlr.mojo.antlr4.Antlr4MojoTest.importsStandardLayout(Antlr4MojoTest.java:221)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        at io.takari.maven.testing.TestMavenRuntime$6.evaluate(TestMavenRuntime.java:208)
        at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
        at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:258)
        at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
        at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
        at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
        at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
        at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
        at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
        at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

processWhenDependencyRemoved(org.antlr.mojo.antlr4.Antlr4MojoTest)  Time elapsed: 0.132 sec  <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.apache.maven.model.Plugin.getGroupId()" because the return value of "org.apache.maven.plugin.MojoExecution.getPlugin()" is null
        at org.apache.maven.lifecycle.internal.DefaultMojoExecutionConfigurator.configure(DefaultMojoExecutionConfigurator.java:44)
        at io.takari.maven.testing.Maven331Runtime.lookupConfiguredMojo(Maven331Runtime.java:37)
        at io.takari.maven.testing.Maven325Runtime.executeMojo(Maven325Runtime.java:34)
        at io.takari.maven.testing.TestMavenRuntime.executeMojo(TestMavenRuntime.java:269)
        at org.antlr.mojo.antlr4.Antlr4MojoTest.processWhenDependencyRemoved(Antlr4MojoTest.java:326)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        at io.takari.maven.testing.TestMavenRuntime$6.evaluate(TestMavenRuntime.java:208)
        at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
        at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:258)
        at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
        at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
        at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
        at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
        at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
        at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
        at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

Results :

Tests in error: 
  importTokens(org.antlr.mojo.antlr4.Antlr4MojoTest): Cannot invoke "org.apache.maven.model.Plugin.getGroupId()" because the return value of "org.apache.maven.plugin.MojoExecution.getPlugin()" is null
  importsCustomLayout(org.antlr.mojo.antlr4.Antlr4MojoTest): Cannot invoke "org.apache.maven.model.Plugin.getGroupId()" because the return value of "org.apache.maven.plugin.MojoExecution.getPlugin()" is null
  importsStandardLayout(org.antlr.mojo.antlr4.Antlr4MojoTest): Cannot invoke "org.apache.maven.model.Plugin.getGroupId()" because the return value of "org.apache.maven.plugin.MojoExecution.getPlugin()" is null
  processWhenDependencyRemoved(org.antlr.mojo.antlr4.Antlr4MojoTest): Cannot invoke "org.apache.maven.model.Plugin.getGroupId()" because the return value of "org.apache.maven.plugin.MojoExecution.getPlugin()" is null

Tests run: 4, Failures: 0, Errors: 4, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for ANTLR 4 4.11.2-SNAPSHOT:
[INFO] 
[INFO] ANTLR 4 ............................................ SUCCESS [  0.330 s]
[INFO] ANTLR 4 Runtime .................................... SUCCESS [  4.703 s]
[INFO] ANTLR 4 Tool ....................................... SUCCESS [ 13.728 s]
[INFO] ANTLR 4 Maven plugin ............................... FAILURE [  6.560 s]
[INFO] ANTLR 4 Runtime Tests (4th generation) ............. SKIPPED
[INFO] ANTLR 4 Tool Tests ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  26.150 s
[INFO] Finished at: 2022-10-04T09:51:49+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project antlr4-maven-plugin: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/laguest/src/mine-new/compilers/antlr4/antlr4-maven-plugin/target/surefire-reports for the individual test results.
[ERROR] -> [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/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :antlr4-maven-plugin