tut-react-and-spring-data-rest icon indicating copy to clipboard operation
tut-react-and-spring-data-rest copied to clipboard

Fixes frontend-maven-plugin snippet in `basic` module.

Open UgmaDevelopment opened this issue 4 years ago • 6 comments

It looks like, to maintain sanity, the configuration for the frontend-maven-plugin was defined in the root tutorial pom and the configuration is inherited by all the submodules, like basic.

The problem was that one following along with the project needs that configuration.

Now, we show the full configuration instead by including the frontend-maven-plugin configuration from the root POM instead of from basic's POM.

Should resolve some concerns described in issues #124, #128.

UgmaDevelopment avatar Jan 14 '21 16:01 UgmaDevelopment

It makes sense why there's been some people confused about this plugin.

What they were seeing: image

What they needed to be seeing: image

UgmaDevelopment avatar Jan 14 '21 16:01 UgmaDevelopment

Can you think of anything that would stop this PR from being merged?

UgmaDevelopment avatar Jan 20 '21 15:01 UgmaDevelopment

@gregturn Well this actually fixes nothing i dont even see any relevant file being commited... But what needs to be fixed so in basic and other modules will frontend:install-node-and-npm goal work in Idea is that in main pom.xml must nodeVersion and npmVersion tags be moved to upper plugin configuration section just where <installDirectory>target</installDirectory> resides. I dont get it why you didnt tested it, or does it work from plain mvn commandline? Anyway great tutorial but this is broken.

mtravnicek avatar Jan 21 '21 15:01 mtravnicek

Is this PR still being considered? It would be extremely helpful to update the Spring Guide: Accessing JPA Data with REST with this change. Thank you!

benhunter avatar Oct 06 '21 08:10 benhunter

This is still a problem in 2023 and the tutorial does not work :(

zlelik avatar Sep 20 '23 09:09 zlelik

@UgmaDevelopment Thanks Ugma; this should have been Incorporated

lions-dan avatar Dec 23 '23 01:12 lions-dan