com.github.erislett:frontend-maven-plugin Issue while build the codebase | Community
Skip to main content
Level 5
March 19, 2024
Solved

com.github.erislett:frontend-maven-plugin Issue while build the codebase

  • March 19, 2024
  • 1 reply
  • 444 views

Hi Team

 

Currently we are working on Government Project where we are not allowed to used Public repositories & install the Plugin After necessary Approval .

 

Currently we getting following error even though we installed NPM and NodeJS . Please advice to fix Frontend module  build issue  & Is there any way build only Frontend Module same as core module.

 

<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<executions>
<execution>
<id>npm run prod</id>
<phase>generate-resources</phase>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>run prod</arguments>
</configuration>
</execution>
</executions>
</plugin>

 

Regards

Vara

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by anupampat

Hi @varaande ,

 

You can build the ui.frontend module by simply doing a mvn clean install -Padobe-public, which will then minify the JS/CSS and put them under ui.apps, under appropriate clientlibs and then  simply run mvn clean install -PautoInstallPackage -Padobe-public for it to be deployed on server.

1 reply

anupampat
Community Advisor
anupampatCommunity AdvisorAccepted solution
Community Advisor
March 20, 2024

Hi @varaande ,

 

You can build the ui.frontend module by simply doing a mvn clean install -Padobe-public, which will then minify the JS/CSS and put them under ui.apps, under appropriate clientlibs and then  simply run mvn clean install -PautoInstallPackage -Padobe-public for it to be deployed on server.