[antlr-interest] Internal error in the plugin manager (ANTLR 3.2)

Marisa Strong Marisa.Strong at ucop.edu
Tue Jul 27 10:48:30 PDT 2010


Hello,

 

We are using ANTLR for our project and are running into this error when
executing a clean build using maven.

The sources get generated so we can continue on with the build after
restarting, but we'd like to resolve the error.  We experience quite a
few WARNING messages (some displayed below) but not sure if these are
related to the ERROR.

 

Thanks for any help on this.

 

Marisa

 

 

> mvn --version

Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)

Java version: 1.6.0_20

Java home: C:\apps\Java\jdk1.6.0_20\jre

Default locale: en_US, platform encoding: Cp1252

OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" 

 

org\jhove2\module\format\sgml\SgmlParseMessages.g

warning(200): org\jhove2\module\format\sgml\SgmlParseMessages.g:143:92:
Decision can match input such as "MESSAGELEVEL..OTHERALPHA COLON
BCKSLASH MESSAGELEVEL..OTHERALPHA COLON SLASH MESSAGELEVEL..OTHERALPHA
COLON DIGIT COLON DIGIT COLON DIGIT DOT DIGIT COLON MESSAGELEVEL COLON
{EOF, NEWLINE..OTHERCHAR}" using multiple alternatives: 1, 2

As a result, alternative(s) 2 were disabled for that input

warning(200): org\jhove2\module\format\sgml\SgmlParseMessages.g:143:92:
Decision can match input such as "{COLON..BCKSLASH, DIGIT..OTHERCHAR}"
using multiple alternatives: 1, 2

As a result, alternative(s) 2 were disabled for that input

warning(200): org\jhove2\module\format\sgml\SgmlParseMessages.g:143:92:
Decision can match input such as "MESSAGELEVEL..OTHERALPHA COLON
BCKSLASH MESSAGELEVEL..OTHERALPHA COLON SLASH MESSAGELEVEL..OTHERALPHA
COLON DIGIT COLON DIGIT COLON DIGIT {EOF, NEWLINE..COLON,
SLASH..OTHERALPHA, SPACE..OTHERCHAR}" using multiple alternatives: 1, 2

As a result, alternative(s) 2 were disabled for that input

warning(200): org\jhove2\module\format\sgml\SgmlParseMessages.g:143:92:
Decision can match input such as "MESSAGELEVEL..OTHERALPHA COLON {EOF,
NEWLINE..SLASH, MESSAGELEVEL..OTHERCHAR}" using multiple alternatives:
1, 2

As a result, alternative(s) 2 were disabled for that input

[ERROR] 

 

 

The following mojo encountered an error while executing:

Group-Id: org.antlr

Artifact-Id: antlr3-maven-plugin

Version: 3.2

Mojo: antlr

brought in via: POM

 

Error stacktrace:

org.apache.maven.lifecycle.LifecycleExecutionException: Internal error
in the plugin manager executing goal
'org.antlr:antlr3-maven-plugin:3.2:antlr': Mojo execution failed.

      at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:505)

      at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentFo
rProject(DefaultLifecycleExecutor.java:265)

      at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:191)

      at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:149)

      at
org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:223)

      at
org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.ja
va:304)

      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)

      at
org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedde
r.java:904)

      at
org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(Maven
Embedder.java:304)

      at
org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)

      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)

      at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

      at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launche
r.java:289)

      at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:2
29)

      at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launc
her.java:408)

      at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351
)

      at org.codehaus.classworlds.Launcher.main(Launcher.java:31)

Caused by: org.apache.maven.plugin.PluginExecutionException: Mojo
execution failed.

      at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:601)

      at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:498)

      ... 20 more

Caused by: org.apache.maven.plugin.MojoExecutionException: ANTLR caught
1 build errors.

      at org.antlr.mojo.antlr3.Antlr3Mojo.execute(Antlr3Mojo.java:397)

      at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:579)

      ... 21 more

 

 



More information about the antlr-interest mailing list