The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting some Warnings saying POM File is invalid for few atlassian jars

Piyal Nanayakkara
May 8, 2019

Hi

I am getting below warnings in compiling a Java Project which uses few Atlassian artifacts.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 

[WARNING] The POM for com.atlassian.upm:upm-api:jar:2.15 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for com.atlassian.core:atlassian-core:jar:5.0.9 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for com.atlassian.core:atlassian-core-user:jar:5.0.9 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for com.atlassian.core:atlassian-core-thumbnail:jar:5.0.9 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 

Then I ran the project with "mvn dependency:tree -X" command and captured following Warnings related to above POMs : Seems like "The parents form a cycle" is the root cause.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 

[WARNING] The POM for com.atlassian.upm:upm-api:jar:2.15 is invalid, transitive dependencies (if any) will not be available: 4 problems were encountered while building the effective model for com.atlassian.upm:upm-api:[unknown-version]
[ERROR] Invalid packaging for parent POM com.atlassian.upm:atlassian-universal-plugin-manager-plugin:[unknown-version], must be "pom" but is "atlassian-plugin" @ com.atlassian.upm:atlassian-universal-plugin-manager-plugin:[unknown-version]
[ERROR] Invalid packaging for parent POM com.atlassian.upm:atlassian-universal-plugin-manager-plugin:[unknown-version], must be "pom" but is "atlassian-plugin" @ com.atlassian.upm:atlassian-universal-plugin-manager-plugin:[unknown-version]
[ERROR] Invalid packaging for parent POM com.atlassian.upm:atlassian-universal-plugin-manager-plugin:[unknown-version], must be "pom" but is "atlassian-plugin" @ com.atlassian.upm:atlassian-universal-plugin-manager-plugin:[unknown-version]
[FATAL] The parents form a cycle: com.atlassian.upm:upm-api:2.15 -> com.atlassian.upm:atlassian-universal-plugin-manager:2.15 -> com.atlassian.upm:atlassian-universal-plugin-manager:2.15 @ com.atlassian.upm:atlassian-universal-plugin-manager-plugin:[unknown-version]

[WARNING] The POM for com.atlassian.core:atlassian-core:jar:5.0.9 is invalid, transitive dependencies (if any) will not be available: 1 problem was encountered while building the effective model for com.atlassian.core:atlassian-core:[unknown-version]
[FATAL] The parents form a cycle: com.atlassian.core:atlassian-core:5.0.9 -> com.atlassian.pom:public-pom:3.0.88 -> com.atlassian.pom:public-pom:3.0.88 @ com.atlassian.core:atlassian-core-parent:5.0.8

[WARNING] The POM for com.atlassian.core:atlassian-core-user:jar:5.0.9 is invalid, transitive dependencies (if any) will not be available: 1 problem was encountered while building the effective model for com.atlassian.core:atlassian-core-user:[unknown-version]
[FATAL] The parents form a cycle: com.atlassian.core:atlassian-core-user:5.0.9 -> com.atlassian.pom:public-pom:3.0.88 -> com.atlassian.pom:public-pom:3.0.88 @ com.atlassian.core:atlassian-core-parent:5.0.8

[WARNING] The POM for com.atlassian.core:atlassian-core-thumbnail:jar:5.0.9 is invalid, transitive dependencies (if any) will not be available: 1 problem was encountered while building the effective model for com.atlassian.core:atlassian-core-thumbnail:[unknown-version]
[FATAL] The parents form a cycle: com.atlassian.core:atlassian-core-thumbnail:5.0.9 -> com.atlassian.pom:public-pom:3.0.88 -> com.atlassian.pom:public-pom:3.0.88 @ com.atlassian.core:atlassian-core-parent:5.0.8

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 

Appreciate your thoughts on resolve these warnings.

Regards

Piyal

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Piyal Nanayakkara
June 11, 2019

Expecting an answer still...

Hao Ma
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 26, 2022

Hi, you can check out this page for answer

:https://zhuanlan.zhihu.com/p/107208080