4.0.0 org.apache.velocity velocity-engine-parent 2.4.1 velocity-custom-parser-example Apache Velocity Custom Parser Example Custom Parser Example for Apache Velocity pom false Custom org.apache.velocity.runtime.parser.custom * % $ @ org.apache.velocity velocity-engine-core ${project.version} junit junit test org.slf4j slf4j-simple test org.apache.felix maven-bundle-plugin org.apache.maven.plugins maven-dependency-plugin fetch-grammar-file initialize unpack org.apache.velocity:velocity-engine-core:${project.version} org/apache/velocity/runtime/parser/Parser.jjt ${project.build.directory}/grammar org.apache.maven.plugins maven-resources-plugin generate-parser-grammar generate-sources copy-resources false ${*} ${project.build.directory}/grammar true ${project.build.directory}/parser org.codehaus.mojo javacc-maven-plugin false true false true ${parser.debug} ${parser.debug} ${parser.debug} ${maven.compiler.target} true ${parser.package}.node ${project.build.directory}/parser/org/apache/velocity/runtime/parser true jjtree-javacc generate-sources jjtree-javacc Parser.jjt org.apache.maven.plugins maven-clean-plugin clean-extra-javacc process-sources clean true ${project.build.directory}/generated-sources/javacc/ **/*.java **/*${parser.basename}*.java ${project.build.directory}/generated-sources/jjtree/ **/node/*.java **/node/*${parser.basename}*.java org.apache.maven.plugins maven-surefire-plugin test ${test} test.templates.dir ${project.build.testOutputDirectory}/templates test.results.dir ${project.build.directory}/results test.reference.dir ${project.build.testOutputDirectory}/reference org.slf4j.simpleLogger.defaultLogLevel warn org.slf4j.simpleLogger.logFile ${project.build.directory}/velocity.log