The versions of the starter atrifacts are managed in the starter parent. For example, if you have this in your POM:

<parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>2.0.2.RELEASE</version>
</parent>

Then any boot starter dependency you reference will have version 2.0.2.RELEASE, unless you override the default and provide your own version for some reason.

Answer from Michael Peacock on Stack Overflow
🌐
GitHub
github.com › spring-projects › spring-boot › issues › 36884
Upgrade to Commons Lang3 3.13.0 · Issue #36884 · spring-projects/spring-boot
June 15, 2023 - spring-projects / spring-boot Public · Notifications · You must be signed in to change notification settings · Fork 41.8k · Star 79.7k · New issueCopy link · New issueCopy link · Closed · Closed · Upgrade to Commons Lang3 3.13.0#36884 · Copy link · Labels · type: dependency-upgradeA dependency upgradeA dependency upgrade ·
Published   Aug 09, 2023
🌐
Stack Overflow
stackoverflow.com › questions › 66846709 › adding-apache-commons-lang3-to-my-spring-boot-project
adding Apache Commons Lang3 to my Spring Boot project - Stack Overflow
I am doing a Spring Boot exercise from Baeldung.com. The project has a test class that uses the method randomAlphabetic, which I have traced back to RandomStringUtils, which in turn belongs to Lang3 from Apache Commons.
🌐
Maven Repository
mvnrepository.com › artifact › org.apache.commons › commons-lang3
Maven Repository: org.apache.commons » commons-lang3
November 12, 2025 - Dependency Injection · XML Processing · Concurrency Libraries · Web Frameworks · Android Platform · Code Generators · View All · Home » org.apache.commons » commons-lang3 · Apache Commons Lang, a package of Java utility classes for the classes that are in java.lang's hierarchy, or are considered to be so standard as to justify existence in java.lang.
🌐
Stack Overflow
stackoverflow.com › questions › 66373216 › apache-commons-lang-comes-by-default-with-spring-boot
string utils - Apache Commons Lang comes by default with Spring Boot? - Stack Overflow
I have a requirement in my project to delete from build.gradle the implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.0' and instead use apache commons lang (which comes by default with Spring Boot).
🌐
GitHub
github.com › spring-projects › spring-boot › issues › 7896
Provide dependency management for commons-lang3 · Issue #7896 · spring-projects/spring-boot
Related to htmlunit upgrade. In the CFP app, we use webjars-locator that brings commons-lang 3.1 - HtmlUnit requires 3.4 Since we don't have dependency management for commons-lang3, using HTML unit with Boot 1.5 SNAPSHOT leads to Caused ...
Top answer
1 of 3
5

The versions of the starter atrifacts are managed in the starter parent. For example, if you have this in your POM:

<parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>2.0.2.RELEASE</version>
</parent>

Then any boot starter dependency you reference will have version 2.0.2.RELEASE, unless you override the default and provide your own version for some reason.

2 of 3
2

This is related not only to starters, if you have many modules in your project they have different dependencies. As regular practice, there is a parent pom.xml with general settings.

If you see a dependency in child maven module like below:

<dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>commons-lang3</artifactId>
</dependency>

There is a configured dependency in parent pom like:

<dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>commons-lang3</artifactId>
    <version>3.5</version>
</dependency>

Usually, it's more flexible to configure versions with properties:

<properties>
    <commons-lang3.version>3.5</commons-lang3.version>
</properties>

<dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>commons-lang3</artifactId>
    <version>${commons-lang3.version}</version>
</dependency>

MongoDb version is defined in spring-boot-dependencies using Dependency Management mechanism.

<properties>
    <mongodb.version>3.8.0-beta2</mongodb.version>
<properties>

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.mongodb</groupId>
            <artifactId>mongodb-driver</artifactId>
            <version>${mongodb.version}</version>
        </dependency>
    <dependencies>
<dependencyManagement>

Dependency management is a mechanism for centralizing dependency information. When you have a set of projects that inherits a common parent it's possible to put all information about the dependency in the common POM and have simpler references to the artifacts in the child POMs.

🌐
GitHub
github.com › spring-projects › spring-boot › issues › 6603
commons-lang in spring-boot-dependencies · Issue #6603 · spring-projects/spring-boot
March 24, 2016 - commons-lang in spring-boot-dependencies#6603 · Copy link · Labels · status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply · Tomschi · opened · on Aug 10, 2016 ·
Published   Aug 10, 2016
🌐
Baeldung
baeldung.com › home › java › java string › an introduction to apache commons lang 3
An Introduction to Apache Commons Lang 3 | Baeldung
January 8, 2024 - >> Flexible Pub/Sub Messaging With Spring Boot and Dapr · The Apache Commons Lang 3 library is a popular, full-featured package of utility classes, aimed at extending the functionality of the Java API.
Find elsewhere
🌐
Baeldung
baeldung.com › home › java › java string › string processing with apache commons lang 3
String Processing with Apache Commons Lang 3 | Baeldung
January 8, 2024 - >> Flexible Pub/Sub Messaging With Spring Boot and Dapr · The Apache Commons Lang 3 library provides support for manipulation of core classes of the Java APIs.
🌐
GitHub
github.com › spring-projects › spring-boot › issues › 46437
Upgrade to Commons Lang3 3.18.0 · Issue #46437 · spring-projects/spring-boot
March 27, 2025 - spring-projects / spring-boot Public · Notifications · You must be signed in to change notification settings · Fork 41.6k · Star 79k · New issueCopy link · New issueCopy link · Closed · Closed · Upgrade to Commons Lang3 3.18.0#46437 · Copy link · Labels · type: dependency-upgradeA dependency upgradeA dependency upgrade ·
Published   Jul 16, 2025
🌐
Apache Commons
commons.apache.org › proper › commons-lang › dependency-info.html
Maven Coordinates – Apache Commons Lang
Apache Commons, Apache Commons Lang, Apache, the Apache logo, and the Apache Commons project logos are trademarks of The Apache Software Foundation.
🌐
Java Guides
javaguides.net › 2024 › 05 › guide-to-apache-commons-lang3-in-java.html
Guide to Apache Commons Lang3 in Java
May 18, 2024 - To use Apache Commons Lang3, add the following dependency to your pom.xml if you're using Maven:
🌐
Stack Overflow
stackoverflow.com › questions › tagged › apache-commons-lang3
Newest 'apache-commons-lang3' Questions - Stack Overflow
Is there a way to identify which library version should I be using for a specific scala version? For example., I want to use commons-lang3 library but whatever version I choose I run into an error. I'... ... nested exception is org.springframework.core.serializer.support.SerializationFailedException: Failed to deserialize payload.
🌐
Sourcecodeexamples
sourcecodeexamples.net › 2019 › 11 › apache-commons-lang-maven-dependency.html
Apache Commons Lang Maven Dependency
November 28, 2019 - https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 · Apache Maven Dependency · Get link · Facebook · X · Pinterest · Email · Other Apps · Spring 6 and Spring Boot 3 for Beginners (Includes Projects) Building Real-Time ...
🌐
GitHub
github.com › spring-projects › spring-boot › issues › 42216
Upgrade to Commons Lang3 3.17.0 · Issue #42216 · spring-projects/spring-boot
May 10, 2024 - spring-projects / spring-boot Public · Notifications · You must be signed in to change notification settings · Fork 41.6k · Star 78.9k · New issueCopy link · New issueCopy link · Closed · Closed · Upgrade to Commons Lang3 3.17.0#42216 · Copy link · Labels · type: dependency-upgradeA dependency upgradeA dependency upgrade ·
Published   Sep 11, 2024
🌐
Silverbluelake
neauz.silverbluelake.com › post › commons-lang3-spring-boot-dependency › 13165240
Commons lang3 spring boot dependency - silverbluelake.com
Commons lang3 spring boot dependency · String Processing with Apache Commons Lang 3 WebMar 9, 2017 · Get started with Spring 5 and Spring Boot 2, through the Learn Spring course: >> CHECK OUT THE COURSE. 1. Overview ... just pull it from the central … arcmap lyr file https://www.baeldu...
🌐
GitHub
github.com › alibaba › nacos › issues › 3845
org.apache.commons.lang3 Version compatibility is not friendly · Issue #3845 · alibaba/nacos
<!-- https://mvnrepository.com/artifact/com.alibaba.boot/nacos-config-spring-boot-starter --> <dependency> <groupId>com.alibaba.boot</groupId> <artifactId>nacos-config-spring-boot-starter</artifactId> <version>0.2.7</version> </dependency> Desktop (please complete the following information): OS: [Window10] Version [nacos-config-spring-boot-starter 0.2.6, nacos-config-spring-boot-starter 0.2.7] Additional context nacos-config-spring-boot-starter 0.2.6和0.2.7版本对org.apache.commons.lang3兼容不友好 ·
Published   Sep 16, 2020
Author   p564825336
🌐
GitHub
gist.github.com › liudong-xyz › b8fbfe6581a2f0e88756e5d92f3bea16
use StringUtils in [apache-commons-lang3] · GitHub
use StringUtils in [apache-commons-lang3] Raw · pom.xml · This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
🌐
Maven Repository
mvnrepository.com › artifact › org.apache.commons › commons-lang3 › 3.0
Maven Repository: org.apache.commons » commons-lang3 » 3.0
July 19, 2011 - Dependency Injection · XML Processing · Concurrency Libraries · Web Frameworks · Android Platform · Code Generators · View All · Home » org.apache.commons » commons-lang3 » 3.0 · Apache Commons Lang, a package of Java utility classes for the classes that are in java.lang's hierarchy, or are considered to be so standard as to justify existence in java.lang.
Published   Jul 19, 2011
Version   3.0