-
Notifications
You must be signed in to change notification settings - Fork 43
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
shipping all platform JARs as empty JARs #137
Conversation
Look good to me. I did some basic compile testing of the generated empty jars and it works. |
Thanks! I just tested in my environment and it also works! |
Time to merge (and release?) |
I think this will break javadoc generation for Jakarta EE platform and profiles. I assume that javadocs are generated with |
Instead of the changes in this PR, it should be enough to modify the parent pom with the following changes: OndroMih@9b56052 I tested it and all works - the platform JARs don't contain classes and running mvn javadoc:aggregate inside platform dir generates javadoc with all APIs. |
Can you make the PR then I can close mine? |
Or I can just port your changes into mine if you prefer |
I found an issue with javadoc, I will fix it and combine our solutions into a the existing PR |
c0fd890
to
d25f64d
Compare
@OndroMih I incorporated your changes, plus additional source dependencies for platform API javadocs so they include core and web APIs, just like they did in the past. Let me know what you think, thank you! |
d25f64d
to
8e98821
Compare
8e98821
to
be9de89
Compare
Thanks, @lprimak. Now it looks good to me. |
Would this break the current apps that compile against the platform jars but now it is empty? |
Absolutely not, since they will still have maven dependencies on the spec JARs. |
Avoids duplicate class files and fixes OSGi and JPMS issues
fixes #133