pom.xml 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>h5app-corp-quickstart</artifactId>
  7. <groupId>com.dingtalk</groupId>
  8. <version>1.0.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>frontend</artifactId>
  12. <properties>
  13. <main.basedir>${project.basedir}/..</main.basedir>
  14. <frontend-maven-plugin.version>1.6</frontend-maven-plugin.version>
  15. </properties>
  16. <build>
  17. <plugins>
  18. <plugin>
  19. <groupId>com.github.eirslett</groupId>
  20. <artifactId>frontend-maven-plugin</artifactId>
  21. <version>${frontend-maven-plugin.version}</version>
  22. <configuration>
  23. <installDirectory>target</installDirectory>
  24. <nodeVersion>v12.15.0</nodeVersion>
  25. <yarnVersion>v1.17.3</yarnVersion>
  26. <nodeDownloadRoot>https://npm.taobao.org/mirrors/node/</nodeDownloadRoot>
  27. <yarnDownloadRoot>https://npm.taobao.org/mirrors/yarn/</yarnDownloadRoot>
  28. </configuration>
  29. <executions>
  30. <execution>
  31. <id>install node and yarn</id>
  32. <goals>
  33. <goal>install-node-and-yarn</goal>
  34. </goals>
  35. <phase>generate-resources</phase>
  36. </execution>
  37. <execution>
  38. <id>yarn install</id>
  39. <goals>
  40. <goal>yarn</goal>
  41. </goals>
  42. <configuration>
  43. <arguments>install</arguments>
  44. </configuration>
  45. </execution>
  46. <execution>
  47. <id>yarn build</id>
  48. <goals>
  49. <goal>yarn</goal>
  50. </goals>
  51. <phase>compile</phase>
  52. <configuration>
  53. <arguments>build</arguments>
  54. </configuration>
  55. </execution>
  56. </executions>
  57. </plugin>
  58. <plugin>
  59. <groupId>com.mycila</groupId>
  60. <artifactId>license-maven-plugin</artifactId>
  61. <version>3.0</version>
  62. <executions>
  63. <execution>
  64. <phase>none</phase>
  65. </execution>
  66. </executions>
  67. </plugin>
  68. <plugin>
  69. <groupId>net.orfjackal.retrolambda</groupId>
  70. <artifactId>retrolambda-maven-plugin</artifactId>
  71. <version>2.5.5</version>
  72. <executions>
  73. <execution>
  74. <phase>none</phase>
  75. </execution>
  76. </executions>
  77. </plugin>
  78. </plugins>
  79. </build>
  80. </project>