Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.02 KB | None | 0 0
  1. <build>
  2. <plugins>
  3. <plugin>
  4. <groupId>com.github.eirslett</groupId>
  5. <artifactId>frontend-maven-plugin</artifactId>
  6. <!-- Use the latest released version:
  7. https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ -->
  8. <version>1.7.5</version>
  9. <executions>
  10. <execution>
  11. <!-- optional: you don't really need execution ids, but it looks nice in your build log. -->
  12. <id>install node and npm</id>
  13. <goals>
  14. <goal>install-node-and-npm</goal>
  15. </goals>
  16. <!-- optional: default phase is "generate-resources" -->
  17. <phase>generate-resources</phase>
  18. </execution>
  19.  
  20. </executions>
  21. <configuration>
  22. <nodeVersion>v11.15.0</nodeVersion>
  23. <npmDownloadRoot>https://nodejs.org/dist/v6.11.3/win-x64/node.exe</npmDownloadRoot>
  24.  
  25. </configuration>
  26.  
  27. </plugin>
  28. <plugin>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-maven-plugin</artifactId>
  31. </plugin>
  32. <plugin>
  33. <groupId>org.codehaus.mojo</groupId>
  34. <artifactId>exec-maven-plugin</artifactId>
  35. <version>1.3.2</version>
  36. <executions>
  37. <execution>
  38. <id>npm run build</id>
  39. <goals>
  40. <goal>exec</goal>
  41. </goals>
  42. <phase>compile</phase>
  43. <configuration>
  44. <executable>npm</executable>
  45. <arguments>
  46. <argument>run</argument>
  47. <argument>build</argument>
  48. </arguments>
  49. </configuration>
  50. </execution>
  51. </executions>
  52. </plugin>
  53. </plugins>
  54. </build>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement