/
githubmirror
/
alluxio
Обзор
Документация
Войти
/
githubmirror
/
alluxio
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
webui/pom.xml
203 строки
7 KB
Rico Chiu
Update version to 2.10.0-SNAPSHOT
02 июл 2024, 23:56
02 июл 2024, 23:56
e55bf07
Код
Авторство
О чём код?
<!-- 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>2.10.0-SNAPSHOT</version> </parent> <artifactId>alluxio-webui</artifactId> <version>2.10.0-SNAPSHOT</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> <artifactId>exec-maven-plugin</artifactId> <version>1.4.0</version> <groupId>org.codehaus.mojo</groupId> <inherited>false</inherited> <executions> <execution> <id>Remove cached node modules and built web applications</id> <phase>clean</phase> <goals> <goal>exec</goal> </goals> <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> <phase>process-sources</phase> <goals> <goal>exec</goal> </goals> <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> <phase>generate-resources</phase> <goals> <goal>exec</goal> </goals> <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> <phase>test</phase> <goals> <goal>exec</goal> </goals> <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> <phase>verify</phase> <goals> <goal>exec</goal> </goals> <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> <excludes> <exclude>**/node_modules/**</exclude> <exclude>node/**</exclude> <exclude>**/build/**</exclude> <exclude>**/*.snap</exclude> <exclude>**/coverage/**</exclude> <!-- auto-generated css --> <exclude>**/*.css</exclude> </excludes> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>no-webui-linter</id> <build> <plugins> <plugin> <artifactId>exec-maven-plugin</artifactId> <version>1.4.0</version> <groupId>org.codehaus.mojo</groupId> <inherited>false</inherited> <executions> <execution> <id>run-linter</id> <phase>none</phase> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>