Mrrrgh.... OK, now I'm getting a different result.
If I
- add that line
- menu click on the project > "Maven" > "Update Project..." with "Update dependencies", "Update project config...", "Refresh workspace...", and "Clean projects" checked
then "
web-resources" is present under "
Deployed Resources",
and my JS directory, normally empty, has generated files for each group consisting of an empty IIFE:
(function() {
}).call(this);
The contents of "
web-resources" appear to be from
target/m2e-wtp/web-resources.
If I remove the line and do (2) above, the directory layer
disappears from under "
Deployed Resources" (Yes, opposite of what I first described!), and the JS directory is empty, but
target/m2e-wtp/web-resources is still present (with the generated CSS files). It is odd, though, that while the project is updating, the "
webapp" and "
web-resources" directories do briefly appear under "
Deployed Resources".
The difference from my original post appears to be due to the way I update: If I add the line, then go to the "
Markers" window, under "
Maven Problems" choose "
Quick Fix" on the problem, the directory level is missing.
Sometimes. It's really indeterminate. At least I see no pattern to it.
The only consistent behavior is that
target/m2e-wtp/web-resources is always present, and the JS files only appear with the
ConfigurableWroManagerFactory. Neither of which is relevant to the problem.