View our complete list of supported Spring 5.x Trial versions and packages.
NES for Spring 5 has the following system requirements: Java 8+, Maven 3.5+, Gradle 6.8.x - 8.x
Example repositories showing before/after configuration:
Create or update your registry configuration:
Maven (~/.m2/settings.xml)
Gradle (~/.gradle/gradle.properties)
<settings>
<servers>
<!-- Other server settings -->
<server>
<id>herodevs-nes-registry</id>
<username>some@email.com</username>
</server>
</servers>
</settings>
herodevs_nes_registry_url=https://registry.nes.herodevs.com/maven
herodevs_nes_registry_user=some@email.com
Add the NES repository and dependencies to your build configuration:
<parent>
<groupId>com.herodevs.nes.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.18-spring-boot-2.7.19-trial</version>
</parent>
<!-- Update Spring dependencies -->
<dependencies>
<dependency>
<groupId>com.herodevs.nes.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>com.herodevs.nes.springframework.boot</groupId>
<artifactId>spring-boot-starter-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>
<pluginRepositories>
<pluginRepository>
<id>herodevs-nes-registry</id>
<url>https://registry.nes.herodevs.com/maven</url>
</pluginRepository>
</pluginRepositories>
plugins {
id 'java'
// Update Spring Dependencies
id 'com.herodevs.nes.springframework.boot' version '2.7.18-spring-boot-2.7.19-trial'
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
}
dependencies {
// Update Spring Dependencies
implementation "com.herodevs.nes.springframework.boot:spring-boot-starter-web"
implementation "com.herodevs.nes.springframework.boot:spring-boot-starter-security"
implementation "com.herodevs.nes.springframework.boot:spring-boot-starter-validation"
}
// Add NES Repository
repositories {
maven {
url = uri(providers.gradleProperty("herodevs_nes_registry_url").get())
credentials {
username = providers.gradleProperty("herodevs_nes_registry_user").get()
}
}
mavenCentral()
}
pluginManagement {
repositories {
maven {
url = uri(providers.gradleProperty("herodevs_nes_registry_url").get())
credentials {
username = providers.gradleProperty("herodevs_nes_registry_user").get()
}
}
//...
mavenCentral()
}
}
Run your build tool:
To verify your installation, check that:
- Dependencies are downloaded successfully
- No version conflicts are reported in your build
- Your application starts without Spring-related errors
The direct download URLs for NES Spring packages follow this format:
Portion | Value | base_url | https://registry.nes.herodevs.com/maven/com/herodevs/nes/springframework/boot/ |
package_name | spring-boot-starter-parent |
version | 2.7.18-spring-boot-2.7.19-trial |
filename | package_name + version + extension |
Example Link
https://registry.nes.herodevs.com/maven/com/herodevs/nes/springframework/boot/spring-boot-starter-parent/2.7.18-spring-boot-2.7.19-trial/spring-boot-starter-parent-2.7.18-spring-boot-2.7.19-trial.pom