-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Another issue with add-third-party on Windows with version 2.5.0 #624
Comments
Same here, the file was completely ignored, worked with 2.4.0. My config:
|
One change that can be connected with it maybe it: #609 can you try to change: |
Looks similar to #615 |
I also think it's connected with pull request 609.
Yes, baseUri is working!
I think 615 is not related to this error and also not to the plugin itself. It's rather an issue with the local build environment. In the past I got the error " Illegal character in path at index ..." if my java runtime running the maven build was different to the java environment requested in the pom.xml. I could fix those issue by swithing locally to the correct java runtime (try java -version) |
Soo, this was just not tested with Windows, it seems. Ok, now we know that it does break it. Could this be reverted or fixed, please? :) |
looks like used uri is not correct ... https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/net/URI.html |
but yes should be reported that file can not be opened .... |
After switching from 2.4.0 to 2.5.0, on windows only, the plugin reports the following error:
[ERROR] Failed to execute goal org.codehaus.mojo:license-maven-plugin:2.4.0:add-third-party (add-third-party) on project
my-project: There are some forbidden licenses used, please check your dependencies. -> [Help 1]
It seems, that my license configuration is not used anymore.
The plugin works fine in linux environments.
Example plugin configuration:
I am using a mono repo and have a central licence configuration which is placed outside the current module ("../.."), so that it can be reused by other modules as well.
The text was updated successfully, but these errors were encountered: