That was my first thought too, but unfortunately my build includes a custom build plugin (which I don't control) which does its own ad-hoc parsing of the project structure. So it only works if the project is actually structured in a certain way.
At 12:32 PM 12/9/2023, Michael Osipov wrote: >On 2023/12/06 03:34:58 Dave Dyer wrote: >> >> I'm trying to tune up my maven build, which requires that I construct >> a source directory on the fly by copying from the canonical location. >> >> The best advice I've found is to use mavin-resources-plugin, but >> that's a bit inelegant because it copies everything, not just the >> sources. > >That the wrong approach. > >> Is there a better approach? > >The right approach: >https://www.mojohaus.org/build-helper-maven-plugin/add-source-mojo.html --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org