Comprehensive Explanation
The Adobe AEM Project Archetype supports the package parameter for defining the Java source package used when generating the project structure.
According to the official archetype properties, the package parameter defaults to the value of groupId .
For example:
-DgroupId=com.example
-Dpackage=com.example.aem.core
In this configuration, groupId controls the Maven project group identifier, while package explicitly specifies the Java package namespace.
This distinction is important when an organization wants its generated Java classes to use a package structure different from its Maven artifact coordinates.
Option B is incorrect because packageManager is not the relevant archetype generation property.
Option C is incorrect because basePackage is not the property documented in the official Adobe AEM Project Archetype parameter table.
Option D is a plausible distractor because groupId establishes the default Java package name when the package parameter is omitted. However, it is not the specific property used to override that package name.
The correct answer is therefore package .
Adobe's archetype documentation identifies the default value of package as ${groupId} , confirming that these properties are related but have distinct purposes.
Official Adobe Reference: Adobe AEM Project Archetype — Available Properties: package and groupId.
Submit