Hi Benjamin,

thanks for the tip.

Unfortunatly, now the build fails because it cannot find the generated jj-File 
anymore.

And the output directories is:
${project.build.directory}/javacc-1278960672147
instead of
${project.build.directory}/generated-sources/javacc

Even an explicit execution configuration like
<interimDirectory>${project.build.directory}/generated-sources/jtb</interimDirectory>
                                                        
<outputDirectory>${project.build.directory}/generated-sources/javacc</outputDirectory>

gets ignored. How can I fix this?

-Florian
-------- Original-Nachricht --------
> Datum: Mon, 12 Jul 2010 20:16:01 +0200
> Von: Benjamin Bentmann <[email protected]>
> An: [email protected]
> Betreff: Re: [mojo-user] JavaCC Maven plugin - jtb-1.4.0

> Florian Brunner wrote:
> 
> > I'm [...] try to migrate a project, which uses JavaCC to Maven with the
> JavaCC Maven plugin. Unfortunatly this plugin uses an old version of jtb.
> Is it possible to configure it to use jtb v1.4.0? How?
> 
> Assuming the newer JTB versions are compatible regarding their command 
> line interface, the following could work:
> 
>    <plugin>
>      <groupId>org.codehaus.mojo</groupId>
>      <artifactId>javacc-maven-plugin</artifactId>
>      <version>2.6</version>
>      ...
>      <dependencies>
>        <dependency>
>          <!-- Override dependency on 1.3.2 used natively by plugin -->
>          <groupId>edu.ucla.cs.compilers</groupId>
>          <artifactId>jtb</artifactId>
>          <version>1.4.3</version>
>        <dependency>
>      </dependencies>
>    </plugin>
> 
> This further assumes that you have installed [0] the new jtb to your 
> local repository or deployed [1] to your corporate remote repository 
> (the artifact doesn't appear to be on central).
> 
> 
> Benjamin
> 
> 
> [0] http://maven.apache.org/plugins/maven-install-plugin/usage.html
> [1] http://maven.apache.org/plugins/maven-deploy-plugin/usage.html
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 

-- 
GMX.ch - Schweizer FreeMail-Dienst mit über 800.000 Mitgliedern
E-Mail & mehr! Kostenlos: http://portal.gmx.net/de/go/chfreemail

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to