I'm using frontend-maven-plugin to get webpack to put a webpack'd
version of a react.js frontend into target/classes/bundle.js
However, maven-bundle-plugin by default doesn't pick up stuff from
target/classes but only from src/main/resources.
Is there a way to make maven-bundle-plugin pick up resources from
target/classes instead? (like the maven-jar-plugin does)
I've googled and found this, but it didn't seem to have any effect (one
google match was a stackoverflow post from 2012):
I've tried this as well, as a shot in the dark, didn't have any effect
Explicitly including stuff from target/classes both with destination
name and source name doesn't look like something I would like to do.
It doesn't scale, especially if I get a lot of static resources, such as
A hack would be to have webpack drop the bundle.js into
src/main/resources/ and then .gitignore the generated files... but
that's not something I would like to do (but at least I wouldn't have to
specify the resources individually).