<?xml version="1.0" encoding="UTF-8"?>
<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>richfaces-ui-parent</artifactId>
    <groupId>org.richfaces.ui</groupId>
    <version>4.1.0.20111014-M3</version>
    <relativePath>../../parent/pom.xml</relativePath>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.richfaces.ui</groupId>
  <artifactId>richfaces-components-ui</artifactId>
  <name>Richfaces UI Components UI</name>
  <version>4.1.0.20111014-M3</version>
  <scm>
    <connection>scm:git:git://github.com/richfaces/components.git</connection>
    <developerConnection>scm:git:git@github.com:richfaces/components.git</developerConnection>
    <url>https://github.com/richfaces/components</url>
  </scm>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>1.3.3</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <artifactSet>
                <includes>
                  <include>${assembly.projects.group}.*:*-ui:*</include>
                  <include>${assembly.projects.group}:static-resources:*</include>
                </includes>
              </artifactSet>
              <createSourcesJar>true</createSourcesJar>
              <transformers>
                <transformer>
                  <taglibs>
                    <taglib>
                      <targetNamespace>http://richfaces.org/a4j</targetNamespace>
                    </taglib>
                    <taglib>
                      <targetNamespace>http://richfaces.org/rich</targetNamespace>
                      <sourceNamespacesPattern>.*</sourceNamespacesPattern>
                    </taglib>
                  </taglibs>
                </transformer>
                <transformer />
                <transformer>
                  <resource>META-INF/richfaces/resource-mappings.properties</resource>
                </transformer>
              </transformers>
            </configuration>
          </execution>
        </executions>
        <dependencies>
          <dependency>
            <groupId>org.richfaces.build.resources</groupId>
            <artifactId>faces-shade-transformers</artifactId>
            <version>${faces-shade-transformers.version}</version>
          </dependency>
        </dependencies>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>release</id>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-dependency-plugin</artifactId>
            <version>2.1</version>
            <executions>
              <execution>
                <id>deps</id>
                <phase>process-sources</phase>
                <goals>
                  <goal>unpack-dependencies</goal>
                </goals>
                <configuration>
                  <classifier>sources</classifier>
                  <includeGroupIds>org.richfaces.ui.core,org.richfaces.ui.common,org.richfaces.ui.misc,org.richfaces.ui.iteration,org.richfaces.ui.output,org.richfaces.ui.input,org.richfaces.ui.dnd,org.richfaces.ui.validator</includeGroupIds>
                  <useSubDirectoryPerArtifact>true</useSubDirectoryPerArtifact>
                  <excludeTransitive>true</excludeTransitive>
                </configuration>
              </execution>
              <execution>
                <id>vdldeps</id>
                <phase>process-sources</phase>
                <goals>
                  <goal>unpack</goal>
                </goals>
                <configuration>
                  <artifactItems>
                    <artifactItem>
                      <groupId>org.richfaces.build.resources</groupId>
                      <artifactId>faces-vdl-documentation</artifactId>
                      <version>1</version>
                      <outputDirectory>/home/lfryc/workspaces/release/framework/components/dist/richfaces-components-ui/target/resources/</outputDirectory>
                      <includes>**/*.xsl</includes>
                    </artifactItem>
                    <artifactItem>
                      <groupId>org.richfaces.build.resources</groupId>
                      <artifactId>faces-vdl-documentation</artifactId>
                      <outputDirectory>/home/lfryc/workspaces/release/framework/components/dist/richfaces-components-ui/target/vdldoc/</outputDirectory>
                      <includes>**/*.css</includes>
                    </artifactItem>
                  </artifactItems>
                </configuration>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <artifactId>maven-javadoc-plugin</artifactId>
            <version>2.7</version>
            <executions>
              <execution>
                <id>generate-javadoc</id>
                <phase>package</phase>
                <goals>
                  <goal>jar</goal>
                </goals>
                <configuration>
                  <sourcepath>/home/lfryc/workspaces/release/framework/components/dist/richfaces-components-ui/target/dependency</sourcepath>
                  <keywords>true</keywords>
                  <quiet>true</quiet>
                  <detectOfflineLinks>false</detectOfflineLinks>
                  <header>&lt;b&gt;Richfaces UI Components UI 4.1.0.20111014-M3&lt;/b&gt;</header>
                  <footer>&lt;b&gt;Richfaces UI Components UI 4.1.0.20111014-M3&lt;/b&gt;</footer>
                </configuration>
              </execution>
            </executions>
            <configuration>
              <sourcepath>/home/lfryc/workspaces/release/framework/components/dist/richfaces-components-ui/target/dependency</sourcepath>
              <keywords>true</keywords>
              <quiet>true</quiet>
              <detectOfflineLinks>false</detectOfflineLinks>
              <header>&lt;b&gt;Richfaces UI Components UI 4.1.0.20111014-M3&lt;/b&gt;</header>
              <footer>&lt;b&gt;Richfaces UI Components UI 4.1.0.20111014-M3&lt;/b&gt;</footer>
            </configuration>
          </plugin>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>xml-maven-plugin</artifactId>
            <version>1.0</version>
            <executions>
              <execution>
                <phase>package</phase>
                <goals>
                  <goal>transform</goal>
                </goals>
                <configuration>
                  <transformationSets>
                    <transformationSet>
                      <dir>src/main/properties</dir>
                      <stylesheet>target/resources/xsl/common.xsl</stylesheet>
                      <parameters>
                        <parameter>
                          <name>output-dir</name>
                          <value>target/vdldoc/</value>
                        </parameter>
                      </parameters>
                      <fileMappers>
                        <fileMapper>
                          <pattern>^(.*)\.(.*)$</pattern>
                          <replacement>all.txt</replacement>
                        </fileMapper>
                      </fileMappers>
                    </transformationSet>
                  </transformationSets>
                </configuration>
              </execution>
            </executions>
            <dependencies>
              <dependency>
                <groupId>net.sf.saxon</groupId>
                <artifactId>saxon</artifactId>
                <version>8.7</version>
                <scope>compile</scope>
              </dependency>
            </dependencies>
            <configuration>
              <transformationSets>
                <transformationSet>
                  <dir>src/main/properties</dir>
                  <stylesheet>target/resources/xsl/common.xsl</stylesheet>
                  <parameters>
                    <parameter>
                      <name>output-dir</name>
                      <value>target/vdldoc/</value>
                    </parameter>
                  </parameters>
                  <fileMappers>
                    <fileMapper>
                      <pattern>^(.*)\.(.*)$</pattern>
                      <replacement>all.txt</replacement>
                    </fileMapper>
                  </fileMappers>
                </transformationSet>
              </transformationSets>
            </configuration>
          </plugin>
          <plugin>
            <artifactId>maven-assembly-plugin</artifactId>
            <version>2.2.1</version>
            <executions>
              <execution>
                <id>make-assembly</id>
                <phase>package</phase>
                <goals>
                  <goal>single</goal>
                </goals>
                <configuration>
                  <descriptors>
                    <descriptor>src/main/assembly/vdldoc-assembly.xml</descriptor>
                  </descriptors>
                  <archive>
                    <index>true</index>
                    <manifest>
                      <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
                      <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                    </manifest>
                    <manifestEntries>
                      <Implementation-URL>http://richfaces.org/richfaces-bom/richfaces-root-parent/richfaces-ui-parent/richfaces-components-ui</Implementation-URL>
                    </manifestEntries>
                    <manifestSections>
                      <manifestSection>
                        <name>Build-Information</name>
                        <manifestEntries>
                          <Java-Version>1.6.0_20</Java-Version>
                          <Java-Vendor>Sun Microsystems Inc.</Java-Vendor>
                          <Os-Name>Linux</Os-Name>
                          <Os-Arch>amd64</Os-Arch>
                          <Os-Version>2.6.32-34-generic</Os-Version>
                          <Scm-Url>scm:git:git@github.com:richfaces/components.git</Scm-Url>
                        </manifestEntries>
                      </manifestSection>
                    </manifestSections>
                  </archive>
                </configuration>
              </execution>
            </executions>
            <configuration>
              <descriptors>
                <descriptor>src/main/assembly/vdldoc-assembly.xml</descriptor>
              </descriptors>
              <archive>
                <index>true</index>
                <manifest>
                  <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
                  <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                </manifest>
                <manifestEntries>
                  <Implementation-URL>http://richfaces.org/richfaces-bom/richfaces-root-parent/richfaces-ui-parent/richfaces-components-ui</Implementation-URL>
                </manifestEntries>
                <manifestSections>
                  <manifestSection>
                    <name>Build-Information</name>
                    <manifestEntries>
                      <Java-Version>1.6.0_20</Java-Version>
                      <Java-Vendor>Sun Microsystems Inc.</Java-Vendor>
                      <Os-Name>Linux</Os-Name>
                      <Os-Arch>amd64</Os-Arch>
                      <Os-Version>2.6.32-34-generic</Os-Version>
                      <Scm-Url>scm:git:git@github.com:richfaces/components.git</Scm-Url>
                    </manifestEntries>
                  </manifestSection>
                </manifestSections>
              </archive>
            </configuration>
          </plugin>
        </plugins>
      </build>
      <dependencies>
        <dependency>
          <groupId>org.richfaces.build.resources</groupId>
          <artifactId>faces-vdl-documentation</artifactId>
          <version>1</version>
          <scope>runtime</scope>
        </dependency>
      </dependencies>
    </profile>
  </profiles>
  <repositories>
    <repository>
      <releases>
        <updatePolicy>never</updatePolicy>
      </releases>
      <snapshots>
        <updatePolicy>never</updatePolicy>
      </snapshots>
      <id>jboss-public-repository-group</id>
      <name>JBoss Public Repository Group</name>
      <url>http://repository.jboss.org/nexus/content/groups/public/</url>
    </repository>
  </repositories>
  <dependencies>
    <dependency>
      <groupId>org.richfaces.ui</groupId>
      <artifactId>richfaces-components-api</artifactId>
      <version>4.1.0.20111014-M3</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.richfaces.core</groupId>
      <artifactId>richfaces-core-api</artifactId>
      <version>4.1.0.20111014-M3</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
      <version>2.5</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>javax.servlet.jsp</groupId>
      <artifactId>jsp-api</artifactId>
      <version>2.1</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>javax.el</groupId>
      <artifactId>el-api</artifactId>
      <version>1.0</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>javax.servlet.jsp.jstl</groupId>
      <artifactId>jstl-api</artifactId>
      <version>1.2</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.richfaces.build.resources</groupId>
      <artifactId>faces-vdl-documentation</artifactId>
      <version>1</version>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>org.richfaces.cdk</groupId>
      <artifactId>annotations</artifactId>
      <version>4.1.0.20111014-M3</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.richfaces.core</groupId>
      <artifactId>richfaces-core-impl</artifactId>
      <version>4.1.0.20111014-M3</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>cssparser</artifactId>
          <groupId>net.sourceforge.cssparser</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.jboss.test-jsf</groupId>
      <artifactId>jsf-test-stage</artifactId>
      <version>1.0.7</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>jboss-el</artifactId>
          <groupId>org.jboss.el</groupId>
        </exclusion>
        <exclusion>
          <artifactId>javax.servlet</artifactId>
          <groupId>org.glassfish</groupId>
        </exclusion>
        <exclusion>
          <artifactId>jsr250-api</artifactId>
          <groupId>javax.annotation</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.7</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.jboss.test-jsf</groupId>
      <artifactId>htmlunit-client</artifactId>
      <version>1.0.7</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>htmlunit</artifactId>
          <groupId>net.sourceforge.htmlunit</groupId>
        </exclusion>
        <exclusion>
          <artifactId>htmlunit-core-js</artifactId>
          <groupId>net.sourceforge.htmlunit</groupId>
        </exclusion>
        <exclusion>
          <artifactId>commons-io</artifactId>
          <groupId>commons-io</groupId>
        </exclusion>
        <exclusion>
          <artifactId>commons-lang</artifactId>
          <groupId>commons-lang</groupId>
        </exclusion>
        <exclusion>
          <artifactId>commons-collections</artifactId>
          <groupId>commons-collections</groupId>
        </exclusion>
        <exclusion>
          <artifactId>nekohtml</artifactId>
          <groupId>net.sourceforge.nekohtml</groupId>
        </exclusion>
        <exclusion>
          <artifactId>xalan</artifactId>
          <groupId>xalan</groupId>
        </exclusion>
        <exclusion>
          <artifactId>jboss-el</artifactId>
          <groupId>org.jboss.el</groupId>
        </exclusion>
        <exclusion>
          <artifactId>cssparser</artifactId>
          <groupId>net.sourceforge.cssparser</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.jboss.test-jsf</groupId>
      <artifactId>jsf-mock</artifactId>
      <version>1.0.7</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>easymock</artifactId>
          <groupId>org.easymock</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>com.sun.faces</groupId>
      <artifactId>jsf-api</artifactId>
      <version>2.1.3</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.sun.faces</groupId>
      <artifactId>jsf-impl</artifactId>
      <version>2.1.3</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <properties>
    <faces-vdl-documentation.version>1</faces-vdl-documentation.version>
    <faces-shade-transformers.version>5</faces-shade-transformers.version>
    <assembly.projects.group>org.richfaces.ui</assembly.projects.group>
  </properties>
</project>

