Spring 4.x
Installation and configuration guide for NES for Spring 4.x
Available Packages & Versions
View our complete list of supported Spring 4.x versions and packages.
Setup Instructions
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:
Configure Registry
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>
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 for Spring Artifacts: Paid Versions" table.
Maven
Gradle
<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>
Build
Run your build tool:
Maven
Gradle
mvn clean install
Verification
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
Manual Downloads
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 |