[antlr-interest] How to generate JUnit sources using maven-gunit-plugin?

Kaleb Pederson kaleb.pederson at gmail.com
Tue Sep 29 12:42:25 PDT 2009


Since I didn't get an answer, I pulled up the maven-gunit-plugin
source code to see if there was such an option, and there is not.

It's not currently possible to use this plugin to generate JUnit
sources.  The gunit goal is hard coded and there's no reference to the
JUnitGenerator class.

--Kaleb

On Mon, Sep 28, 2009 at 4:18 PM, Kaleb Pederson
<kaleb.pederson at gmail.com> wrote:
> I currently have the maven-gunit-plugin configured to run in interpreter mode:
>
>  <plugin>
>    <groupId>org.antlr</groupId>
>    <artifactId>maven-gunit-plugin</artifactId>
>    <version>3.1.3</version>
>    <executions>
>        <execution>
>            <id>maven-gunit-plugin</id>
>            <phase>test</phase>
>            <goals>
>                <goal>gunit</goal>
>            </goals>
>        </execution>
>    </executions>
>  </plugin>
>
> Is a different directive present that I can use to run gunit in JUnit
> generation mode instead?
>
> Thanks.
>
> --Kaleb
>


More information about the antlr-interest mailing list