Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This tutorial page explains how you can create a full-featured DX Core Magnolia webapp from a Magnolia Maven archetype. If you'd like to try creating a minimalistic webapp, see Creating a minimal webapp with Maven. For a general overview page, please refer to Creating a custom webapp with Maven.

...

  1. Create and switch to a directory where you want to create the new webapp, for example ~/dev/repo/magnolia.
  2. Open a shell and enter the following Maven command: Multiexcerpt includeSpaceWithExcerptDOCS62MultiExcerptNamedirect-command_webappPageWithExcerptHow to use Magnolia Maven archetypes

    Code Block
    mvn archetype:generate -DarchetypeGroupId=info.magnolia.maven.archetypes -DarchetypeArtifactId=magnolia-project-archetype -DarchetypeVersion=RELEASE
  3. When prompted to supply values for archetype parameters, enter the following:

    Code Block
    groupId: com.example
    artifactId: custom-dx-core-project
    version: 1.0-SNAPSHOT
    package: com.example
    magnolia-bundle-version: 6.2
    project-name: custom-dx-core-project
  4. Confirm the configuration by entering y

...