• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
Bartenders:
  • Carey Brown
  • salvin francis
  • Claude Moore

Trying to Update Spring version in existing POM.XML  RSS feed

 
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the following pom.xml which is using old version of spring. I am going through it as it was written by someone else and thinking to update it :


Question 1:

Does updating version number here `<version>1.3.3.RELEASE</version>` and here `<version>4.2.5.RELEASE</version>` for the dependency good enough to use the latest version of Spring boot? OR is it going to break things?


Question 2:

Could anyone explain why the Spring version is defined two times here one under parent tag and one under dependency tag:

 
Ranch Hand
Posts: 947
4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Does updating version number here `<version>1.3.3.RELEASE</version>` and here `<version>4.2.5.RELEASE</version>` for the dependency good enough to use the latest version of Spring boot? OR is it going to break things?



Yes by updating to higher version may break things.
 
Jack Tauson
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Tushar Goel wrote:

Does updating version number here `<version>1.3.3.RELEASE</version>` and here `<version>4.2.5.RELEASE</version>` for the dependency good enough to use the latest version of Spring boot? OR is it going to break things?



Yes by updating to higher version may break things.



So, in order to update and see whether things break or not, I just need to update the version numbers in pom.xml, right?
 
Saloon Keeper
Posts: 20658
122
Android Eclipse IDE Java Linux Redhat Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Helpful hint:


And yes, this is from a project that hasn't been updated in a LONG time.

But if I ever did, I only need to change the Spring version ID in one place!
 
These are the worst of times and these are the best of times. And this is the best tiny ad:
Create Edit Print & Convert PDF Using Free API with Java
https://coderanch.com/wiki/703735/Create-Convert-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!