[ http://jira.codehaus.org/browse/MJAVACC-4?page=all ]

Brett Porter moved MOJO-241 to MJAVACC-4:
-----------------------------------------

    Component:     (was: javacc)
          Key: MJAVACC-4  (was: MOJO-241)
      Project: Maven 2.x Javacc Plugin  (was: Mojo)

> javacc fails the first time on new maven install/empty repository
> -----------------------------------------------------------------
>
>          Key: MJAVACC-4
>          URL: http://jira.codehaus.org/browse/MJAVACC-4
>      Project: Maven 2.x Javacc Plugin
>         Type: Bug

>  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

Reply via email to