You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ni...@apache.org on 2007/11/17 18:52:23 UTC

svn commit: r595980 - in /commons/proper/jexl/branches/2.0: pom.xml src/assembly/ src/site/

Author: niallp
Date: Sat Nov 17 09:52:22 2007
New Revision: 595980

URL: http://svn.apache.org/viewvc?rev=595980&view=rev
Log:
Copy m2 build to JEXL 2.0 branch, adding in JavaCC plugin to generate sources

Added:
    commons/proper/jexl/branches/2.0/pom.xml
      - copied, changed from r595979, commons/proper/jexl/trunk/pom.xml
    commons/proper/jexl/branches/2.0/src/assembly/
      - copied from r595774, commons/proper/jexl/trunk/src/assembly/
    commons/proper/jexl/branches/2.0/src/site/
      - copied from r595774, commons/proper/jexl/trunk/src/site/

Copied: commons/proper/jexl/branches/2.0/pom.xml (from r595979, commons/proper/jexl/trunk/pom.xml)
URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/pom.xml?p2=commons/proper/jexl/branches/2.0/pom.xml&p1=commons/proper/jexl/trunk/pom.xml&r1=595979&r2=595980&rev=595980&view=diff
==============================================================================
--- commons/proper/jexl/trunk/pom.xml (original)
+++ commons/proper/jexl/branches/2.0/pom.xml Sat Nov 17 09:52:22 2007
@@ -27,7 +27,7 @@
   <modelVersion>4.0.0</modelVersion>
   <groupId>commons-jexl</groupId>
   <artifactId>commons-jexl</artifactId>
-  <version>1.1.1-SNAPSHOT</version>
+  <version>2.0-SNAPSHOT</version>
   <name>Commons JEXL</name>
   <inceptionYear>2003</inceptionYear>
   <description>Jexl is an implementation of the JSTL Expression Language with extensions.</description>
@@ -129,6 +129,37 @@
             </descriptors>
             <tarLongFileMode>gnu</tarLongFileMode>
           </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>javacc-maven-plugin</artifactId>
+          <version>2.1</version>
+          <executions>
+            <execution>
+              <id>jexl-jjtree</id>
+              <configuration>
+                <sourceDirectory>${basedir}/src/java/org/apache/commons/jexl/parser</sourceDirectory>
+                <outputDirectory>${project.build.directory}/generated-src/java/org/apache/commons/jexl/parser</outputDirectory>
+                <timestampDirectory>${project.build.directory}/generated-src/javacc-timestamp</timestampDirectory>
+                <packageName>org.apache.commons.jexl.parser</packageName>
+              </configuration>
+              <goals>
+                <goal>jjtree</goal>
+              </goals>
+            </execution>
+            <execution>
+              <id>jexl-javacc</id>
+              <configuration>
+                <sourceDirectory>${project.build.directory}/generated-src/java/org/apache/commons/jexl/parser</sourceDirectory>
+                <outputDirectory>${project.build.directory}/generated-src/java</outputDirectory>
+                <timestampDirectory>${project.build.directory}/generated-src/javacc-timestamp</timestampDirectory>
+                <packageName>org.apache.commons.jexl.parser</packageName>
+              </configuration>
+              <goals>
+                <goal>javacc</goal>
+              </goals>
+            </execution>
+          </executions>
         </plugin>
       </plugins>
     </build>