{"action":"reopened","issue":{"url":"https://api.github.com/repos/antlr/antlr4/issues/1492","repository_url":"https://api.github.com/repos/antlr/antlr4","labels_url":"https://api.github.com/repos/antlr/antlr4/issues/1492/labels{/name}","comments_url":"https://api.github.com/repos/antlr/antlr4/issues/1492/comments","events_url":"https://api.github.com/repos/antlr/antlr4/issues/1492/events","html_url":"https://github.com/antlr/antlr4/issues/1492","id":194969256,"number":1492,"title":"ANTLR4 fails to build","user":{"login":"mike-lischke","id":2398704,"avatar_url":"https://avatars.githubusercontent.com/u/2398704?v=3","gravatar_id":"","url":"https://api.github.com/users/mike-lischke","html_url":"https://github.com/mike-lischke","followers_url":"https://api.github.com/users/mike-lischke/followers","following_url":"https://api.github.com/users/mike-lischke/following{/other_user}","gists_url":"https://api.github.com/users/mike-lischke/gists{/gist_id}","starred_url":"https://api.github.com/users/mike-lischke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mike-lischke/subscriptions","organizations_url":"https://api.github.com/users/mike-lischke/orgs","repos_url":"https://api.github.com/users/mike-lischke/repos","events_url":"https://api.github.com/users/mike-lischke/events{/privacy}","received_events_url":"https://api.github.com/users/mike-lischke/received_events","type":"User","site_admin":false},"labels":[{"id":167984359,"url":"https://api.github.com/repos/antlr/antlr4/labels/comp:build","name":"comp:build","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-12-12T13:03:57Z","updated_at":"2016-12-13T16:09:39Z","closed_at":null,"body":"Before submitting an issue to ANTLR, please check off these boxes:\r\n \r\n- [x] I am not submitting a question on how to use ANTLR; instead, go to [antlr4-discussion google group](https://groups.google.com/forum/#!forum/antlr-discussion) or ask at [stackoverflow](http://stackoverflow.com/questions/tagged/antlr4)\r\n- [x] I have done a search of the existing issues to make sure I'm not sending in a duplicate\r\n\r\nAs it is now I cannot create a new snapshot jar from the repository. Compilation works fine, but installation fails with a Java heap space error:\r\n\r\n```bash\r\nMikes-MBP:antlr4-upstream Mike$ mvn -DskipTests install\r\n[INFO] Scanning for projects...\r\n[WARNING] \r\n[WARNING] Some problems were encountered while building the effective model for org.antlr:antlr4-runtime:jar:4.6-SNAPSHOT\r\n[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ org.antlr:antlr4-runtime:[unknown-version], /Volumes/Extern/Work/projects/antlr4-upstream/runtime/Java/pom.xml, line 27, column 12\r\n[WARNING] \r\n[WARNING] Some problems were encountered while building the effective model for org.antlr:antlr4:jar:4.6-SNAPSHOT\r\n[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ org.antlr:antlr4:[unknown-version], /Volumes/Extern/Work/projects/antlr4-upstream/tool/pom.xml, line 55, column 12\r\n[WARNING] \r\n[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.\r\n[WARNING] \r\n[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.\r\n[WARNING] \r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Reactor Build Order:\r\n[INFO] \r\n[INFO] ANTLR 4\r\n[INFO] ANTLR 4 Runtime\r\n[INFO] ANTLR 4 Tool\r\n[INFO] ANTLR 4 Maven plugin\r\n[INFO] ANTLR 4 Runtime Test Annotations\r\n[INFO] ANTLR 4 Runtime Test Processors\r\n[INFO] ANTLR 4 Runtime Tests (2nd generation)\r\n[INFO] ANTLR 4 Tool Tests\r\n[INFO]                                                                         \r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Building ANTLR 4 4.6-SNAPSHOT\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] \r\n[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ antlr4-master ---\r\n[INFO] \r\n[INFO] --- maven-install-plugin:2.4:install (default-install) @ antlr4-master ---\r\n[INFO] Installing /Volumes/Extern/Work/projects/antlr4-upstream/pom.xml to /Users/Mike/.m2/repository/org/antlr/antlr4-master/4.6-SNAPSHOT/antlr4-master-4.6-SNAPSHOT.pom\r\n[INFO]                                                                         \r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Building ANTLR 4 Runtime 4.6-SNAPSHOT\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] \r\n[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ antlr4-runtime ---\r\n[INFO] \r\n[INFO] --- graphviz-maven-plugin:1.0:dot (default) @ antlr4-runtime ---\r\n[INFO] \r\n[INFO] --- antlr4-maven-plugin:4.5.3:antlr4 (antlr) @ antlr4-runtime ---\r\n[INFO] ANTLR 4: Processing source directory /Volumes/Extern/Work/projects/antlr4-upstream/runtime/Java/src\r\n[INFO] Processing grammar: org/antlr/v4/runtime/tree/xpath/XPathLexer.g4\r\n[INFO] \r\n[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ antlr4-runtime ---\r\n[INFO] Using 'UTF-8' encoding to copy filtered resources.\r\n[INFO] skip non existing resourceDirectory /Volumes/Extern/Work/projects/antlr4-upstream/runtime/Java/resources\r\n[INFO] \r\n[INFO] --- maven-compiler-plugin:3.6.0:compile (default-compile) @ antlr4-runtime ---\r\n[INFO] Changes detected - recompiling the module!\r\n[INFO] Compiling 169 source files to /Volumes/Extern/Work/projects/antlr4-upstream/runtime/Java/target/classes\r\n[INFO] \r\n[INFO] >>> maven-bundle-plugin:2.5.4:manifest (bundle-manifest) > process-classes @ antlr4-runtime >>>\r\n[INFO] \r\n[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ antlr4-runtime ---\r\n[INFO] \r\n[INFO] --- graphviz-maven-plugin:1.0:dot (default) @ antlr4-runtime ---\r\n[INFO] \r\n[INFO] --- antlr4-maven-plugin:4.5.3:antlr4 (antlr) @ antlr4-runtime ---\r\n[INFO] No grammars to process\r\n[INFO] ANTLR 4: Processing source directory /Volumes/Extern/Work/projects/antlr4-upstream/runtime/Java/src\r\n[INFO] \r\n[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ antlr4-runtime ---\r\n[INFO] Using 'UTF-8' encoding to copy filtered resources.\r\n[INFO] skip non existing resourceDirectory /Volumes/Extern/Work/projects/antlr4-upstream/runtime/Java/resources\r\n[INFO] \r\n[INFO] --- maven-compiler-plugin:3.6.0:compile (default-compile) @ antlr4-runtime ---\r\n[INFO] Nothing to compile - all classes are up to date\r\n[INFO] \r\n[INFO] <<< maven-bundle-plugin:2.5.4:manifest (bundle-manifest) < process-classes @ antlr4-runtime <<<\r\n[INFO] \r\n[INFO] --- maven-bundle-plugin:2.5.4:manifest (bundle-manifest) @ antlr4-runtime ---\r\n[INFO] \r\n[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ antlr4-runtime ---\r\n[INFO] Using 'UTF-8' encoding to copy filtered resources.\r\n[INFO] skip non existing resourceDirectory /Volumes/Extern/Work/projects/antlr4-upstream/runtime/Java/test\r\n[INFO] \r\n[INFO] --- maven-compiler-plugin:3.6.0:testCompile (default-testCompile) @ antlr4-runtime ---\r\n[INFO] No sources to compile\r\n[INFO] \r\n[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ antlr4-runtime ---\r\n[INFO] Tests are skipped.\r\n[INFO] \r\n[INFO] --- maven-jar-plugin:3.0.0:jar (default-jar) @ antlr4-runtime ---\r\n[INFO] Building jar: /Volumes/Extern/Work/projects/antlr4-upstream/runtime/Java/target/antlr4-runtime-4.6-SNAPSHOT.jar\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Reactor Summary:\r\n[INFO] \r\n[INFO] ANTLR 4 ............................................ SUCCESS [  0.649 s]\r\n[INFO] ANTLR 4 Runtime .................................... FAILURE [01:20 min]\r\n[INFO] ANTLR 4 Tool ....................................... SKIPPED\r\n[INFO] ANTLR 4 Maven plugin ............................... SKIPPED\r\n[INFO] ANTLR 4 Runtime Test Annotations ................... SKIPPED\r\n[INFO] ANTLR 4 Runtime Test Processors .................... SKIPPED\r\n[INFO] ANTLR 4 Runtime Tests (2nd generation) ............. SKIPPED\r\n[INFO] ANTLR 4 Tool Tests ................................. SKIPPED\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD FAILURE\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 01:21 min\r\n[INFO] Finished at: 2016-12-12T13:57:35+01:00\r\n[INFO] Final Memory: 64M/121M\r\n[INFO] ------------------------------------------------------------------------\r\n[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:3.0.0:jar (default-jar) on project antlr4-runtime: Error assembling JAR: Problem creating jar: Execution exception: Java heap space -> [Help 1]\r\n[ERROR] \r\n[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.\r\n[ERROR] Re-run Maven using the -X switch to enable full debug logging.\r\n[ERROR] \r\n[ERROR] For more information about the errors and possible solutions, please read the following articles:\r\n[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException\r\n[ERROR] \r\n[ERROR] After correcting the problems, you can resume the build with the command\r\n[ERROR]   mvn <goals> -rf :antlr4-runtime\r\n```\r\n\r\nWhat's notable is that the `graphviz-maven-plugin:1.0:dot` needs a long time to finish. But this might be a different issue."}}
{"actor":{"display_login":"parrt"}}