Trial for Spring Boot 1.5
Installation and configuration guide for NES for Spring Boot 1.5 Trial
Available Packages & Versions
View our complete list of supported Spring Boot 1.5 Trial versions and packages.
Sample Application
A trial repository is available on GitHub which demonstrates Maven integration and Gradle integration.
Setup Instructions
NES for Spring Boot 1.5 has the following system requirements: Java 8+, Maven 3.5+, Gradle 4.0.0 - 6.8.x:
Note: username and password are required but can be set to any email address.
Configure Registry
Create or update your registry configuration:
<settings>
<servers>
<!-- Other server settings -->
<server>
<id>herodevs-nes-registry</id>
<username>some@email.com</username>
<password>some@email.com</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: Trial Versions" table.
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<!-- Update Spring dependencies -->
<version>1.5.22-spring-boot-1.5.24-trial</version>
</parent>
<dependencies>
<!-- Update Spring dependencies -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.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>
Since all the above dependencies are managed by Spring Boot, only the NES version update for Spring Boot is needed in this example.
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:
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/org/springframework/boot/ |
package_name | spring-boot-starter-parent |
version | 1.5.22-spring-boot-1.5.24-trial |
filename | package_name + version + extension |