Hi all, I'm trying to use 3 instances of the javacc-maven-plugin in the one project, but am having a problem where the sourceDirectory option is being ignored in all but one of the plugins. If I comment out 2 of the plugins (it doesn't matter which two) the remaining one will work. (pom snippet attached)
It happens with error: [INFO] [javacc:jjtree-javacc {execution: javacc}] [INFO] Skipping non-existing source directory: /home/tristan/projects/svn/ptII-svn/src/main/jjtree I need to have 3 different instances because each package requires different build configuration. I would just use the standard directory layout, but the people i'm doing this for want to keep their current source hierarchy. Is there anything I can do to fix this? is it a bug? or am i doing something wrong? Thanks heaps -Tristan -- Tristan King Research Officer, eResearch Centre James Cook University, Townsville Qld 4811 Australia Phone: +61747816902 E-mail: [EMAIL PROTECTED] www: http://eresearch.jcu.edu.au
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>javacc-maven-plugin</artifactId> <version>2.4</version> <executions> <execution> <id>javacc-ptparser</id> <goals> <goal>jjtree-javacc</goal> </goals> <configuration> <sourceDirectory>${basedir}/src/main/testtree</sourceDirectory> <isStatic>false</isStatic> <buildNodeFiles>false</buildNodeFiles> <includes> <include>**/PtParser.jjt</include> </includes> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>javacc-maven-plugin</artifactId> <version>2.4</version> <executions> <execution> <id>javacc-matrixparser</id> <!-- phase had to be changed to ensure this is built after PtParser as the SimpleCharStream.java file that is needed is the one build by PtParser --> <phase>process-sources</phase> <goals> <goal>jjtree-javacc</goal> </goals> <configuration> <sourceDirectory>${basedir}/src/main/testtree</sourceDirectory> <isStatic>true</isStatic> <buildNodeFiles>false</buildNodeFiles> <includes> <include>**/MatrixParser.jjt</include> </includes> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>javacc-maven-plugin</artifactId> <version>2.4</version> <executions> <execution> <id>javacc</id> <goals> <goal>jjtree-javacc</goal> </goals> <configuration> <sourceDirectory>${basedir}/src/main/testtree</sourceDirectory> <isStatic>false</isStatic> <buildNodeFiles>true</buildNodeFiles> <includes> <include>**/*.jjt</include> </includes> <excludes> <exclude>**/PtParser.jjt</exclude> <exclude>**/MatrixParser.jjt</exclude> </excludes> </configuration> </execution> </executions> </plugin>
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email