-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[SHIRO-780] NOTICE files of shiro components don't match NOTICE in so… #239
Conversation
…urce code repository
We should probably filter these files in if/when needed, possibly just in the core/lang module (and if they get repackaged in the Ideas: A side note, we can also use the Another trick is to define a <root.dir>${session.executionRootDirectory}</root.dir> And include the resource as |
NOTE: I'm not against maintaining the NOTICE by hand. It might be easier to handwrite notice files in a couple of the modules were needed, and merge them into the project's root NOTICE file. |
@fpapon I'm not sure if any of these suggestions work around the template issue either) |
@bdemers the problem is the apache pom parent definition with the apache-jar-resource-bundle, it generate the NOTICE file from Apache template. |
OHHH, I see now. I didn't realize where that was coming from. We can probably get away with the template for most modules. And only include a custom NOTICE (just copied in as you have) in the modules were needed (for example But I'm not sure if/how the bundle plugin plays into this, because IIRC the bundle plugin repacks some of the dependencies? We could also "skip" this plugin's execution and make sure the LICENSE & NOTICE files are included by other means. Anyway, I'm not trying to create more work just to work around a NOTICE bundling issue. If you can simplify it, great, if not, what you have in this PR is legally correct (which is more important) |
Ok, no problem ;) |
@bdemers I'm not sure to have more time to work on this for the 1.5.x/1.6 release |
Works for me |
…urce code repository
The apache-jar-resource-bundle generate default NOTICE file from velocity template, so we have to override this default NOTICE file by the root project one.