<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.2.2.CR2</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.richfaces.ui</groupId>
  <artifactId>extendedDataTable</artifactId>
  <name>extendedDataTable</name>
  <build>
    <plugins>
      <plugin>
        <groupId>org.richfaces.cdk</groupId>
        <artifactId>maven-cdk-plugin</artifactId>
        <version>3.2.2.CR2</version>
        <executions>
          <execution>
            <phase>generate-sources</phase>
            <goals>
              <goal>generate</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <library>
            <prefix>org.richfaces</prefix>
            <taglib>
              <shortName>extendedDataTable</shortName>
            </taglib>
          </library>
        </configuration>
      </plugin>
    	
  	  <plugin>
  		<artifactId>maven-antrun-plugin</artifactId>
  		<executions>
  			<execution>
  				<phase>generate-resources</phase>
  				<goals>
  					<goal>run</goal>
  				</goals>
  				<configuration>
					<tasks>
						<ant antfile="${basedir}/generatescript.xml" inheritRefs="true">
							<target name="merge-scripts" />
							<property name="target-dir" value="${project.build.directory}/classes">
							</property>
							<property name="resources-dir" value="${basedir}/src/main/javascript">
							</property>
						</ant>
					</tasks>
					<resourceRoot>
						${project.build.directory}/generated-component/resources
					</resourceRoot>
  				</configuration>
  			</execution>
  		</executions>
  	  </plugin>    	
    	
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>org.richfaces.framework</groupId>
      <artifactId>richfaces-impl</artifactId>
      <version>3.2.2.CR2</version>
    </dependency>
	<dependency>
      <groupId>org.richfaces.ui</groupId>
      <artifactId>drag-drop</artifactId>
      <version>3.2.2.CR2</version>
    </dependency>
	<dependency>
      <groupId>org.richfaces.ui</groupId>
      <artifactId>dataTable</artifactId>
      <version>3.2.2.CR2</version>
    </dependency>
	<dependency>
      <groupId>org.richfaces.ui</groupId>
      <artifactId>menu-components</artifactId>
      <version>3.2.2.CR2</version>
    </dependency>
	<dependency>
      <groupId>org.richfaces.ui</groupId>
      <artifactId>contextMenu</artifactId>
      <version>3.2.2.CR2</version>
    </dependency>

	<dependency>
      <groupId>org.richfaces.ui</groupId>
      <artifactId>jQuery</artifactId>
      <version>3.2.2.CR2</version>
    </dependency>
	
	<dependency>
      <groupId>org.richfaces.ui</groupId>
      <artifactId>componentControl</artifactId>
      <version>3.2.2.CR2</version>
    </dependency>

	<dependency>
      <groupId>org.richfaces.ui</groupId>
      <artifactId>scrollableDataTable</artifactId>
      <version>3.2.2.CR2</version>
    </dependency>
  </dependencies>
</project>