while installing package , getting "A different version seems to be installed" | Community
Skip to main content
Level 2
Oct 22, 2020 1:52 PM UTC
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
Oct 27, 2020 1:51 PM UTC

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

Anudeep_Garnepudi
New Participant
Oct 30, 2020 7:10 AM UTC

Hi @ankitm63461691 

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

AG

Translate
Vijayalakshmi_S
Vijayalakshmi_SAccepted solution
Level 10
Oct 27, 2020 1:51 PM UTC

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
Level 2
Oct 23, 2020 4:03 AM UTC
its a mvn install command triggered via jenkins... clean install -DskipTests -PautoInstallSinglePackage
Translate
Ankur_Khare
New Participant
Oct 22, 2020 5:48 PM UTC

Could you please add pom.xml files?

Translate
Daniel_Gordon
Employee
Oct 22, 2020 4:41 PM UTC

Can you post the version numbers you are working with?

Translate
Level 2
Oct 23, 2020 4:04 AM UTC
the installed package version is 2.0.0 and new version is 2.0.1
Translate
Employee
Oct 22, 2020 3:58 PM UTC
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
Level 2
Oct 22, 2020 3:37 PM UTC
the installed version is 2.0.0 and new version is 2.0.1
Translate
Employee
Oct 22, 2020 2:21 PM UTC
What is the installed version, and what is your "new" package's version?
Translate