<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.1.2.GA</version>
	</parent>
	<modelVersion>4.0.0</modelVersion>
	<groupId>org.richfaces.ui</groupId>
	<artifactId>richfaces-ui</artifactId>
	<name>RichFaces JSF components library</name>
	<packaging>jar</packaging>
	<build>
		<plugins>
			<plugin>
				<groupId>org.richfaces.cdk</groupId>
				<artifactId>maven-cdk-plugin</artifactId>
				<version>3.1.2.GA</version>
				<configuration>
					<library>
						<prefix>org.richfaces</prefix>
						<description>RichFaces components</description>
						<taglibs>
							<taglib>
								<shortName>richfaces</shortName>
								<taglib>richfaces</taglib>
								<uri>
									http://richfaces.ajax4jsf.org/rich
								</uri>
								<displayName>
									RichFaces ( Legacy URL )
								</displayName>
								<excludeModules>core</excludeModules>
							</taglib>
							<taglib>
								<shortName>rich</shortName>
								<taglib>rich</taglib>
								<uri>http://richfaces.org/rich</uri>
								<displayName>RichFaces</displayName>
								<excludeModules>core</excludeModules>
							</taglib>
							<taglib>
								<shortName>a4j</shortName>
								<taglib>ajax4jsf</taglib>
								<uri>http://richfaces.org/a4j</uri>
								<displayName>Ajax4Jsf</displayName>
								<includeModules>core</includeModules>
							</taglib>
							<taglib>
								<shortName>ajax</shortName>
								<taglib>a4j</taglib>
								<uri>
									https://ajax4jsf.dev.java.net/ajax
								</uri>
								<displayName>
									Ajax4jsf ( Legacy URL )
								</displayName>
								<includeModules>core</includeModules>
							</taglib>
						</taglibs>
					</library>
				</configuration>
				<executions>
					<execution>
						<goals>
							<goal>assembly</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<!-- append extracted sources , for pack with library -->
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>build-helper-maven-plugin</artifactId>
				<executions>
					<execution>
						<id>add-source</id>
						<phase>process-sources</phase>
						<goals>
							<goal>add-source</goal>
						</goals>
						<configuration>
							<sources>
								<source>
									${project.build.directory}/src
								</source>
							</sources>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>net.sourceforge.maven-taglib</groupId>
				<artifactId>maven-taglib-plugin</artifactId>
				<configuration>
					<taglib.src.dir>
						${project.build.outputDirectory}/META-INF
					</taglib.src.dir>
					<tldDocDir>
						${project.build.directory}/tlddoc
					</tldDocDir>
				</configuration>

				<executions>
					<execution>
						<id>attach-javadoc</id>
						<phase>process-resources</phase>
						<goals>
							<goal>taglibdocjar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.2</version>
				<executions>
					<execution>
						<id>attach-javadoc</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-dependency-plugin</artifactId>
				<executions>
					<execution>
						<id>unpack</id>
						<phase>generate-resources</phase>
						<goals>
							<goal>unpack</goal>
						</goals>
						<configuration>
							<artifactItems>
								<artifactItem>
									<groupId>
										org.richfaces.docs.userguide
									</groupId>
									<artifactId>en</artifactId>
									<version>
										${project.version}
									</version>
									<type>war</type>
									<classifier>pdf</classifier>
									<outputDirectory>
										${project.build.directory}/docs/userguide/en
									</outputDirectory>
								</artifactItem>
							</artifactItems>
							<outputDirectory>
								${project.build.directory}/docs
							</outputDirectory>
							<overWriteReleases>false</overWriteReleases>
							<overWriteSnapshots>
								true
							</overWriteSnapshots>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<artifactId>maven-assembly-plugin</artifactId>
				<configuration>
					<outputDirectory>
						${project.build.directory}/dist
					</outputDirectory>
					<descriptors>
						<descriptor>
							${basedir}/src/main/assembly/richfaces.xml
						</descriptor>
						<descriptor>
							${basedir}/src/main/assembly/src.xml
						</descriptor>
					</descriptors>
				</configuration>
				<executions>
					<execution>
						<id>make-assembly</id>
						<phase>package</phase>
						<goals>
							<goal>attached</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<artifactId>maven-jar-plugin</artifactId>
				<configuration>
					<outputDirectory>
						${project.build.directory}/dist
					</outputDirectory>
				</configuration>
			</plugin>
		</plugins>
	</build>
	<dependencies />
</project>