Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,274
Community Members
 
Community Events
165
Community Groups

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

Edited

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

Expecting an answer still...

Hao Ma I'm New Here Apr 26, 2022

Hi, you can check out this page for answer

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

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you