How add in javadoc.jar LICENSE file? Project Structure maven-javadoc-plugin (version 3.3.1)
CodePudding user response:
Add it as a javadoc resources.
So probably src/main/javadoc/resources/META-INF/LICENSE
will work.
Putting it in src/main/resources
will put it in the normal jar, not the javadoc jar. See also the goals of the javadoc maven plugin.
CodePudding user response:
I solved this problem in another way - I'm using plugin maven-antrun-plugin. In pom.xml I using current configuration. P.S. Perhaps, this isn't the best solution, but it's work correctly.