<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/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>

	<parent>
		<groupId>org.fujion.webjars</groupId>
		<artifactId>fujion-webjars</artifactId>
		<version>2.1.0</version>
	</parent>

	<name>JQuery UI</name>
	<artifactId>webjar-jquery-ui</artifactId>
	<version>1.12.1</version>
	<description>JQuery UI</description>

	<properties>
		<src.url>http://jqueryui.com/resources/download/jquery-ui-${src.version}.zip</src.url>
		<src.top>jquery-ui-${src.version}</src.top>
		<systemjs>
			{
				"paths": {
					"jquery-ui": "jquery-ui",
					"jquery-ui-min": "jquery-ui.min",
					"jquery-ui-css": "jquery-ui.css"
				},
				"shim": {
					"jquery-ui": [ "jquery" ],
					"jquery-ui-min": [ "jquery" ]
				}
			}			
		</systemjs>
	</properties>
	
	<build>
		<plugins>
			<plugin>
				<artifactId>maven-antrun-plugin</artifactId>
				<executions>
					<execution>
						<id>precompile</id>
						<configuration>
							<target>
								<get src="${src.url}" dest="${src.zipdir}/src.zip" />
								<unzip src="${src.zipdir}/src.zip" dest="${src.tmpdir}" />
								<move todir="${webjar.target}">
									<fileset dir="${src.rootdir}" excludes="external/**,*.html,package.json" />
								</move>
							</target>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>

  <scm>
    <tag>1.12.1</tag>
  </scm>
</project>
