kiwix / java-libkiwix

Libkiwix binding for Java & Kotlin
https://central.sonatype.com/artifact/org.kiwix/libkiwix
GNU General Public License v3.0
3 stars 4 forks source link

Publish snapshot on maven for testing the java-libkiwix #52

Open MohitMaliFtechiz opened 1 year ago

MohitMaliFtechiz commented 1 year ago

Fixes #49

codecov[bot] commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (f561034) 92.38% compared to head (4751ef1) 92.38%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #52 +/- ## ========================================= Coverage 92.38% 92.38% Complexity 213 213 ========================================= Files 44 44 Lines 289 289 Branches 3 3 ========================================= Hits 267 267 Misses 19 19 Partials 3 3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

kelson42 commented 1 year ago

@MohitMaliDeveloper Can you please put a status here?

MohitMaliFtechiz commented 1 year ago

@kelson42, Our staging profile id has no access to upload the snapshot on the nexus, we only have access to upload the release artifact on the nexus. There is no option to create a snapshot repo ourselves (Apart from the offline manager) so I have searched over the internet for the official docs and other articles take me to this URL https://www.sonatype.com/products/sonatype-nexus-pro/trial, IMO it is a pro pannel for nexus management but I not sure there will an option to create staging profile there since there is no much information available. Apart from this one article suggested creating a Jira ticket for this and IMO it would be more appropriate to ask them, what should do at this point, or might be, by default snapshots are disabled on our staging profile id which they will enable after creating the ticket.

kelson42 commented 1 year ago

@MohitMaliDeveloper OK, lets put side aside for the moment. Either we get somehow these snapshots activated or we should extend the README to explain how to use the latest dev version

MohitMaliFtechiz commented 1 year ago

@MohitMaliDeveloper OK, lets put side aside for the moment. Either we get somehow these snapshots activated

@kelson42 We can create a Jira ticket on SonaType and ask them to activate the snapshot for our stagging profile.

We should extend the README to explain how to use the latest dev version.

Currently java-libkiwix is mainly used for kiwix-android but it can be use for java programs https://github.com/kiwix/java-libkiwix/issues/50#issuecomment-1660518162, and most of the IDE now using the gradle build system e.g. Android Studio, Intellij.

For building the binary(generating aar file) instructions are already mentioned in the README.md file so we need to mention how devs can use that aar file in their projects with Gradle.