Reactor aggregator for the Sly Technologies SDK OSS modules. Running Maven from this directory builds all open-source SDK modules in the correct dependency order.
sdk-build contains no code. It is a Maven reactor POM that lists all OSS SDK modules as <modules>, allowing Maven to resolve the full dependency graph and build everything in one command.
| Tool | Version |
|---|---|
| Java | 22+ |
| Maven | 3.9+ |
All modules must be checked out as siblings of sdk-build in a flat directory layout:
~/devl/sdks/
├── sdk-build/ ← run Maven from here
├── sdk-parent/
├── sdk-bom/
├── sdk-common/
├── sdk-common-systables/
├── sdk-protocol-core/
├── sdk-protocol-tcpip/
├── sdk-protocol-web/
├── sdk-protocol-infra/
├── jnetpcap-api/ ← activated via -P jnetpcap
├── jnetpcap-bindings/
├── jnetpcap-sdk/
├── jnetpcap-examples/
├── jnetworks-api/ ← activated via -P jnetworks
├── jnetworks-pcap/
├── jnetworks-file-pcap/
├── jnetworks-sdk/
└── jnetworks-examples/
All commands are run from the sdk-build/ directory.
Core modules only (sdk-common + protocols):
mvn clean installInclude jNetPcap modules:
mvn clean install -P jnetpcapInclude jNetWorks modules:
mvn clean install -P jnetworksFull OSS build:
mvn clean install -P jnetpcap,jnetworksDeploy snapshots to Maven Central:
mvn clean deploy -P jnetpcap,jnetworksSkip tests:
mvn clean install -DskipTestsProfiles allow building subsets of the SDK without requiring all module directories to be present on disk. Maven only validates modules that are active for the current invocation.
| Profile | Modules Added |
|---|---|
| (default) | sdk-parent, sdk-bom, sdk-common, sdk-common-systables, sdk-protocol-* |
jnetpcap |
jnetpcap-api, jnetpcap-bindings, jnetpcap-sdk, jnetpcap-examples |
jnetworks |
jnetworks-api, jnetworks-pcap, jnetworks-file-pcap, jnetworks-sdk, jnetworks-examples |
Maven resolves build order automatically from the dependency graph. The logical order is:
sdk-parent
└── sdk-bom
└── sdk-common
├── sdk-common-systables
└── sdk-protocol-core
├── sdk-protocol-tcpip
│ ├── sdk-protocol-web
│ └── sdk-protocol-infra
└── jnetpcap-bindings
├── jnetpcap-api
│ └── jnetpcap-sdk
│ └── jnetpcap-examples
└── jnetworks-api
├── jnetworks-pcap
│ └── jnetworks-sdk
└── jnetworks-file-pcap
└── jnetworks-examples
| Module | Description |
|---|---|
| sdk-parent | Parent POM — shared build configuration |
| sdk-bom | Bill of Materials — dependency version management |
Licensed under the Apache License, Version 2.0.