sanbing jcpp-parent 1.0.0-SNAPSHOT ../pom.xml 4.0.0 jcpp-web-ui jar JChargePointProtocol Server Web UI Module 前端模块 ${basedir}/.. com.github.eirslett frontend-maven-plugin target ${basedir} install node and npm install-node-and-npm v22.9.0 10.8.0 https://npmmirror.com/mirrors/node/ set npm registry npm config set registry https://registry.npmmirror.com npm install npm install --no-optional org.apache.maven.plugins maven-resources-plugin copy-frontend-build compile copy-resources ${project.build.directory}/classes/public ${basedir}/build false npm-build true com.github.eirslett frontend-maven-plugin target ${basedir} npm build compile npm run build:prod npm-start npm-start com.github.eirslett frontend-maven-plugin target ${basedir} npm start npm start