You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While bindings/java is a WIP state, deploying the bindings/java to maven central will let potential users(and attract contributors) to easily use it by simply adding dependencies to their pom.xml or build.gradle.
However, as I'm not the maintainer of limbo, I need some help from @penberg , @glommer
How to upload limbo to maven central
Register namespace in [Central Portal Website]
namespace example io.github.tursodatabase
then, we can register our (limbo) library as io.github.tursodatabase:limbo:1.0.0-SNAPSHOT
it's recommended to use GitHub as a login provider, so that io.github.tursodatabase namespace can be automatically assigned
or, if you prefer other namespaces such as turso.tech or com.tursodatabase, then you need verification code. Add it as a TXT record to your domain's DNS settings and let Sonatype verify it
Btw, after deciding which namespace to use, we need to update the package name of java project in bindings/java(which is currently org.github.tursodatabase)
Generate API tokens
They are used to authenticate API request to publishing limbo library to maven central. Let's put them as secret variables for the CI
=> we will store these variables as MAVEN_UPLOAD_USERNAME, MAVEN_UPLOAD_PASSWORD
Distribute PGP keys
This is used to verify our publication of limbo to Maven Central. We need to save the passphrase and secret key in ASCII-armored format. Let's save them as secret variables for the CI as well.
=> we will store these variables as MAVEN_SIGNING_PASSPHRASE, MAVEN_SIGNING_KEY
Deploy using gradle + Integration with CI
Suggestions
Because I'm not eligible to run process 1/2/3, I need help from our great maintainers to set above mentioned variables as secret variables in the CI(so I can use my gradle to publish). Then I'll add a PR in which we can use to integrate CI with publishing libraries to maven central.
Hey @seonWKim, the namespace is tech.turso (which is something we already had and is verified). Let's fix up the Maven project files, but also rename the package. I have configured both MAVEN_UPLOAD_USERNAME and MAVEN_UPLOAD_PASSWORD secrets, but still looking at how to deal with the PGP key thing, will ping you when that's done.
While
bindings/java
is a WIP state, deploying thebindings/java
to maven central will let potential users(and attract contributors) to easily use it by simply adding dependencies to theirpom.xml
orbuild.gradle
.For example
However, as I'm not the maintainer of limbo, I need some help from @penberg , @glommer
How to upload limbo to maven central
io.github.tursodatabase
io.github.tursodatabase:limbo:1.0.0-SNAPSHOT
io.github.tursodatabase
namespace can be automatically assignedturso.tech
orcom.tursodatabase
, then you need verification code. Add it as a TXT record to your domain's DNS settings and let Sonatype verify itbindings/java
(which is currentlyorg.github.tursodatabase
)limbo
library to maven central. Let's put them as secret variables for the CI=> we will store these variables as
MAVEN_UPLOAD_USERNAME
,MAVEN_UPLOAD_PASSWORD
passphrase
andsecret key in ASCII-armored format
. Let's save them as secret variables for the CI as well.=> we will store these variables as
MAVEN_SIGNING_PASSPHRASE
,MAVEN_SIGNING_KEY
Suggestions
References
The text was updated successfully, but these errors were encountered: