pom.xml 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Licensed to the Apache Software Foundation (ASF) under one or more
  4. ~ contributor license agreements. See the NOTICE file distributed with
  5. ~ this work for additional information regarding copyright ownership.
  6. ~ The ASF licenses this file to You under the Apache License, Version 2.0
  7. ~ (the "License"); you may not use this file except in compliance with
  8. ~ the License. You may obtain a copy of the License at
  9. ~
  10. ~ http://www.apache.org/licenses/LICENSE-2.0
  11. ~
  12. ~ Unless required by applicable law or agreed to in writing, software
  13. ~ distributed under the License is distributed on an "AS IS" BASIS,
  14. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. ~ See the License for the specific language governing permissions and
  16. ~ limitations under the License.
  17. -->
  18. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  19. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  20. <modelVersion>4.0.0</modelVersion>
  21. <parent>
  22. <groupId>org.apache.dolphinscheduler</groupId>
  23. <artifactId>dolphinscheduler</artifactId>
  24. <version>3.2.2-SNAPSHOT</version>
  25. </parent>
  26. <artifactId>dolphinscheduler-ui</artifactId>
  27. <name>${project.artifactId}</name>
  28. <properties>
  29. <node.version>v16.13.1</node.version>
  30. <pnpm.version>v6.32.6</pnpm.version>
  31. <sonar.sources>src</sonar.sources>
  32. <frontend-maven-plugin.version>1.12.1</frontend-maven-plugin.version>
  33. </properties>
  34. <profiles>
  35. <profile>
  36. <id>release</id>
  37. <build>
  38. <plugins>
  39. <plugin>
  40. <groupId>com.github.eirslett</groupId>
  41. <artifactId>frontend-maven-plugin</artifactId>
  42. <version>${frontend-maven-plugin.version}</version>
  43. <configuration>
  44. <skip>${build.ui.skip}</skip>
  45. <pnpmInheritsProxyConfigFromMaven>false</pnpmInheritsProxyConfigFromMaven>
  46. </configuration>
  47. <executions>
  48. <execution>
  49. <id>install node and pnpm</id>
  50. <goals>
  51. <goal>install-node-and-pnpm</goal>
  52. </goals>
  53. <configuration>
  54. <nodeVersion>${node.version}</nodeVersion>
  55. <pnpmVersion>${pnpm.version}</pnpmVersion>
  56. </configuration>
  57. </execution>
  58. <execution>
  59. <id>pnpm install</id>
  60. <goals>
  61. <goal>pnpm</goal>
  62. </goals>
  63. <phase>generate-resources</phase>
  64. <configuration>
  65. <arguments>install</arguments>
  66. </configuration>
  67. </execution>
  68. <execution>
  69. <id>pnpm run build:prod</id>
  70. <goals>
  71. <goal>pnpm</goal>
  72. </goals>
  73. <configuration>
  74. <arguments>run build:prod</arguments>
  75. </configuration>
  76. </execution>
  77. </executions>
  78. </plugin>
  79. </plugins>
  80. </build>
  81. </profile>
  82. </profiles>
  83. </project>