This is an automated email from the ASF dual-hosted git repository.
hsluoyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/casbin-jcasbin.git
The following commit(s) were added to refs/heads/master by this push:
new 6c83cac fix: align Maven coordinates and metadata with Apache
incubation (#535)
6c83cac is described below
commit 6c83cac9a22b930fff94836d87af8c91adfbb8fd
Author: Emery <[email protected]>
AuthorDate: Thu Oct 1 23:22:12 2026 +0800
fix: align Maven coordinates and metadata with Apache incubation (#535)
---
README.md | 15 ++++++++++++---
RELEASING.md | 10 +++++++++-
pom.xml | 17 +++++++++++++++--
3 files changed, 36 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index 9591686..33bf0f4 100644
--- a/README.md
+++ b/README.md
@@ -21,8 +21,8 @@ under the License.
[](https://github.com/apache/casbin-jcasbin/actions)
[](https://codecov.io/gh/apache/casbin-jcasbin)
-[](https://javadoc.io/doc/org.casbin/jcasbin)
-[](https://mvnrepository.com/artifact/org.casbin/jcasbin/latest)
+[](https://javadoc.io/doc/org.apache.casbin/jcasbin)
+[](https://mvnrepository.com/artifact/org.apache.casbin/jcasbin/latest)
[](https://github.com/apache/casbin-jcasbin/releases/latest)
[](https://discord.gg/S5UjpzGZjN)
@@ -133,12 +133,21 @@ For Maven:
```
<dependency>
- <groupId>org.casbin</groupId>
+ <groupId>org.apache.casbin</groupId>
<artifactId>jcasbin</artifactId>
<version>1.x.y (replace with latest version)</version>
</dependency>
```
+Starting with 1.100.0, the Maven coordinates change from `org.casbin:jcasbin`
+to `org.apache.casbin:jcasbin`. Java package names and imports remain
+`org.casbin.jcasbin.*`. Update dependency declarations and dependency
management;
+if an adapter still pulls in the old coordinates, exclude that dependency so
+both copies of JCasbin are not placed on the classpath. Existing releases under
+the old coordinates remain available. Release candidates are for review and are
+not published to Maven Central; use the new coordinates after the release is
+approved and published.
+
## Documentation
https://casbin.apache.org/docs/overview
diff --git a/RELEASING.md b/RELEASING.md
index 8d4e35f..066edc8 100644
--- a/RELEASING.md
+++ b/RELEASING.md
@@ -37,6 +37,14 @@ releases except the tag.
## Before creating an RC tag
+The Maven coordinates are `org.apache.casbin:jcasbin` starting with 1.100.0.
+Java package names remain unchanged. Check the effective and flattened POMs,
+README coordinates and generated JAR metadata together. Confirm that the
+project's Central publishing account can administer the `org.apache.casbin`
+namespace before attempting publication; permission for `org.casbin` alone
+does not establish permission for the new namespace. See the migration note
+in README.md for downstream dependency handling.
+
1. Check the latest releases/tags and choose the next `X.Y.Z`.
Resolve relevant dependency updates and legal/source-archive findings in the
preparation PR. The approved release scope determines which changes are
included.
@@ -50,7 +58,7 @@ releases except the tag.
`GPG_PASSPHRASE`, `GPG_KEY_NAME`, `OSSRH_JIRA_USERNAME` and
`OSSRH_JIRA_PASSWORD`. The last two names are retained for compatibility:
their values must be the Central Publisher Portal user-token username and
- password with publishing permission for `org.casbin`, not old OSSRH login
+ password with publishing permission for `org.apache.casbin`, not old OSSRH
login
credentials. Check configuration without disclosing secret values.
## RC and community vote
diff --git a/pom.xml b/pom.xml
index 3808bca..dd6f9cf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,13 +21,21 @@ under the License.
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
- <groupId>org.casbin</groupId>
+ <groupId>org.apache.casbin</groupId>
<artifactId>jcasbin</artifactId>
<!-- The real version is supplied at release time with -Drevision=X.Y.Z
(see RELEASING.md). -->
<version>${revision}</version>
<name>Apache jCasbin (Incubating)</name>
- <description>An authorization library that supports access control models
like ACL, RBAC, ABAC in Java</description>
+ <description>
+ An authorization library that supports access control models like ACL,
RBAC, ABAC in Java.
+
+ Apache Casbin (Incubating) is an effort undergoing incubation at the
Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC.
+
+ Incubation is required of all newly accepted projects until a further
review indicates that the infrastructure, communications, and decision making
process have stabilized in a manner consistent with other successful ASF
projects.
+
+ While incubation status is not necessarily a reflection of the
completeness or stability of the code, it does indicate that the project has
yet to be fully endorsed by the ASF.
+ </description>
<url>https://casbin.apache.org/</url>
<inceptionYear>2017</inceptionYear>
@@ -54,6 +62,11 @@ under the License.
<developerConnection>scm:git:ssh://[email protected]/apache/casbin-jcasbin.git</developerConnection>
</scm>
<developers>
+ <developer>
+ <name>Apache Casbin</name>
+ <email>[email protected]</email>
+ <url>https://casbin.apache.org/</url>
+ </developer>
<developer>
<name>Yang Luo</name>
<email>[email protected]</email>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]