Page History
...
Magnolia provides a cloud-specific option in the Magnolia Maven Archetype to bootstrap a new project.
Note |
---|
Until version 1.3 of the You receive your subscription-code and access keys during the Magnolia Cloud onboarding process. The |
Usage
Code Block | ||
---|---|---|
| ||
mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeCatalog=https://nexus.magnolia-cms.com/content/groups/public/ ... 6: https://nexus.magnolia-cms.com/content/repositories/magnolia.public.snapshots -> info.magnolia.maven.archetypes:magnolia-cloud-project-archetype (Automates the creation of a Magnolia Cloud project: parent pom and webapp) Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): : 6 Define value for property 'groupId': : com.mycompany.project Define value for property 'artifactId': : web-project-xyz Define value for property 'version': 1.0-SNAPSHOT: : Define value for property 'package': com.mycompany.project: : Define value for property 'cloud-subscription-code': : mycompany-project Define value for property 'magnolia-bundle-version': : 6.2.1 Define value for property 'project-name': web-project-xyz: : Confirm properties configuration: groupId: com.mycompany.project artifactId: web-project-xyz version: 1.0-SNAPSHOT package: com.mycompany.project cloud-subscription-code: mycompany-project magnolia-bundle-version: 6.2.1 project-name: web-project-xyz Y: : Y ... [INFO] project created from Archetype in dir: /Users/user/dev/web-project-xyz [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:18 min [INFO] Finished at: 2020-04-23T13:12:46+02:00 [INFO] ------------------------------------------------------------------------ |
...
Overview
Content Tools