[DOCU-2392] DOC: Add build dependency for E-commerce module to custom DX core webapp creation tutorial Created: 07/Feb/22  Updated: 18/Oct/22  Resolved: 08/Feb/22

Status: Closed
Project: Documentation
Component/s: maven-generated
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Adrian Brooks Assignee: Adrian Brooks
Resolution: Done Votes: 0
Labels: authx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
[X]* Build succeeds also when E-commerce 1.3.1 module dependency is added
Task DoR:
Empty
Epic Link: AuthorX Maintenance
Sprint: AuthorX 2
Story Points: 1

 Description   

For this tutorial: https://docs.magnolia-cms.com/product-docs/6.2/Developing/Bundles-and-webapps/Creating-a-custom-webapp-with-Maven/Creating-a-DX-Core-webapp-with-Maven.html

At the end, if you include the E-commerce 1.3.1 Maven dependency, the build will fail because E-commerce 1.3.1 requires DX core 6.2.7 or higher, and the tutorial uses 6.2. Mention the (optional) dependency, that it can be resolved by increasing the DX core version in the parent POM file or the E-commerce version in the webapp POM file.

Either a warning before the build command letting the user know that additional Maven dependencies might break the build (with the E-commerce example) or use Alex's drop-drop JS for an optional step during the tutorial: "Want to add your own dependency?" 



 Comments   
Comment by Adrian Brooks [ 08/Feb/22 ]

Went for a drop-down box about possible dependency conflicts when adding the E-commerce module, and also added a link to the CLI option to use jar files to make custom bundles (as an alternative route): https://docs.magnolia-cms.com/magnolia-cli/3.x/how-to-get-and-adapt-a-bundle-with-magnolia-cli.html

 

Generated at Mon Feb 12 01:26:43 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.