baks-maven-kotlin-build
Use when running Maven builds (mvn) in this project. The Kotlin compiler daemon fails with "cannot connect to registry: Operation not permitted" in this environment. Always add -Dkotlin.compiler.daemon=false to all mvn commands.
- License 许可
- MIT
- 最近更新
- 2026-06-23
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- baks-maven-kotlin-build
- description
- Use when running Maven builds (mvn) in this project. The Kotlin compiler daemon fails with "cannot connect to registry: Operation not permitted" in this environment. Always add -Dkotlin.compiler.daemon=false to all mvn commands.
03 SKILL.md 正文
Maven Kotlin Build
When running any mvn command in this project, always include -Dkotlin.compiler.daemon=false.
The Kotlin compiler daemon fails to start in this environment due to RMI registry permission restrictions (Operation not permitted), so the compiler must run in-process instead.
Examples
mvn clean install -Dkotlin.compiler.daemon=false
mvn clean package -Dkotlin.compiler.daemon=false
mvn test -Dkotlin.compiler.daemon=false
mvn compile -Dkotlin.compiler.daemon=false
Apply this flag to all mvn invocations, including those that only run a subset of the lifecycle.
04 同仓库更多 Skills
baks-testcontainers-colima
Use when running tests with Maven (mvn test, mvn verify, mvn package, mvn install) or other JVM tools on macOS with Colima/Docker Desktop. Automatically configures Testcontainers to connect to PostgreSQL containers through Colima's Docker socket.
baks-spring-boot-best-practices
Spring Boot best practices for Kotlin — injection, transactions, proxy annotations, JPA entities, naming, and REST API design. Use when writing or reviewing Spring Boot code in Kotlin.
baks-hello-project-skill
Dummy skill – prints its own name
baks-testcontainers-colima
Bruk når du kjører tester med Maven (mvn test, mvn verify, mvn package, mvn install) eller andre JVM-verktøy på macOS med Colima/Docker Desktop. Konfigurerer automatisk Testcontainers til å koble til PostgreSQL-containere via Colimas Docker-socket.
baks-spring-boot-best-practices
Spring Boot best practices for Kotlin — injection, transactions, proxy annotations, JPA entities, naming, and REST API design. Use when writing or reviewing Spring Boot code in Kotlin.
baks-maven-kotlin-build
Bruk når du kjører Maven-bygg (mvn) i dette prosjektet. Kotlin compiler daemon feiler med "cannot connect to registry: Operation not permitted" i dette miljøet. Legg alltid til -Dkotlin.compiler.daemon=false i alle mvn-kommandoer.