2022-07-18 12:54:20 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
<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">
|
2018-09-05 17:12:55 +08:00
|
|
|
<parent>
|
|
|
|
<artifactId>arthas-all</artifactId>
|
2022-07-18 12:54:20 +08:00
|
|
|
<groupId>com.taobao.arthas</groupId>
|
2020-10-18 23:29:12 +08:00
|
|
|
<version>${revision}</version>
|
2018-09-05 17:12:55 +08:00
|
|
|
</parent>
|
2022-07-18 12:54:20 +08:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2022-07-30 17:11:34 +08:00
|
|
|
<name>arthas-site</name>
|
2022-11-18 11:21:53 +08:00
|
|
|
<url>https://github.com/alibaba/arthas</url>
|
2022-07-18 16:05:40 +08:00
|
|
|
<artifactId>arthas-site</artifactId>
|
2022-07-18 12:54:20 +08:00
|
|
|
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<yarn.registry.url>https://registry.npmmirror.com/</yarn.registry.url>
|
|
|
|
<node.download.url>https://npmmirror.com/mirrors/node/</node.download.url>
|
|
|
|
<node.version>v16.13.2</node.version>
|
|
|
|
<yarn.version>v1.22.15</yarn.version>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<build>
|
2022-07-18 16:05:40 +08:00
|
|
|
<finalName>arthas-site</finalName>
|
2022-07-18 12:54:20 +08:00
|
|
|
|
|
|
|
<!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
|
|
|
|
<plugins>
|
2022-07-18 17:04:15 +08:00
|
|
|
|
2022-07-18 12:54:20 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.eirslett</groupId>
|
|
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
|
|
|
<!-- Use the latest released version:
|
|
|
|
https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ -->
|
|
|
|
<version>1.12.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<!-- optional: you don't really need execution ids, but it looks nice in your build log. -->
|
|
|
|
<id>install node and yarn</id>
|
|
|
|
<goals>
|
|
|
|
<goal>install-node-and-yarn</goal>
|
|
|
|
</goals>
|
|
|
|
<!-- optional: default phase is "generate-resources" -->
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>set registry</id>
|
|
|
|
<goals>
|
|
|
|
<goal>yarn</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<configuration>
|
|
|
|
<arguments>config set registry ${yarn.registry.url}</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>yarn install</id>
|
|
|
|
<goals>
|
|
|
|
<goal>yarn</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<!-- optional: The default argument is actually
|
|
|
|
"install", so unless you need to run some other yarn command,
|
|
|
|
you can remove this whole <configuration> section.
|
|
|
|
-->
|
|
|
|
<arguments>install</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
2022-07-18 17:04:15 +08:00
|
|
|
<id>vuepress build</id>
|
2022-07-18 12:54:20 +08:00
|
|
|
<goals>
|
2022-07-18 17:04:15 +08:00
|
|
|
<goal>yarn</goal>
|
2022-07-18 12:54:20 +08:00
|
|
|
</goals>
|
|
|
|
<configuration>
|
2022-07-18 17:04:15 +08:00
|
|
|
<arguments>docs:build</arguments>
|
2022-07-18 12:54:20 +08:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<nodeVersion>${node.version}</nodeVersion>
|
|
|
|
<yarnVersion>${yarn.version}</yarnVersion>
|
|
|
|
|
|
|
|
<!-- optional: where to download node from. Defaults to https://nodejs.org/dist/ -->
|
|
|
|
<nodeDownloadRoot>${node.download.url}</nodeDownloadRoot>
|
2022-07-18 17:04:15 +08:00
|
|
|
<installDirectory>target</installDirectory>
|
2022-07-18 12:54:20 +08:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|