>>>>> Steinar Bang <s...@dod.no>: > Versions: Java 1.8 > maven 3.5.0 > frontend-maven-plugin 1.6 > maven-bundle-plugin 2.5.3
> 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) Clicking through the google matched I found this[1] (from November 2016). Both of the following works: <Include-Resource>{maven-resources},/=target/classes/</Include-Resource> <Include-Resource>/=target/classes/</Include-Resource> Ie. they both include the bundle.js that webpack has put into target/classes. I'm going for the last version, ie. <Include-Resource>/=target/classes/</Include-Resource> (target/classes includes all of the stuff in src/main/resources anyway) References: [1] <https://stackoverflow.com/a/40720033> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org