mojohaus/license-maven-plugin

Make it possible to disable ``addResourceDir``

AB-xdev opened this issue · 1 comments

The problem

Currently THIRD-PARTY.txt always ends up inside the classpath root of my jar, but I don't need it there.

Cause

addResourceDir(outputDirectory, "**/*.txt");

Possible solution

Make it possible to disable this behavior using a flag (which is enabled by default for compatibility), e.g. named addOutputDirectoryAsResourceDir

Did a quick PR that should resolve this: #580