Author: grobmeier Date: Sat Oct 8 18:38:47 2011 New Revision: 1180454 URL: http://svn.apache.org/viewvc?rev=1180454&view=rev Log: generate parser code with mvn plugin - currently javacc is called only, next step includes jjtree generation
Modified: commons/proper/ognl/trunk/pom.xml Modified: commons/proper/ognl/trunk/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/ognl/trunk/pom.xml?rev=1180454&r1=1180453&r2=1180454&view=diff ============================================================================== --- commons/proper/ognl/trunk/pom.xml (original) +++ commons/proper/ognl/trunk/pom.xml Sat Oct 8 18:38:47 2011 @@ -251,6 +251,24 @@ limitations under the License. <attach>false</attach> </configuration> </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>javacc-maven-plugin</artifactId> + <version>2.6</version> + <executions> + <execution> + <id>ognl-jjtree</id> + <configuration> + <outputDirectory>${project.build.directory}/generated-sources/java</outputDirectory> + <timestampDirectory>${project.build.directory}/generated-sources/javacc-timestamp</timestampDirectory> + <packageName>org.apache.commons.ognl</packageName> + </configuration> + <goals> + <goal>javacc</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> <pluginManagement> <plugins>