Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: DEV-1166

...

Code Block
languagetext
Choose info.magnolia.maven.archetypes:magnolia-moduleproject-archetype version: 
1: 1.1.0
2: 1.2.0
3: 1.2.1
4: 1.2.2
5: 1.2.3
6: 1.2.4
7: 1.2.5-SNAPSHOT
Choose a number: 7:
8: 1.2.6-SNAPSHOT

Sometimes, Maven prompts you to enter a literal value such as com.example and confirm with ENTER:

...

Expand
titleClick to see an example of the confirmation dialog.
Code Block
languagetext
Confirm properties configuration:
groupId: com.example
artifactId: fox-force-four
version: 1.0-SNAPSHOT
package: com.example.modules.foxforcefour
magnolia-bundle-version: 6.02
module-class-name: FoxforcefourModule
module-name: fox-force-four
 Y: :
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype: magnolia-forge-module-archetype:1.2.4
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: com.example
[INFO] Parameter: artifactId, Value: fox-force-four
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: package, Value: com.example.modules.foxforcefour
[INFO] Parameter: packageInPathFormat, Value: com/example/modules/foxforcefour
[INFO] Parameter: module-class-name, Value: FoxforcefourModule
[INFO] Parameter: magnolia-bundle-version, Value: 6.02
[INFO] Parameter: package, Value: com.example.modules.foxforcefour
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: groupId, Value: com.example
[INFO] Parameter: module-name, Value: fox-force-four
[INFO] Parameter: artifactId, Value: fox-force-four
[INFO] Project created from Archetype in dir: /Users/jdoe/repositories/magnolia/fox-force-four
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------

...

ParameterExample valueExplanation
Maven groupId com.example

Typically reflects the name or domain of your company or projects.


Maven artifactIdcustom-projectProject-specific identifier.
Maven artifact version1.0-SNAPSHOTProject version. Typically, when creating a new project, use the value suggested by Maven, for example 1.0-SNAPSHOT.
package com.example Package name for Java classes reflecting both your company (or domain) and the specific project.
magnolia-bundle-version6.02

Magnolia version from which your custom project inherits.

project-namecustom-project

Project name.

...

Multiexcerpt
MultiExcerptNamerequired-params_module
ParameterExample valueExplanation
Maven groupId com.example Typically reflects the name or domain of your company or projects.
Maven artifactIdfoobar-module Project-specific identifier.
Maven artifact version1.0-SNAPSHOTProject version. Typically, when creating a new project, use the value suggested by Maven, for example 1.0-SNAPSHOT.
package com.example.modules.foobar Package name for Java classes reflecting both your company (or domain) and the specific project.
magnolia-bundle-version6.02

Magnolia version from which your custom project inherits.

module-class-nameFoobarModule The Java class name of the autogenerated module class.
project-namefoobar-module

Project name.

...

ParameterExample valueExplanation
Maven groupId com.example Typically reflects the name or domain of your company or projects.
Maven artifactIdfox-force-four Project-specific identifier.
Maven artifact version1.0-SNAPSHOTProject version. Typically, when creating a new project, use the value suggested by Maven, for example 1.0-SNAPSHOT.
package com.example.modules.foxforcefour Package name for Java classes reflecting both your company (or domain) and the specific project.
magnolia-bundle-version6.02

Magnolia version from which your custom project inherits.

module-class-nameFoxforcefourModule The Java class name of the autogenerated module class.
project-namefox-force-four 

Project name.

...

ParameterExample valueExplanation
Maven groupId com.example Typically reflects the name or domain of your company or projects.
Maven artifactIdmy-blossom-module Project-specific identifier.
Maven artifact version1.0-SNAPSHOTProject version. Typically, when creating a new project, use the value suggested by Maven, for example 1.0-SNAPSHOT.
package com.example.modules.blossom Package name for Java classes reflecting both your company (or domain) and the specific project.
blossom-version3.2.1 3The version of the Magnolia Blossom module.
magnolia-bundle-version6.02

Magnolia version from which your module project inherits the BOM files managing the versions for third-party dependencies.

module-class-nameMyBlossomModule The Java class name of the autogenerated module class.
project-namemy-blossom-module

Project name.

...