sidebar hamburger menu

Spring

TuxCare's Endless Lifecycle Support (ELS) for Spring provides security updates, system enhancement patches, and selected bug fixes, that are integral to the stable operation of applications running on these versions of Spring ecosystem components such as Spring Framework, Spring Boot, Spring Data, Spring Security, etc. These components have either reached their end of standard support from vendors or have reached End of Life (EOL).

Our ELS for Spring service is designed to provide solutions for organizations that are not yet ready to migrate to newer versions and that are seeking long-term stability for their legacy Spring applications.

Connection to ELS for Spring Repository

Overview

This guide outlines the steps needed to integrate the TuxCare ELS for Spring repository into your Java application. The repository provides trusted Java libraries that can be easily integrated into your Maven as well as Gradle project.

Steps

Step 1: Get user credentials

You need username and password in order to use TuxCare ELS Spring repository. Anonymous access is disabled. To receive username and password please contact sales@tuxcare.com

Step 2: Create or Modify Your Build Tool Settings

Maven

  • If you are using Maven as your build automation tool, you will need to make changes in your ${MAVEN_HOME}/settings.xml file. If the file does not already exist in your ${MAVEN_HOME} directory, you should create one. Open the settings.xml file with a text editor and include the following configuration:
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.1.0">
    <servers>
        <server>
          <id>repository-id</id>
          <username>${env.USERNAME}</username>
          <password>${env.PASSWORD}</password>
        </server>
    </servers>
</settings>
  • Set your credentials via the following environment variables:
export USERNAME=your-username
export PASSWORD=your-password

Here your-username and your-password are your credentials mentioned in the Step 1.

  • You may choose an arbitrary allowed value instead of repository-id and use the same value in the following snippet from your pom.xml file:
<repositories>
    <repository>
        <id>repository-id</id>
        <url>https://nexus-repo.corp.cloudlinux.com/repository/els_spring/</url>
    </repository>
</repositories>
  • An example maven project can be found here. Do not forget to set the environment variables.

Gradle

  • If you are using Gradle as your build automation tool, make sure to include the following configuration in your project setup:
repositories {
  maven {
    url = uri("https://nexus-repo.corp.cloudlinux.com/repository/els_spring")
    credentials {
            username = findProperty('USERNAME')
            password = findProperty('PASSWORD')
    }
  }
}
  • Set your credentials via the following environment variables:
export ORG_GRADLE_PROJECT_USERNAME=your-username
export ORG_GRADLE_PROJECT_PASSWORD=your-password

Here your-username and your-password are your credentials mentioned in the Step 1.

  • An example gradle project can be found here. Do not forget to set the environment variables.

Verification

To confirm that the repository has been correctly established, include any library from the repository into your project and then run a build. The build tool you're using should be able to identify and resolve dependencies from the TuxCare ELS for Spring repository.

Conclusion

You've successfully integrated the TuxCare ELS for Spring repository into your project. You can now benefit from the secure and vetted Spring libraries it provides.

Resolved CVEs in ELS for Spring

Loading resolved CVEs...

×
Need help?
I'm an AI chatbot, trained to answer all your questions.