Visit NES for Project Reactor Home Page

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

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:

Maven (~/.m2/settings.xml)
Gradle (~/.gradle/gradle.properties)
<settings>
  <servers>
    <server>
      <id>herodevs-nes-registry</id>
      <username>any_text_here_not_used</username>
      <password>YOUR_NES_ACCESS_TOKEN</password>
    </server>
  </servers>
</settings>

Update Build Configuration

Add the NES repository and dependencies to your build configuration:

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.

Maven (pom.xml)
Gradle (Groovy)
Gradle (Kotlin)
<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:

Maven (pom.xml)
Gradle
<!-- 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.com
  • assets.nes.herodevs.com

This will ensure that your network/firewall allows connection to our registry.

Run your build tool:

Maven
Gradle
mvn clean package

Verification

To verify your installation, check that:

  1. Dependencies are downloaded successfully
  2. No version conflicts are reported in your build
  3. Your application starts without errors

Manual Downloads

The direct download URLs for NES for Project Reactor packages follow this format:

PortionValue
base_urlhttps://registry.nes.herodevs.com/maven/io/projectreactor/
package_namereactor-bom
version2024.0.18-reactor-2024.0.21
filenamepackage_name + version + extension

Example Link

https://registry.nes.herodevs.com/maven/io/projectreactor/reactor-bom/2024.0.18-reactor-2024.0.21/reactor-bom-2024.0.18-reactor-2024.0.21.pom