closure-compiler
                                
                                 closure-compiler copied to clipboard
                                
                                    closure-compiler copied to clipboard
                            
                            
                            
                        closure-compiler-unshaded v20240317 embeds jakarta.annotation-api
It can cause some conflicts when you depend on both closure-compiler-unshaded and jakarta.annotation-api directly or through other dependencies.
I would have expected it to be a dependency, along with the others declared in the pom file.
Thanks for pointing this out. We're unlikely to do anything about it immediately, but I expect we will fix it before doing another release.
Thanks @brad4d, that's definitely good enough for me 🙂
@tmortagne Do you know if this has regressed in the latest release?
Yes, it appears this is a regression in the latest release:
- https://repo1.maven.org/maven2/com/google/javascript/closure-compiler-unshaded/v20231112/closure-compiler-unshaded-v20231112.jar doesn't have these javax.annotation files, but
- https://repo1.maven.org/maven2/com/google/javascript/closure-compiler-unshaded/v20240317/closure-compiler-unshaded-v20240317.jar does
Yes, as detailed by @niloc132 and as I should have mentioned a bit more explicitly in the issue description, it's indeed a regression from v20231112.