You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@casbin.apache.org by em...@apache.org on 2026/09/29 15:25:49 UTC

(casbin-jcasbin) 01/01: fix: align Maven coordinates and metadata with Apache incubation

This is an automated email from the ASF dual-hosted git repository.

EmryZhang pushed a commit to branch fix/rc2-apache-metadata
in repository https://gitbox.apache.org/repos/asf/casbin-jcasbin.git

commit fe61752c060a7f21ab35df9e7edb39260ab08e85
Author: Zhangyanrui123 <28...@qq.com>
AuthorDate: Tue Sep 29 00:37:25 2026 +0800

    fix: align Maven coordinates and metadata with Apache incubation
---
 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.
 
 [![GitHub Actions](https://github.com/apache/casbin-jcasbin/workflows/build/badge.svg)](https://github.com/apache/casbin-jcasbin/actions)
 [![codecov](https://codecov.io/gh/apache/casbin-jcasbin/branch/master/graph/badge.svg?token=pKOEodQ3q9)](https://codecov.io/gh/apache/casbin-jcasbin)
-[![javadoc](https://javadoc.io/badge2/org.casbin/jcasbin/javadoc.svg)](https://javadoc.io/doc/org.casbin/jcasbin)
-[![Maven Central](https://img.shields.io/maven-central/v/org.casbin/jcasbin.svg)](https://mvnrepository.com/artifact/org.casbin/jcasbin/latest)
+[![javadoc](https://javadoc.io/badge2/org.apache.casbin/jcasbin/javadoc.svg)](https://javadoc.io/doc/org.apache.casbin/jcasbin)
+[![Maven Central](https://img.shields.io/maven-central/v/org.apache.casbin/jcasbin.svg)](https://mvnrepository.com/artifact/org.apache.casbin/jcasbin/latest)
 [![Release](https://img.shields.io/github/release/apache/casbin-jcasbin.svg)](https://github.com/apache/casbin-jcasbin/releases/latest)
 [![Discord](https://img.shields.io/discord/1022748306096537660?logo=discord&label=discord&color=5865F2)](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://git@github.com/apache/casbin-jcasbin.git</developerConnection>
     </scm>
     <developers>
+        <developer>
+            <name>Apache Casbin</name>
+            <email>dev@casbin.apache.org</email>
+            <url>https://casbin.apache.org/</url>
+        </developer>
         <developer>
             <name>Yang Luo</name>
             <email>hsluoyz@qq.com</email>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@casbin.apache.org
For additional commands, e-mail: commits-help@casbin.apache.org