NES for Project Reactor 2024.0.x Setup
Installation and configuration guide for the NES for Project Reactor 2024.0.x release train
Setup Instructions
NES for Project Reactor 2024.0.x requires Java 8+.
The 2024.0 release train covers Reactor Core 3.7, Reactor Netty 1.2, Reactor Pool 1.1, Reactor Addons 3.5, Reactor Kotlin Extensions 1.2, Reactor Kafka 1.3 and Reactive Streams 1.0, each at the version the upstream reactor-bom 2024.0.18 pins. The NES reactor-bom pins every one of them to its NES version, so import the BOM and declare the Reactor artifacts your application uses without versions.
Configure Registry
Create or update your registry configuration:
<settings>
<servers>
<server>
<id>herodevs-nes-registry</id>
<username>any_text_here_not_used</username>
<password>YOUR_NES_ACCESS_TOKEN</password>
</server>
</servers>
</settings>
See the guides for Sonatype Nexus or JFrog Artifactory for setup to the HeroDevs NES registry.
Update Build Configuration
Add the NES repository and dependencies to your build configuration:
Look up a specific artifact version in the "NES Maven Artifacts: Paid Versions" table.
In a Spring Boot application that uses Spring Boot dependency management, set the reactor-bom.version property to apply the NES version to every artifact that Spring Boot manages. See Spring Boot Dependency Management for details.
<properties>
<reactor-bom.version>2024.0.18-reactor-2024.0.21</reactor-bom.version>
</properties>
<!-- Add NES repository -->
<repositories>
<repository>
<id>herodevs-nes-registry</id>
<url>https://registry.nes.herodevs.com/maven</url>
</repository>
</repositories>
Otherwise, add the NES dependencies directly to your build configuration:
<!-- Add the Project Reactor dependencies your application uses, without versions -->
<!-- Import the NES Reactor BOM, which pins every Reactor artifact to its NES version -->
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-bom</artifactId>
<version>2024.0.18-reactor-2024.0.21</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-core</artifactId>
</dependency>
<!-- Only needed if you use the Reactor Netty HTTP client or server -->
<dependency>
<groupId>io.projectreactor.netty</groupId>
<artifactId>reactor-netty-http</artifactId>
</dependency>
<!-- Only needed if you use Reactor Pool -->
<dependency>
<groupId>io.projectreactor.addons</groupId>
<artifactId>reactor-pool</artifactId>
</dependency>
<!-- Only needed if you use Reactor Extra -->
<dependency>
<groupId>io.projectreactor.addons</groupId>
<artifactId>reactor-extra</artifactId>
</dependency>
<!-- Only needed if you use the Reactor Kotlin Extensions -->
<dependency>
<groupId>io.projectreactor.kotlin</groupId>
<artifactId>reactor-kotlin-extensions</artifactId>
</dependency>
<!-- Only needed if you use Reactor Kafka -->
<dependency>
<groupId>io.projectreactor.kafka</groupId>
<artifactId>reactor-kafka</artifactId>
</dependency>
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<!-- Add NES repository -->
<repositories>
<repository>
<id>herodevs-nes-registry</id>
<url>https://registry.nes.herodevs.com/maven</url>
</repository>
</repositories>
Build
In order to remove potential obstacles before building your project, make sure the following domains are whitelisted by your firewall/networking team:
registry.nes.herodevs.comassets.nes.herodevs.com
This will ensure that your network/firewall allows connection to our registry.
Run your build tool:
mvn clean package
Verification
To verify your installation, check that:
- Dependencies are downloaded successfully
- No version conflicts are reported in your build
- Your application starts without errors
Manual Downloads
The direct download URLs for NES for Project Reactor packages follow this format:
| Portion | Value |
|---|---|
| base_url | https://registry.nes.herodevs.com/maven/io/projectreactor/ |
| package_name | reactor-bom |
| version | 2024.0.18-reactor-2024.0.21 |
| filename | package_name + version + extension |