pom.xml 2.1 KB
Newer Older
L
lidongdai 已提交
1
<?xml version="1.0" encoding="UTF-8"?>
L
lgcareer 已提交
2 3 4
<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">
L
lidongdai 已提交
5 6 7
  <parent>
    <artifactId>dolphinscheduler</artifactId>
    <groupId>org.apache.dolphinscheduler</groupId>
L
lgcareer 已提交
8
    <version>1.1.0-SNAPSHOT</version>
L
lidongdai 已提交
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
  </parent>
  <modelVersion>4.0.0</modelVersion>

  <artifactId>dolphinscheduler-ui</artifactId>

  <name>${project.artifactId}</name>

  <properties>
    <node.version>v10.15.1</node.version>
    <npm.version>6.4.1</npm.version>
  </properties>

  <build>
    <plugins>
      <plugin>
        <groupId>com.github.eirslett</groupId>
        <artifactId>frontend-maven-plugin</artifactId>
L
lidongdai 已提交
26
        <version>${frontend-maven-plugin.version}</version>
L
lidongdai 已提交
27
        <executions>
L
lgcareer 已提交
28
          <!--<execution>
L
lidongdai 已提交
29 30 31 32 33 34 35 36
            <id>install node and npm</id>
            <goals>
              <goal>install-node-and-npm</goal>
            </goals>
            <configuration>
              <nodeVersion>${node.version}</nodeVersion>
              <npmVersion>${npm.version}</npmVersion>
            </configuration>
L
lgcareer 已提交
37
          </execution>-->
L
lidongdai 已提交
38 39 40 41 42 43 44 45 46 47
          <execution>
            <id>npm install</id>
            <goals>
              <goal>npm</goal>
            </goals>
            <phase>generate-resources</phase>
            <configuration>
              <arguments>install</arguments>
            </configuration>
          </execution>
L
lgcareer 已提交
48
          <execution>
L
lidongdai 已提交
49 50 51 52 53 54 55 56
            <id>npm run unit</id>
            <phase>test</phase>
            <goals>
              <goal>npm</goal>
            </goals>
            <configuration>
              <arguments>run unit</arguments>
            </configuration>
L
lgcareer 已提交
57
          </execution>
L
lidongdai 已提交
58 59 60 61 62 63 64 65 66 67 68 69 70 71
          <execution>
            <id>npm run build</id>
            <goals>
              <goal>npm</goal>
            </goals>
            <configuration>
              <arguments>run build</arguments>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>