test(license): LicenseLifecycleIT — install/persist/revalidate/reject
End-to-end IT covering the full lifecycle: mint a token via cameleer-license-minter (test-scope), POST it via /api/v1/admin/license, verify state=ACTIVE, clear gate, revalidate from PG, verify state restored. Plus: tampered signature -> 400 + LICENSE/FAILURE audit row, gate not mutated to ACTIVE. Adds cameleer-license-minter as a test-scope dep on cameleer-server-app (verified absent from runtime/compile classpaths). Also disables the default spring-boot:repackage execution on the minter pom so the main artifact stays as a plain library JAR consumable as a Maven dependency (the cli classifier still produces the executable jar). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -46,6 +46,12 @@
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<!-- Disable the default repackage so the main artifact stays as a plain library
|
||||
JAR consumable as a Maven test-scope dependency by cameleer-server-app. -->
|
||||
<execution>
|
||||
<id>repackage</id>
|
||||
<phase>none</phase>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>repackage-cli</id>
|
||||
<goals>
|
||||
|
||||
Reference in New Issue
Block a user