[CONTEDIT-459] Module dependency on mtk2 but no maven dependency Created: 10/Nov/21  Updated: 10/Nov/21  Resolved: 10/Nov/21

Status: Closed
Project: Content Editor
Component/s: None
Affects Version/s: 1.3.9
Fix Version/s: None

Type: Bug Priority: Low
Reporter: Richard Gange Assignee: Unassigned
Resolution: Not an issue Votes: 0
Labels: mtk2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File dependency-tree-6.2.12.txt    
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   

If I try and build a 6.2.12 project with this pom:

    <dependency>
      <groupId>info.magnolia.dx</groupId>
      <artifactId>magnolia-dx-core-webapp</artifactId>
      <type>pom</type>
    </dependency>

I end up with this error because of this line:

15:25:28.786 [main] ERROR info.magnolia.init.MagnoliaServletContextListener - Oops, Magnolia could not be started
info.magnolia.module.model.reader.ModuleDependencyException: The following exceptions were found while checking Magnolia modules dependencies (i.e. those in META-INF/magnolia/my-module.xml):
Module Magnolia Content Editor Module (version 1.3.9) is dependent on mtk2 (version 2.0/*), which was not found.

Here is my dependency tree: dependency-tree-6.2.12.txt. It's missing an mtk2 dependency.



 Comments   
Comment by Roman Kovařík [ 10/Nov/21 ]

Isn't it declared at https://git.magnolia-cms.com/projects/ENTERPRISE/repos/content-editor/browse/magnolia-content-editor/pom.xml?at=magnolia-content-editor-1.3.9#113?

Comment by Richard Gange [ 10/Nov/21 ]

Yeah I guess. I just used the basic stuff provided by the archetype and ended up here.

15:25:28.786 [main] ERROR info.magnolia.init.MagnoliaServletContextListener - Oops, Magnolia could not be started
info.magnolia.module.model.reader.ModuleDependencyException: The following exceptions were found while checking Magnolia modules dependencies (i.e. those in META-INF/magnolia/my-module.xml):
Module Magnolia Content Editor Module (version 1.3.9) is dependent on mtk2 (version 2.0/*), which was not found.
Generated at Mon Feb 12 00:20:38 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.