Questions tagged [frontend-maven-plugin]
30 questions
10
votes
7 answers
frontend-maven-plugin fails npm install
I can use the command line to run npm install and npm run build on my project but when I try to use the frontend-maven-plugin it fails with the following error
[INFO] ------------------------------------------------------------------------
[INFO]…

flareback
- 418
- 1
- 4
- 14
9
votes
2 answers
Maven. Skip plugin execution when running tests
In my pom.xml I have frontend-maven-plugin.
com.github.eirslett
frontend-maven-plugin
1.4
v6.11.0
…

htshame
- 6,599
- 5
- 36
- 56
3
votes
0 answers
Cache node module library with plugin frontend-maven-plugin
I have a react project that I configured on Gitlab CICD Pipeline (with docker).
In my pipeline, I have a step for create the package that use frontend-maven-plugin plugin (Packaging)
Each time I run the pipeline all artifact are download. I want to…

Broshet
- 133
- 12
3
votes
0 answers
FATAL ERROR: Zone Allocation failed - process out of memory + eirslett-frontend-maven-plugin + Java + webpack + Maven
Getting following error while building package.
it can be solve in script while packaging local with --max_old_space_size=4098 this option.
I tried with but didn't work as well arguments.
Anyone know the way to set in…

Faeem Mansuri
- 31
- 2
2
votes
1 answer
Hooking in Node.js and npm to a Spring Boot web app
I'm new to this topic and stuck for two days so I would really appreciate your help.
I'm trying to connect my Spring Boot to React. But I don't have package.json created anywhere just a node folder.
My steps:
I create Spring Boot 3.0.4 project with…

Max Kremlev
- 99
- 9
2
votes
0 answers
Running Jest --coverage with frontend-maven-plugin resutls in empty coverage info
I've set up my package.json to run jest with coverage :
"scripts": {
"sonar": "node sonar-project.js",
"test": "jest --coverage",
"test-analyze": "npm run test && npm run sonar"
},
running npm test will ouput correct lcov.info and lcov-report…

potame
- 7,597
- 4
- 26
- 33
2
votes
0 answers
Can't download Cypress in gitlab CI/CD pipelin with maven docker image
I have a Gitlab pipeline which executes a maven build in a docker image (maven:3.5.2-jdk-8)
When I execute the command
- mvn $MAVEN_CLI_OPTS -P package_project -U clean install -Dmaven.test.skip=true
I get a yarn error because Cypress cannot be…

Broshet
- 133
- 12
2
votes
0 answers
Is it possible to configure the git command used by npm in the maven frontend-maven-plugin to pull dependencies?
I'm using the frontend-maven-plugin plugin to pull the dependencies for the frontend of a multi-module maven project, as…

Joseph McCarthy
- 897
- 2
- 19
- 41
2
votes
1 answer
Maven build failure in Angular
I'm trying to deploy my angular and spring boot application but I'm having trouble executing mvn clean compile spring-boot:run I keep on getting a build failure from my angular pom.
This is what the error is saying
C:\work\projects\todo>mvn clean…

Christiaan
- 639
- 1
- 8
- 18
1
vote
1 answer
Web application stopped compiling - ReferenceError: TextDecoder is not defined
My project was working fine but suddenly, without any changes, it started failing. Follow the errors:
[INFO] const TEXT_DECODER = new TextDecoder();
[INFO] ^
[INFO]
[INFO] ReferenceError: TextDecoder is not defined
[INFO] …

FelipeCaparelli
- 135
- 3
- 13
1
vote
0 answers
Spring Boot - Angular - frontend-maven-plugin - Docker = cors error
I created a spring boot (3.0) backend application and used an angular frontend for it.
I want to use the frontend-maven-plugin to put the frontend in the static folder of the spring boot application. This works as long as I run the application in a…

Tamás Mészáros
- 11
- 1
1
vote
1 answer
Build with frontend-maven-plugin fails on mac M1: Could not download Node.js
The frontend-maven-plugin tries to download a node file which does not exist.
When I look into https://nodejs.org/dist/v10.15.3 I can only see a file named node-v10.15.3-darwin-x64.tar.gz
[INFO] --- frontend-maven-plugin:1.7.5:install-node-and-npm…

Matthias M
- 12,906
- 17
- 87
- 116
1
vote
0 answers
Extra directory layer added to path with Maven compile
I am trying to use maven to compile my first JHipster basic app. I have node as an exe & npm as a symbolic link locally at the path /home/myuser/.nvm/versions/node/v16.17.0/bin (see ll below), and I want to use my local node & npm, not have maven…

chocalaca
- 330
- 2
- 17
1
vote
1 answer
Unable to build maven project - M1
I'm an on M1 MAC trying to use the Azul jdk: https://cdn.azul.com/zulu/bin/zulu8.62.0.19-ca-jdk8.0.332-macosx_aarch64.dmg
I've installed it (see outputs below):
java -version
openjdk version "1.8.0_345"
OpenJDK Runtime Environment (Zulu…

Daniel Johnson
- 193
- 2
- 14
1
vote
0 answers
Mojofailureexception with Vaadin 20 and Webpack.js
I've been trying to create a new app with vaadin-fusion (version 20), being an inexperienced student developer, I cannot resolve or even pinpoint the origin of the error that arises every time I attempt to compile frontend with vaadin designer…