My maven project intentionally only needs src/test/java
and src/test/resources
. After removing src/main/*
folders, the expected w
The warning is actually based on whether it can find the configured
- by default target\classes
.
This means one simple way to bypass the warning is to point it at another deliberately empty directory:
maven-jar-plugin
dummy
Alternatively, to avoid the need for the empty directory, exclude everything from another directory:
maven-jar-plugin
src
**