It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Non-resolvable parent POM error

Hello,

 

i am integrating a sample soa application, where i have pom.xml in the project as well as the parent folder. I am getting the following error for my pipeline. 

 

[ERROR] [ERROR] Some problems were encountered while processing the POMs:[FATAL] Non-resolvable parent POM for org.my.test:test-soa-project:1.0-SNAPSHOT: Could not find artifact org.my.test:test-soa-application:pom:12.1.3-0-0 in central (https://repo.maven.apache.org/maven2) and 'parent.relativePath' points at wrong local POM @ line 21, column 13 @ [ERROR] The build could not read 1 project -> [Help 1][ERROR] [ERROR] The project org.my.test:test-soa-project:1.0-SNAPSHOT (/opt/atlassian/pipelines/agent/build/test-soa-application/test-soa-project/pom.xml) has 1 error[ERROR] Non-resolvable parent POM for org.my.test:test-soa-project:1.0-SNAPSHOT: Could not find artifact org.my.test:test-soa-application:pom:12.1.3-0-0 in central (https://repo.maven.apache.org/maven2) and 'parent.relativePath' points at wrong local POM @ line 21, column 13 -> [Help 2][ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

1 answer

0 votes
Milos Kleint Atlassian Team May 09, 2019

please see this stackoverflow question that is related to your problem: https://stackoverflow.com/questions/37062491/maven-complaining-about-parent-relative-path/37068864

either your pom.xml file's <relativePath> doesn't point to the parent file (in the right version) or your remote repositories are not setup.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

4,094 views 4 22
Read article

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