<?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-api</artifactId>
  <name>Richfaces UI Components API</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}.*:*-api:*</include>
                </includes>
              </artifactSet>
              <createSourcesJar>true</createSourcesJar>
            </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>
            </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-api/target/dependency</sourcepath>
                  <keywords>true</keywords>
                  <quiet>true</quiet>
                  <detectOfflineLinks>false</detectOfflineLinks>
                  <header>&lt;b&gt;Richfaces UI Components API 4.1.0.20111014-M3&lt;/b&gt;</header>
                  <footer>&lt;b&gt;Richfaces UI Components API 4.1.0.20111014-M3&lt;/b&gt;</footer>
                </configuration>
              </execution>
            </executions>
            <configuration>
              <sourcepath>/home/lfryc/workspaces/release/framework/components/dist/richfaces-components-api/target/dependency</sourcepath>
              <keywords>true</keywords>
              <quiet>true</quiet>
              <detectOfflineLinks>false</detectOfflineLinks>
              <header>&lt;b&gt;Richfaces UI Components API 4.1.0.20111014-M3&lt;/b&gt;</header>
              <footer>&lt;b&gt;Richfaces UI Components API 4.1.0.20111014-M3&lt;/b&gt;</footer>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </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.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.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-shade-transformers.version>4</faces-shade-transformers.version>
    <assembly.projects.group>org.richfaces.ui</assembly.projects.group>
  </properties>
</project>

