Skip to content

Error creating archetype 3.3.1 #1308

@itziarAlbi

Description

@itziarAlbi

We are new!.
We have cloned the archetype https://github.com/adobe/aem-project-archetype, specifically the release 56 of develop with https://github.com/adobe/aem-project-archetype.git
We have Java 11, and Maven 3.6.3 installed

Next, inside our directory C:\AEMaem-project-archetype> we run:

mvn -e -B org.apache.maven.plugins:maven-archetype-plugin:3.3.1:generate \ -Dhttps.protocols=TLSv1.2 -DarchetypeGroupId=com.adobe.aem \ -DarchetypeArtifactId=aem-project-archetype \ -DarchetypeVersion=56 \ -DappTitle="AGE AEM Bundle" \ -DappId="age-aem-bundle1-config" \ -DgroupId="com.age.aem.config" \ -DaemVersion=6.5.8 \ -DincludeDispatcherConfig=n \ -Ddatalayer=n

It creates the directory age-aem-bundle1-config with the pom.xml, but the following error occurs

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.3.1:generate (default-cli) on project aem-project-archetype: Unable to add module to the current project as it is not of packaging type 'pom' -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.3.1:generate (default-cli) on project aem-project-archetype: Unable to add module to the current project as it is not of packaging type 'pom'

Do we need to configure or download anything else to create our archetype?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions