<?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.0.0.Alpha2</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.0.0.Alpha2</version>
  <scm>
    <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/root/ui/dist/tags/richfaces-ui-dist-4.0.0.Alpha2/richfaces-components-api</connection>
    <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/root/ui/dist/tags/richfaces-ui-dist-4.0.0.Alpha2/richfaces-components-api</developerConnection>
    <url>http://fisheye.jboss.org/browse/richfaces/tags/richfaces-ui-dist-4.0.0.Alpha2</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>1</version>
          </dependency>
        </dependencies>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>release</id>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-dependency-plugin</artifactId>
            <executions>
              <execution>
                <id>deps</id>
                <phase>process-sources</phase>
                <goals>
                  <goal>unpack-dependencies</goal>
                </goals>
                <configuration>
                  <classifier>sources</classifier>
                  <includeGroupIds>org.richfaces.ui.iteration</includeGroupIds>
                  <useSubDirectoryPerArtifact>true</useSubDirectoryPerArtifact>
                  <excludeTransitive>true</excludeTransitive>
                </configuration>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <artifactId>maven-javadoc-plugin</artifactId>
            <version>2.7</version>
            <executions>
              <execution>
                <id>javadoc-jar</id>
                <phase>package</phase>
                <goals>
                  <goal>jar</goal>
                </goals>
                <configuration>
                  <sourcepath>${basedir}/target/dependency</sourcepath>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
  <dependencies>
    <dependency>
      <groupId>org.richfaces.core</groupId>
      <artifactId>richfaces-core-api</artifactId>
      <version>4.0.0.Alpha2</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.richfaces.core</groupId>
      <artifactId>richfaces-core-impl</artifactId>
      <version>4.0.0.Alpha2</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.richfaces.commons</groupId>
      <artifactId>richfaces-commons-api</artifactId>
      <version>4.0.0.Alpha2</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>com.sun.faces</groupId>
      <artifactId>jsf-api</artifactId>
      <version>2.0.2</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>com.sun.faces</groupId>
      <artifactId>jsf-impl</artifactId>
      <version>2.0.2</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>javax.el</groupId>
      <artifactId>el-api</artifactId>
      <version>1.0</version>
      <scope>provided</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.servlet</groupId>
      <artifactId>jstl</artifactId>
      <version>1.2</version>
      <scope>provided</scope>
    </dependency>
  </dependencies>
  <properties>
    <faces-shade-transformers.version>1</faces-shade-transformers.version>
    <assembly.projects.group>org.richfaces.ui</assembly.projects.group>
  </properties>
</project>

