Skip to content
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

add-third-party fails on Windows with version 2.5.0 #615

Open
vbode opened this issue Dec 5, 2024 · 2 comments
Open

add-third-party fails on Windows with version 2.5.0 #615

vbode opened this issue Dec 5, 2024 · 2 comments

Comments

@vbode
Copy link

vbode commented Dec 5, 2024

We get this error when running the licence checker:
[ERROR] Failed to execute goal org.codehaus.mojo:license-maven-plugin:2.5.0:add-third-party (verify-third-party-licenses) on project testwebapp: could not init goal AddThirdPartyMojo for reason : Illegal character in path at index 10: file:///C:\Repositories\build\testwebapp\target/artifact-filters.txt -> [Help 1]

The error does not occur on our linux build servers or in my WSL, but it does occur on Windows since version 2.5.0. Version 2.4.0 is fine.

@slawekjaranowski
Copy link
Member

can you provide your configuration which cause such error,
we can add it as integration tests

@vbode
Copy link
Author

vbode commented Dec 9, 2024

@slawekjaranowski
Here's an example pom with which to reproduce the issue.
You will need to place a dummy file 'artifact-filters.txt' in your target folder.
pom.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants