[ http://jira.codehaus.org/browse/MOJO-241?page=all ]
Brett Porter closed MOJO-241:
-----------------------------
Assign To: Brett Porter
Resolution: Won't Fix
plugin is not meant to be put into the extensions section, I don't think.
> javacc fails the first time on new maven install/empty repository
> -----------------------------------------------------------------
>
> Key: MOJO-241
> URL: http://jira.codehaus.org/browse/MOJO-241
> Project: Mojo
> Type: Bug
> Components: javacc
> Environment: OS X, Maven 2.0.1, brand new install
> Reporter: Greg Kick
> Assignee: Brett Porter
>
>
> the first time a javacc task is run on a fresh maven install or after having
> deleted the maven repository, the build fails with the error message:
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building Wiki Distiller
> [INFO] task-segment: [javacc:jjtree]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO]
> ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Internal error in the plugin manager executing goal
> 'org.codehaus.mojo:javacc-maven-plugin:0.6.1-SNAPSHOT:jjtree': Cannot find
> Plexus container for plugin: org.codehaus.mojo:javacc-maven-plugin
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Total time: 1 minute 49 seconds
> [INFO] Finished at: Sun Jan 15 05:01:35 PST 2006
> [INFO] Final Memory: 2M/5M
> [INFO]
> ----------------------------------------------------------------------------
> my pom.xml is as follows:
> ...
> <build>
> <extensions>
> <extension>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>javacc-maven-plugin</artifactId>
> <version>0.6.1-SNAPSHOT</version>
> </extension>
> </extensions>
> <plugins>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>javacc-maven-plugin</artifactId>
> <version>0.6.1-SNAPSHOT</version>
> </plugin>
> </plugins>
> </build>
> ...
> on subsequent tries, the build is successful.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira