| <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.6-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.0</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/10.1.1/highlight.min.js</url> |
| <unpack>false</unpack> |
| <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/10.1.1/styles/default.min.css</url> |
| <unpack>false</unpack> |
| <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/10.1.1/styles/dark.min.css</url> |
| <unpack>false</unpack> |
| <outputDirectory>${project.basedir}/resources/highlight.min.js/styles</outputDirectory> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |