<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <parent>
    <artifactId>ui</artifactId>
    <groupId>org.richfaces</groupId>
    <version>3.3.0.BETA3</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.richfaces.ui</groupId>
  <artifactId>editor</artifactId>
  <name>Editor</name>
  <build>
    <plugins>
      <plugin>
        <groupId>org.richfaces.cdk</groupId>
        <artifactId>maven-cdk-plugin</artifactId>
        <version>3.3.0.BETA3</version>
        <executions>
          <execution>
		<id>generate-sources</id>
            <phase>generate-sources</phase>
            <goals>
              <goal>generate</goal>
            </goals>
          </execution>
          <execution>
		<id>generate-test-sources</id>
            <phase>generate-test-sources</phase>
            <goals>
              <goal>generate-tests</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <library>
            <prefix>org.richfaces</prefix>
            <taglib>
              <shortName>editor</shortName>
            </taglib>
          </library>
        </configuration>
      </plugin>
	  
	  <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>antlr-maven-plugin</artifactId>
		<executions>
			<execution>
				<phase>generate-sources</phase>
				<goals>
					<goal>generate</goal>
				</goals>
			</execution>
		</executions>
        <configuration>
          <grammars>html-seamtext.g</grammars>
        </configuration>
      </plugin>


    </plugins>
  </build>
<profiles>
	<profile>
		<id>clover</id>
			<build>
				<plugins>
					<plugin>
						<groupId>com.atlassian.maven.plugins</groupId>
						<artifactId>maven-clover2-plugin</artifactId>
						<configuration>
							<includesAllSourceRoots>false</includesAllSourceRoots>
						</configuration>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>
	
  <dependencies>
    <dependency>
      <groupId>org.richfaces.framework</groupId>
      <artifactId>richfaces-impl</artifactId>
      <version>3.3.0.BETA3</version>
    </dependency>
	<dependency>
      <groupId>antlr</groupId>
      <artifactId>antlr</artifactId>
      <version>2.7.6</version>
      <scope> provided </scope>	
    </dependency> 
	<dependency>
      <groupId>org.jboss.seam</groupId>
	  <artifactId>jboss-seam</artifactId>
      <version>2.1.0.SP1</version>
	  <scope>provided</scope>
    </dependency>
  </dependencies>
</project>