mirror of
https://github.com/ralscha/wamp2spring.git
synced 2026-11-24 15:36:52 +01:00
No results
1
Development
Ralph Schaer edited this page 2026-10-30 16:08:52 +01:00
Table of contents
Building and testing
Run commands from the root of the wamp2spring source repository. Java 17 is the compilation baseline. The Maven wrapper selects Maven 3.10.0 in the current checkout.
| Task | Windows PowerShell | Unix |
|---|---|---|
| Tests | .\mvnw.cmd test |
./mvnw test |
| Full verification | .\mvnw.cmd verify |
./mvnw verify |
| Install all modules locally | .\mvnw.cmd install |
./mvnw install |
| Core and servlet tests | .\mvnw.cmd -pl wamp2spring-servlet -am test |
./mvnw -pl wamp2spring-servlet -am test |
| PMD checks | .\mvnw.cmd -DskipTests pmd:check |
./mvnw -DskipTests pmd:check |
| Format Java | .\mvnw.cmd spring-javaformat:apply |
./mvnw spring-javaformat:apply |
Taskfile.yml provides equivalent test, verify, lint, format, clean, sortpom, and license tasks when Task is installed. verify also runs the configured license check and packages sources. The error-prone Maven profile activates on JDK 21 and newer, adding Error Prone and NullAway checks.
Test layout
wamp2spring-core/src/test: message codecs, authentication providers, broker/dealer behavior, registries, meta APIs, argument conversion, features, and ordered channel execution.wamp2spring-servlet/src/test: WebSocket integration, lifecycle events, RPC, Pub/Sub, and long-poll controller/transport lifecycle tests.wamp2spring-reactive/src/test: reactive WebSocket integration, lifecycle events, RPC, and Pub/Sub.
The checked-in CI workflow runs ./mvnw clean test on Java 17, 21, 25, and 26. See Maven for the current dependency versions and Support for reporting a reproducer.
Table of Contents
- Introduction
- Quickstart
- Maven
- Modules
- Features
- Configuration
- RPC
- Publish/Subscribe
- Meta APIs
- Security
- Authentication
- Transports
- Spring Session
- Events