View our complete list of supported Spring 4.x versions and packages.
NES for Spring 4 has the following system requirements: Java 8+, Maven 3.2+, Gradle 2.9 - 6.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>1.5.22-spring-boot-1.5.23</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 '1.5.22-spring-boot-1.5.23'
}
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 | 1.5.22-spring-boot-1.5.23 |
filename | package_name + version + extension |
Example Link
https://registry.nes.herodevs.com/maven/com/herodevs/nes/springframework/boot/spring-boot-starter-parent/1.5.22-spring-boot-1.5.23/spring-boot-starter-parent-1.5.22-spring-boot-1.5.23.pom