blob: 481393e1bd3a41af4b00a264342fcb096f2b17a9 [file] [log] [blame]
<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.eclipse.lsp4e</groupId>
<artifactId>parent</artifactId>
<version>0.13.1-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.lsp4e</artifactId>
<packaging>eclipse-plugin</packaging>
<version>0.13.8-SNAPSHOT</version>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<filesets>
<fileset>
<directory>resources/highlight.min.js</directory>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>1.6.7</version>
<executions>
<execution>
<id>fetch-highlight.min.js</id>
<phase>generate-resources</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.2.0/highlight.min.js</url>
<unpack>false</unpack>
<overwrite>true</overwrite>
<skipCache>true</skipCache>
<outputDirectory>${project.basedir}/resources/highlight.min.js</outputDirectory>
</configuration>
</execution>
<execution>
<id>fetch-highlight.styles.default.min.css</id>
<phase>generate-resources</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.2.0/styles/default.min.css</url>
<unpack>false</unpack>
<overwrite>true</overwrite>
<skipCache>true</skipCache>
<outputDirectory>${project.basedir}/resources/highlight.min.js/styles</outputDirectory>
</configuration>
</execution>
<execution>
<id>fetch-highlight.styles.dark.min.css</id>
<phase>generate-resources</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.2.0/styles/dark.min.css</url>
<unpack>false</unpack>
<overwrite>true</overwrite>
<skipCache>true</skipCache>
<outputDirectory>${project.basedir}/resources/highlight.min.js/styles</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>