/
githubmirror
/
alluxio
Обзор
Документация
Войти
/
githubmirror
/
alluxio
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v310
webui/pom.xml
209 строк
7 KB
Alluxio Bot
Update version to 310
23 фев 2024, 11:58
23 фев 2024, 11:58
fa279a9
Код
Авторство
О чём код?
<?xml version="1.0" encoding="UTF-8"?> <!-- The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 (the "License"). You may not use this work except in compliance with the License, which is available at www.apache.org/licenses/LICENSE-2.0 This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, as more fully set forth in the License. See the NOTICE file distributed with this work for information regarding copyright ownership. --> <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.alluxio</groupId> <artifactId>alluxio-parent</artifactId> <version>310</version> </parent> <artifactId>alluxio-webui</artifactId> <version>310</version> <packaging>pom</packaging> <name>Alluxio UI</name> <description>Alluxio web UI pom</description> <properties> <build.path>${project.parent.basedir}/build</build.path> </properties> <build> <plugins> <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> <id>install node and npm</id> <goals> <goal>install-node-and-npm</goal> </goals> <phase>process-sources</phase> <configuration> <nodeVersion>v10.11.0</nodeVersion> <npmVersion>6.4.1</npmVersion> </configuration> </execution> <execution> <id>Install npm dependencies for lerna</id> <goals> <goal>npm</goal> </goals> <phase>process-sources</phase> <configuration> <arguments>ci</arguments> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>1.4.0</version> <inherited>false</inherited> <executions> <execution> <id>Remove cached node modules and built web applications</id> <goals> <goal>exec</goal> </goals> <phase>clean</phase> <configuration> <executable>rm</executable> <arguments> <argument>-rf</argument> <argument>node</argument> <argument>node_modules</argument> <argument>common/build</argument> <argument>common/node_modules</argument> <argument>master/build</argument> <argument>master/node_modules</argument> <argument>worker/build</argument> <argument>worker/node_modules</argument> </arguments> </configuration> </execution> <execution> <id>Install npm dependencies for packages</id> <goals> <goal>exec</goal> </goals> <phase>process-sources</phase> <configuration> <executable>node/node</executable> <arguments> <argument>node_modules/.bin/lerna</argument> <argument>bootstrap</argument> <argument>--ci</argument> </arguments> </configuration> </execution> <execution> <id>Build all packages</id> <goals> <goal>exec</goal> </goals> <phase>generate-resources</phase> <configuration> <executable>node/node</executable> <arguments> <argument>node_modules/.bin/lerna</argument> <argument>run</argument> <argument>build</argument> <argument>--</argument> <argument>--production --no-save --no-package-lock --no-shrinkwrap</argument> </arguments> </configuration> </execution> <execution> <id>Test all packages</id> <goals> <goal>exec</goal> </goals> <phase>test</phase> <configuration> <executable>node/node</executable> <arguments> <argument>node_modules/.bin/lerna</argument> <argument>run</argument> <argument>test-ci</argument> <!-- NOTE: using the "test" command here will hang execution --> <argument>--</argument> <argument>--production --no-save --no-package-lock --no-shrinkwrap</argument> </arguments> </configuration> </execution> <execution> <id>run-linter</id> <goals> <goal>exec</goal> </goals> <phase>verify</phase> <configuration> <executable>node/node</executable> <arguments> <argument>node_modules/.bin/lerna</argument> <argument>run</argument> <argument>eslint</argument> </arguments> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId> <configuration> <mapping> <ts>PHP_STYLE</ts> </mapping> <licenseSets> <licenseSet> <excludes> <exclude>**/node_modules/**</exclude> <exclude>node/**</exclude> <exclude>**/build/**</exclude> <exclude>**/*.snap</exclude> <exclude>**/coverage/**</exclude> <!-- auto-generated css --> <exclude>**/*.css</exclude> </excludes> </licenseSet> </licenseSets> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>no-webui-linter</id> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>1.4.0</version> <inherited>false</inherited> <executions> <execution> <id>run-linter</id> <phase>none</phase> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>