Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
ozone artifacts on Apache maven repo doesn't have the corresponding sources jars.
This leads to a small inconvenience where debugging an Ozone client program in IDEs (e.g. IntelliJ) won't be able to fetch sources jars directly from the maven repo.
A possible workaround is to run mvn clean source:jar install -DskipTests so local maven repo will have the sources jars available for debugging.
e.g.
For hadoop-client 3.3.0:
https://repo.maven.apache.org/maven2/org/apache/hadoop/hadoop-client/3.3.0/
There are hadoop-client-3.3.0-sources.jar and hadoop-client-3.3.0-test-sources.jar.
For hadoop-ozone-client 1.0.0:
https://repo.maven.apache.org/maven2/org/apache/hadoop/hadoop-ozone-client/1.0.0/
We don't have *-sources.jar files.
Artifacts are also located here:
https://repository.apache.org/content/groups/public/org/apache/hadoop/hadoop-ozone-client/1.0.0/
Found an article, probably relevant: https://infra.apache.org/publishing-maven-artifacts.html