License maven plugin fails on build
See original GitHub issueDescribe the bug
I’m currently working on adding support for hibernate search to the apm plugin. While doing this I noticed the license plugin throws this error while building:
Failed to execute goal org.codehaus.mojo:license-maven-plugin:1.19:update-file-header (first) on project apm-agent-parent: could not obtain the license repository: no licenses.properties found with url [file://<path-to-project>/apm-agent-java/licenses/licenses.properties] for resolver org.codehaus.mojo.license.model.LicenseRepository@626d2016 -> [Help 1]
To Reproduce Steps to reproduce the behavior:
- Run
mvnw clean install
on current master
I’m using OpenJDK 11 on Windows 10 and got the error with the Maven wrapper and also with a local Maven installation.
Expected behavior Build completes successfully and all added source files have the correct license header.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (9 by maintainers)
Top GitHub Comments
The change works for me even on OpenJDK 11 👍
@theobisproject please try to merge #688 and see if you can build now. It may not work with OpenJDK 11, so try with 10. Let me know.