Questions tagged [maven-frontend-plugin]
17 questions
15
votes
3 answers
Cannot find module '@babel/plugin-proposal-class-properties' – React+Spring-boot
I am trying to integrate an exist project of ReactJS into a project of Spring-boot.
I am using in project that have already run good by a tutorial that I’ve implemented.
The pom.xml is using with frontend-maven-plugin .
Before I have copied the…

lingar
- 477
- 1
- 7
- 25
7
votes
1 answer
Cannot install node through Front End Maven Plugin due to certificate error
I am not able to install npm and node when I run front end maven plugin
I get below error :
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.0:install-node-and-npm (install node and npm) on project : Could not download…

Atul
- 1,560
- 5
- 30
- 75
4
votes
3 answers
Parameterized Angular CLI build call from Maven (Eirslett's plugin)
I'm building a Java web app that packages in a WAR static resources. These static resources are built through Angular-CLI.
The Maven build triggers the ng build through Eirslett's maven-frontend-plugin, with npm scripts and the npm mojo.
Problem is,…

Silver Quettier
- 2,045
- 2
- 26
- 53
3
votes
0 answers
Problem in updating node version for frontend-maven-plugin maven
Preface:
Maven version : 2.3.2
frontend-maven-plugin version: 0.0.16
Node version : v0.12.9
npmVersion : 1.4.28
While building Plugin got error
"const os = require('os'); Use of const in strict mode."
Most of the suggestion i found, to update…

jasim
- 268
- 1
- 5
- 16
1
vote
0 answers
Nexus to proxy yarn registry
I have a Java app with a JavaScript frontend. I am using the maven-frontend-plugin
to download node and yarn, to install yarn modules and to build the frontend with yarn. By default, yarn searches for the node modules such as…

Ivan dal Bosco
- 3,233
- 4
- 19
- 24
1
vote
1 answer
Missing component in Angular when it has service mentioned in constructor, non used inside the component itself. JHipster app
Here what we have in browser's debug:
const Mp = {
pageTitle: "ученику"
}
, Ap = {
path: "to-student",
component: Fp,
data: Mp,
canActivate: [m.b]
};
class Dp {
constructor() {}
…

Eljah
- 4,188
- 4
- 41
- 85
1
vote
0 answers
Setup different '/error' handling for back-end Spring Boot and embedded front-end Angular
I'm building a Java Spring Boot Rest API and a front-end in Angular.
The Angular front-end needs to be embedded inside the Spring Boot Java Application. To do this I used frontend-maven-plugin by eirslett.
When I run my application, both the…

Matti VM
- 1,074
- 1
- 11
- 18
1
vote
0 answers
Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.7.5:npm (angularcli build dev) Failed to run task: 'npm run build' failed
i have a web application using java and angular for front
a few days ago i migrate from ng5 to ng7 and start to use npm instead of yarn package manager.
before migration everything was all right but after that when i run spring-boot:run goal i get…

Nariman Mandi
- 65
- 10
1
vote
0 answers
eirslett frontend-maven-plugin failing with 403 on yarn install
I am using eirslett frontend-maven-plugin to build war file but getting the below error:
[ERROR] error An unexpected error occurred:
"http://registry.npmjs.org/calendar-utils/-/calendar-utils-0.1.2.tgz:
Request failed \"403 Forbidden\"".
below…

sachingupta
- 709
- 2
- 9
- 30
0
votes
1 answer
Maven frontend plugin is running twice on mvn install
The frontend module pom is just configured with:
com.github.eirslett
frontend-maven-plugin
1.12.1
…

user2668735
- 1,048
- 2
- 18
- 30
0
votes
0 answers
Angular+Spring: handle routes correctly
I fail to configure Spring correctly with static resources. I read many posts everywhere, found various but incomplete responses.
Context:
Angular module (build with maven-frontend-plugin)
Fronted embedded in the Spring fatjar
Backend only handles…

user2668735
- 1,048
- 2
- 18
- 30
0
votes
0 answers
maven-front-end-plugin not working but build is success
I am trying to create ROOT.war to deploy my app to Azure. I have no error in my build after I run
mvn clean install Pprod
but my ROOT.war is missing index.html.
Here is my pom.xml
ROOT
…

LaCodeM
- 645
- 7
- 23
0
votes
1 answer
frontend-maven-plugin when it runs npm run build can't find package.json file
I'm building an app with spring boot backend and angular frontend.
I am using frontend-maven-plugin to build the frontend when running maven
When I run mvn spring-boot:run i get this error:
mvn spring-boot:run
[INFO] Scanning for…

Biafra
- 83
- 2
- 11
0
votes
2 answers
frontend maven plugin fails to execute goal
If I run mvn clean install for my Angular project, I'm getting the following error:
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.4:npm (npm build) on project client: Failed to run task: 'npm run build' failed.…

Niels Ferguson
- 352
- 1
- 6
- 16
0
votes
1 answer
How to stop Gulp from watching for changes when used with with maven build?
I am using gulp with frontend-maven-plugin. All my tasks defined in gulp are working one. There is just one BIG issue. After gulp task executes the cmd waits in an infinite loop or rather GULP watches over the file for changes as I am using…

Oliver
- 6,152
- 2
- 42
- 75