<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>CKEditor Web Jars</name>
	<artifactId>webjar-ckeditor</artifactId>
	<version>4.11.3</version>
	<packaging>pom</packaging>
	<description>Web jar packaging of CKEditor packages.</description>

	<properties>
		<src.url>https://download.cksource.com/CKEditor/CKEditor/CKEditor%20${src.version}/ckeditor_${src.version}_${ckeditor.package}.zip</src.url>
	</properties>
	
	<modules>
		<module>webjar-ckeditor-basic</module>
		<module>webjar-ckeditor-standard</module>
		<module>webjar-ckeditor-full</module>
	</modules>

	<build>
		<pluginManagement>
			<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.tmpdir}/ckeditor" includes="**/*.*" excludes="samples/**" />
									</move>
								</target>
							</configuration>
						</execution>
					</executions>
				</plugin>
			</plugins>
		</pluginManagement>
	</build>

  <scm>
    <tag>4.11.3</tag>
  </scm>
</project>
