frontend-maven-plugin icon indicating copy to clipboard operation
frontend-maven-plugin copied to clipboard

react spring data rest tutorial / the frontend plugin no working

Open uliattiogbe opened this issue 4 years ago • 3 comments

Do you want to request a feature or report a bug?

What is the current behavior?

If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?

Please mention your frontend-maven-plugin and operating system version.

uliattiogbe avatar Dec 14 '20 23:12 uliattiogbe

I am new to the frontend maven plugin usage and react-spring application. I follow the tutorial at https://spring.io/guides/tutorials/react-and-spring-data-rest/

I copy and paste the below plugin in the pom.xml of my springboot app but there is updated in my target follow as expected. <plugin> <groupId>com.github.eirslett</groupId> <artifactId>frontend-maven-plugin</artifactId> </plugin>

I have node already installed . I read about using the exec-plugin, but nothing: <plugin><groupId>com.github.eirslett</groupId> <artifactId>exec-maven-plugin</artifactId> </plugin>

do I have to add execution and configuration tags and so on to the plugin? Any direction or alternative to have the expected target folder structure I will really appreciate.

uliattiogbe avatar Dec 14 '20 23:12 uliattiogbe

Version needs to be included.

the-master avatar Jan 07 '21 11:01 the-master

Hi @uliattiogbe,

I've also recently followed that tutorial. The necessary maven-frontend-plugin configuration went missing from the tutorial due to a mix-up.

I've submitted a pull request to get that configuration fixed.

Use this configuration from the tutorial source files and it should work for you, no problems.

UgmaDevelopment avatar Jan 20 '21 17:01 UgmaDevelopment