View our complete list of supported Spring 5.x 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>
<server>
<id>neverendingsupport</id>
<username>any_text_here_not_used</username>
<password>YOUR_NES_ACCESS_TOKEN</password>
</server>
</servers>
</settings>
herodevs_nes_registry_url=https://registry.nes.herodevs.com/maven
herodevs_nes_registry_user=any_text_here_not_used
herodevs_nes_registry_token=NES_TOKEN_HERE
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</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'
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()
password = providers.gradleProperty("herodevs_nes_registry_token").get()
}
authentication {
basic(BasicAuthentication)
}
}
mavenCentral()
}
pluginManagement {
repositories {
//...
maven {
url = uri(providers.gradleProperty("herodevs_nes_registry_url").get())
credentials {
username = providers.gradleProperty("herodevs_nes_registry_user").get()
password = providers.gradleProperty("herodevs_nes_registry_token").get()
}
authentication {
basic(BasicAuthentication)
}
}
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 |
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/spring-boot-starter-parent-2.7.18-spring-boot-2.7.19.pom