refactor: flip cameleer-common consumer from com.cameleer to io.cameleer
All checks were successful
CI / cleanup-branch (push) Has been skipped
CI / build (push) Successful in 3m41s
CI / docker (push) Successful in 2m30s
CI / deploy-feature (push) Has been skipped
CI / deploy (push) Successful in 55s

The agent team finished their groupId+package migration; this commit
flips the corresponding consumer side here. Closes the dichotomy noted
in the prior "Registry naming" doc — io.cameleer is now uniform across
all three repos (server, agent, saas).

- 46 .java files: import com.cameleer.common.* → io.cameleer.common.*
- pom.xml + cameleer-server-core/pom.xml: cameleer-common dep groupId
- CLAUDE.md: drop the obsolete "stays on com.cameleer until institutionalized"
  qualifier on Related Project; flip Key Conventions dep coordinate
- cameleer-license-minter/README.md: GAV strings + main-class FQN

Verification: full reactor mvn test -DskipITs — 416 unit tests pass.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-28 17:48:54 +02:00
parent dbf67e7298
commit f47cd7ebf2
50 changed files with 77 additions and 77 deletions

View File

@@ -2,11 +2,11 @@
Standalone vendor-side tool for producing signed Ed25519 license tokens consumed by `cameleer-server`. The minter is intentionally **not** a runtime or compile-scope dependency of the server — the server only ships with the matching public key and validates tokens via `LicenseValidator`. The private signing key never leaves the vendor's environment.
- Module GAV: `com.cameleer:cameleer-license-minter:1.0-SNAPSHOT`
- Maven coordinates of the runtime server (does **not** transitively pull this module): `com.cameleer:cameleer-server-app:1.0-SNAPSHOT`
- Module GAV: `io.cameleer:cameleer-license-minter:1.0-SNAPSHOT`
- Maven coordinates of the runtime server (does **not** transitively pull this module): `io.cameleer:cameleer-server-app:1.0-SNAPSHOT`
- Build artifacts (after `mvn -pl cameleer-license-minter package`):
- `target/cameleer-license-minter-1.0-SNAPSHOT.jar` — plain library JAR (consumable as a Maven `test` dependency or via the `LicenseMinter` API in custom tooling)
- `target/cameleer-license-minter-1.0-SNAPSHOT-cli.jar` — fat CLI JAR with main class `com.cameleer.license.minter.cli.LicenseMinterCli`
- `target/cameleer-license-minter-1.0-SNAPSHOT-cli.jar` — fat CLI JAR with main class `io.cameleer.license.minter.cli.LicenseMinterCli`
## Table of contents
@@ -50,15 +50,15 @@ Two JARs land in `cameleer-license-minter/target/`:
| Artifact | Purpose |
|---|---|
| `cameleer-license-minter-1.0-SNAPSHOT.jar` | Plain library (the `repackage` execution for the main artifact is disabled; see `pom.xml:50-54`). Use this when embedding the minter inside your own tooling or a unit test that needs a fresh signed token. |
| `cameleer-license-minter-1.0-SNAPSHOT-cli.jar` | Fat CLI JAR. Repackaged by Spring Boot's `spring-boot-maven-plugin` with classifier `cli`; main class is `com.cameleer.license.minter.cli.LicenseMinterCli`. |
| `cameleer-license-minter-1.0-SNAPSHOT-cli.jar` | Fat CLI JAR. Repackaged by Spring Boot's `spring-boot-maven-plugin` with classifier `cli`; main class is `io.cameleer.license.minter.cli.LicenseMinterCli`. |
## Public Java API
`com.cameleer.license.minter.LicenseMinter` is the only entry point for the library. It is a final, stateless utility class:
`io.cameleer.license.minter.LicenseMinter` is the only entry point for the library. It is a final, stateless utility class:
```java
import com.cameleer.license.minter.LicenseMinter;
import com.cameleer.license.LicenseInfo;
import io.cameleer.license.minter.LicenseMinter;
import io.cameleer.license.LicenseInfo;
LicenseInfo info = new LicenseInfo(
java.util.UUID.randomUUID(),
@@ -87,7 +87,7 @@ The method is thread-safe; the underlying Jackson `ObjectMapper` is configured o
## CLI usage
The CLI entry point is `com.cameleer.license.minter.cli.LicenseMinterCli`. Run it from the fat JAR produced by the build:
The CLI entry point is `io.cameleer.license.minter.cli.LicenseMinterCli`. Run it from the fat JAR produced by the build:
```bash
java -jar cameleer-license-minter/target/cameleer-license-minter-1.0-SNAPSHOT-cli.jar \