<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.1</version>
	</parent>

	<name>Bootstrap Default Theme</name>
	<artifactId>webjar-bootstrap</artifactId>
	<version>4.3.1</version>
	<description>Default bootstrap theme.</description>
	
	<properties>
		<src.url>https://github.com/twbs/bootstrap/archive/v${src.version}.zip</src.url>
		<src.top>bootstrap-${src.version}</src.top>
		<systemjs>
			{
				"paths": {
					"bootstrap": "dist/js/bootstrap",
					"bootstrap-css": "dist/css/bootstrap"
				},
					"shim": {
						"bootstrap": [ "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}">
										<include name="dist/js/bootstrap.js" />
										<include name="dist/js/bootstrap.min.js" />
										<include name="dist/css/bootstrap.css" />
										<include name="dist/css/bootstrap.min.css" />
										<include name="LICENSE" />
										<include name="README.md" />
									</fileset>
								</move>
							</target>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
	
	<dependencies>
		<dependency>
			<groupId>org.fujion.webjars</groupId>
			<artifactId>webjar-popperjs</artifactId>
			<version>1.14.7</version>
		</dependency>
	</dependencies>

  <scm>
    <tag>4.3.1</tag>
  </scm>
</project>
