[exo-jcr-commits] exo-jcr SVN: r5554 - jcr/branches/1.15.x/exo.jcr.component.core.
do-not-reply at jboss.org
do-not-reply at jboss.org
Wed Feb 1 08:59:32 EST 2012
Author: dkuleshov
Date: 2012-02-01 08:59:32 -0500 (Wed, 01 Feb 2012)
New Revision: 5554
Modified:
jcr/branches/1.15.x/exo.jcr.component.core/pom.xml
Log:
EXOJCR-1108:
* added ANTLR dependencies
* added gUnit maven plugin to run gUnit testsuite with maven
* added antlr maven plugin to generate grammars classes
Modified: jcr/branches/1.15.x/exo.jcr.component.core/pom.xml
===================================================================
--- jcr/branches/1.15.x/exo.jcr.component.core/pom.xml 2012-02-01 13:51:56 UTC (rev 5553)
+++ jcr/branches/1.15.x/exo.jcr.component.core/pom.xml 2012-02-01 13:59:32 UTC (rev 5554)
@@ -202,6 +202,14 @@
</exclusion>
</exclusions>
</dependency>
+ <dependency>
+ <groupId>org.antlr</groupId>
+ <artifactId>antlr-runtime</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.antlr</groupId>
+ <artifactId>gunit</artifactId>
+ </dependency>
<!-- TCK binaries and deps for repo stub, some eXo API test -->
<dependency>
<groupId>org.jboss.cache</groupId>
@@ -264,6 +272,7 @@
<include>**/*.pdf</include>
<include>**/*.dtd</include>
<include>**/*.policy</include>
+ <include>**/*.cnd</include>
</includes>
</testResource>
</testResources>
@@ -502,6 +511,41 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
</plugin>
+
+ <!-- Runs gUnit tests to check ANTLR grammaes.
+ Tests must be located in 'src/test/gunit' directory
+ Their names must be *.testsuite -->
+ <plugin>
+ <groupId>org.antlr</groupId>
+ <artifactId>maven-gunit-plugin</artifactId>
+ <version>3.2</version>
+ <executions>
+ <execution>
+ <id>maven-gunit-plugin</id>
+ <phase>test</phase>
+ <goals>
+ <goal>gunit</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <!-- Generate java files from ANTLR grammar files
+ in the 'target/generated-sources/antlr3' direcctory
+ Grammar files must be located in 'src/test/antlr3' directory
+ Their names must me *.g -->
+ <plugin>
+ <groupId>org.antlr</groupId>
+ <artifactId>antlr3-maven-plugin</artifactId>
+ <version>3.3</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>antlr</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
<profiles>
More information about the exo-jcr-commits
mailing list