eirslett / frontend-maven-plugin

"Maven-node-grunt-gulp-npm-node-plugin to end all maven-node-grunt-gulp-npm-plugins." A Maven plugin that downloads/installs Node and NPM locally, runs NPM install, Grunt, Gulp and/or Karma.
Apache License 2.0
4.21k stars 867 forks source link

How to compile using Maven command #1016

Closed CloudWise-Lukemiao closed 2 years ago

CloudWise-Lukemiao commented 2 years ago

I have a front-end project written by react. When I execute the following command "MVN install - dmaven. Test. Skip = true", no compilation is performed。 My POM The XML is as follows:

`<?xml version="1.0" encoding="UTF-8"?>

4.0.0 mydb-plugin com 0.0.1-SNAPSHOT pom test com.github.eirslett frontend-maven-plugin 1.6 false v12.22.1 6.14.12 v1.22.10 http://nodejs.org/dist/ http://github.com/yarnpkg/yarn/releases/download/ yarn config set yarn config set registry https://registry.npm.taobao.org yarn install yarn install yarn build yarn build `