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
Copy file name to clipboardExpand all lines: README.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -130,6 +130,23 @@ class Example {
130
130
131
131
```
132
132
133
+
## Publishing to Maven Central
134
+
135
+
EntityLib uses the new Maven Central publishing system via the Central Portal (replacing the deprecated OSSRH). To publish, set up the following GitHub secrets:
136
+
137
+
-`OSSRH_USERNAME`: Your Central Portal username (usually your email).
138
+
-`OSSRH_PASSWORD`: Your publishing token from the Central Portal.
139
+
-`GPG_PRIVATE_KEY`: Your GPG private key (for signing artifacts).
140
+
-`GPG_PASSPHRASE`: The passphrase for your GPG key.
141
+
142
+
### Setting Up Central Portal Credentials
143
+
1. Go to [Central Portal](https://central.sonatype.com/) and log in with your GitHub account.
144
+
2. Create a namespace for your group ID (`io.github.tofaa2`).
145
+
3. Generate a publishing token from the "Account Settings" > "Publishing Tokens".
146
+
4. Use your email as the username and the token as the password.
147
+
148
+
Snapshots are automatically published on pushes to the `master` branch. Stable releases are published when a GitHub release is created.
149
+
133
150
### TODO:
134
151
Once this list is complete, i will release a stable version of the library.
135
152
-[ ] Implement checks for each EntityMeta to make sure the version specific data is correct.
0 commit comments