Skip to main content
Level 2
October 22, 2020
Solved

while installing package , getting "A different version seems to be installed"

Hi , 

 

I have updated the major version in my project POM's , but i am getting "A different version seems to be installed" message in front of package. and it does not seems to be installed .

I have to manually do re-install for these packages.

 

did anyone face this ?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Vijayalakshmi_S
Vijayalakshmi_SAccepted solution
Level 10
October 27, 2020

Hi @ankitm63461691,

Can you confirm if new version is updated in pom.xml of all the modules of the project and it is same all across. Ignore if it is so already. 

Also, try with autoInstallPackage profile defined as part of main project pom instead of autoInstallSinglePackage profile from all module. (Just in thought to narrow down)

 

9 replies

Adobe Employee
October 22, 2020
What is the installed version, and what is your "new" package's version?
Translate
Level 2
October 22, 2020
the installed version is 2.0.0 and new version is 2.0.1
Translate
Adobe Employee
October 22, 2020
And how are you installing the 2.0.1 package? Manually via Package Manager? Or running a mvn install command (if so, what is it exactly)? Or something else (ex. custom Jenkins)
Translate
Daniel_Gordon
Adobe Employee
Adobe Employee
October 22, 2020

Can you post the version numbers you are working with?

Translate
Level 2
October 23, 2020
the installed package version is 2.0.0 and new version is 2.0.1
Translate
Ankur_Khare
Community Advisor
Community Advisor
October 22, 2020

Could you please add pom.xml files?

Translate
Ankur
Level 2
October 23, 2020
its a mvn install command triggered via jenkins... clean install -DskipTests -PautoInstallSinglePackage
Translate
Vijayalakshmi_S
Vijayalakshmi_SAccepted solution
Level 10
October 27, 2020

Hi @ankitm63461691,

Can you confirm if new version is updated in pom.xml of all the modules of the project and it is same all across. Ignore if it is so already. 

Also, try with autoInstallPackage profile defined as part of main project pom instead of autoInstallSinglePackage profile from all module. (Just in thought to narrow down)

 

Translate
Anudeep_Garnepudi
Community Advisor
Community Advisor
October 30, 2020

Hi @ankitm63461691 

Versions in parent POM and the child POM are same? Please check once.

AG

Translate
AG