[antlr-interest] Compiling 3.4 with maven

Jim Idle jimi at temporal-wave.com
Wed Jan 25 14:01:55 PST 2012


Works fine here - there is likely something wrong with your setup. What
version of maven are you using? What OS? Did you try clearing the .m2
file. Did you follow the instructions in the BUILD.TXT file, or did you
just type 'mvn' and hoped it would work?

Jim

> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of A Z
> Sent: Wednesday, January 25, 2012 1:49 PM
> To: antlr-interest at antlr.org
> Subject: [antlr-interest] Compiling 3.4 with maven
>
> Hello all,
>
> Has anyone successfully compiled a version 3.4 .jar using maven? For me
> the "Uber jar" compile fails with the following:
>
> [INFO]
> -----------------------------------------------------------------------
> -
> [INFO] Skipping ANTLR Master build control POM 3.4 [INFO] This project
> has been banned from the build due to previous failures.
> [INFO]
> -----------------------------------------------------------------------
> -
> [INFO]
> -----------------------------------------------------------------------
> -
> [INFO] Reactor Summary:
> [INFO]
> [INFO] ANTLR Master build control POM 3.4 ................ SUCCESS
> [0.709s] [INFO] Antlr 3.4 Runtime .................................
> FAILURE [5.103s] [INFO] ANTLR Grammar Tool v 3.4
> .......................... SKIPPED [INFO] Maven plugin for ANTLR V3.4
> ....................... SKIPPED [INFO] ANTLR gUnit v3.4
> .................................. SKIPPED [INFO] Maven plugin for
> gUnit ANTLR V3.4 ................. SKIPPED [INFO] ANTLR3 Maven
> Archetype 3.4 ........................ SKIPPED [INFO]
> -----------------------------------------------------------------------
> -
> [INFO] BUILD FAILURE
> [INFO]
> -----------------------------------------------------------------------
> -
> [INFO] Total time: 7.172s
> [INFO] Finished at: Wed Jan 25 14:03:18 GMT+06:00 2012 [INFO] Final
> Memory: 14M/154M [INFO]
> -----------------------------------------------------------------------
> -
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-javadoc-plugin:2.8:jar (attach-javadocs)
> on project antlr-runtime: MavenReportException: Error while creating
> archive:
> [ERROR] Exit code: 1 -
> .../antlr-
> 3.4/runtime/Java/src/main/java/org/antlr/runtime/._MissingTokenExceptio
> n.java:1:
> warning: unmappable character for encoding UTF-8 [ERROR] Mac OS X <lots
> of binary chars> [ERROR] ^
>
> The file in question is definitely not ASCII.
>
>
> I then tried compiling /tool and this completes successfully but it
> does not create an executable jar:
> Failed to load Main-Class manifest attribute from
> .../.m2/repository/org/antlr/antlr/3.4/antlr-3.4.jar
>
> My only goal here is to modify the code generation templates. Any
> ideas?
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-
> email-address


More information about the antlr-interest mailing list