Missing sources and javadoc Maven artifacts for 7.0.0
The GlassFish artifacts in Maven Central either don't contain sources and javadoc artifacts or they contain them, but without any relevant content.
GlassFish Full 7.0.0: https://repo1.maven.org/maven2/org/glassfish/main/distributions/glassfish/7.0.0/
- contains
sourcesJAR, but it's empty, no sources there -
javadocJAR is missing
GlassFish Web 7.0.0: https://repo1.maven.org/maven2/org/glassfish/main/distributions/web/7.0.0/
- same as Full -
sourcesJAR is empty, nojavadocJAR
GlassFish Embedded All: https://repo1.maven.org/maven2/org/glassfish/main/extras/glassfish-embedded-all/7.0.0/
- contains
sourcesandjavadocJARs, but both are empty
GlassFish Embedded Web: https://repo1.maven.org/maven2/org/glassfish/main/extras/glassfish-embedded-web/7.0.0/
- same as Embedded All, contains
sourcesandjavadocJARs, but both are empty
This means that no Javadoc is available at javadoc.io, e.g. https://javadoc.io/doc/org.glassfish.main.extras/glassfish-embedded-all Also, no sources can be downloaded by IDEs from Maven.
In Eclipse it works well, because it can see pom.xml and links dependencies. But sure, we can still download and unpack sources of all dependencies and repack them again. I hope I will not see everything twice then :-D
In Eclipse it works well, because it can see pom.xml and links dependencies. But sure, we can still download and unpack sources of all dependencies and repack them again. I hope I will not see everything twice then :-D
Maybe it works in other IDEs too, I'm not too concerned about sources. But I'd like to fix the javadoc JAR so that it's possible to see javadoc at javadoc.io, and then we could also link to javadocs there from the glassfish.org site.
I am sure that we should not distribute empty jar files - they shouldn't be distributed at all OR they should contain the same as the binary (I mean sources).
This issue has been marked as inactive and old and will be closed in 7 days if there is no further activity. If you want the issue to remain open please add a comment
This is still relevant and hasn't been addressed.
This issue has been marked as inactive and old and will be closed in 7 days if there is no further activity. If you want the issue to remain open please add a comment
Hello @OndroMih, do we still need help here?
Hi, @Ariho-Seth, sure, this is still needed. At least javadoc artifacts so that we can publish Javadocs via javadoc.io or similar sites. The sources artifacts are not so important, because when debugging in an IDE, they are usually pulled for specific GlassFish components, which have valid sources and javadoc artifacts.
This would probably require using the javadoc:aggregate goal to assemble javadoc from all dependencies.
Sources might be assembled in a similar way, via source:aggregate, but it's not so important.
Sure thing, I will start on it, though I think I have a problem with my local repo, there is a test that fails, which makes the build fail as discussed here https://github.com/eclipse-ee4j/glassfish/pull/25646#issuecomment-3146777875
Are you facing the same issue?, Any help?