[MGNLDEMO-296] Cannot build travel-demo due to missing parent artifact Created: 15/Aug/18  Updated: 15/Aug/18  Resolved: 15/Aug/18

Status: Closed
Project: Magnolia Demo Projects
Component/s: magnolia-travels
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Sahin Güner Assignee: Unassigned
Resolution: Not an issue Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

When trying to build the travel demo from here, I face the following error:

 

Downloading: https://repo.maven.apache.org/maven2/info/magnolia/maven/poms/magnolia-parent-pom-community/36/magnolia-parent-pom-community-36.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for info.magnolia.demo:magnolia-travel-demo-parent:1.3.2-SNAPSHOT: Could not find artifact info.magnolia.maven.poms:magnolia-parent-pom-community:pom:36 in central (https://repo.maven.apache.org/maven2) and 'parent.relativePath' points at wrong local POM @ line 4, column 11
 @ 

I couldn't find this artifact within the mentioned repo.

How can I get the travel-demo built?

 

Thanks in advice!

 

Sahin



 Comments   
Comment by Richard Gange [ 15/Aug/18 ]

Hi Sahin-

I would say there is a problem with you maven settings file. That pom is not located here:

https://repo.maven.apache.org/maven2/info/magnolia/maven/poms/magnolia-parent-pom-community/36/magnolia-parent-pom-community-36.pom 

It's here:

https://nexus.magnolia-cms.com/service/local/repo_groups/public/content/info/magnolia/maven/poms/magnolia-parent-pom-community/36/magnolia-parent-pom-community-36.pom 

Please see: https://wiki.magnolia-cms.com/display/DEV/Maven+setup

Cheers!

Comment by Sahin Güner [ 15/Aug/18 ]

Hi Richard,

 

thanks for this info. I'd expect the custom/Magnolia repositories within the POM
</repositories><repository>....</repository></repositories>
 

I will add the Magnolia repo to my Maven configuration.

 

Thanks a lot.

 

Sahin

Comment by Richard Gange [ 15/Aug/18 ]

No problem.

Generated at Mon Feb 12 05:18:15 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.