SPA App deployment with classic profile | Community
Skip to main content
Level 3
September 4, 2020
Solved

SPA App deployment with classic profile

  • September 4, 2020
  • 2 replies
  • 2873 views

I am trying to deploy an SPA to AEM version 6.5.5 using the -Pclassic build profile, but at the end of the build process, I receive the following warning:

 

[WARNING] The requested profile "classic" could not be activated because it does not exist.

Am I missing something in order to include that profile?

Thanks! 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Andrei_Dantsou
Level 3
September 4, 2020

Hello @mrobinson-1,

The AEM project archetype (https://github.com/adobe/aem-project-archetype) doesn't include the mentioned profile by default. In order to make your profile available for the build, it should be specified in the "profiles" section of your pom.xml. Please see the documentation for more details about profiles definition.

Regards

Level 3
September 4, 2020

Understood. Is there anywhere that has the full profile code? In the documentation, it provides some of it, but not all. There is a '...' which I assume contains collapsed code.

 

An additional Maven profile, named classic has been added to modify the build to target AEM 6.x environments:
  <!-- AEM 6.x Profile to include Core Components-->
    <profile>
        <id>classic</id>
        <activation>
            <activeByDefault>false</activeByDefault>
        </activation>
        <build>
        ...
    </profile>

 

Andrei_Dantsou
Andrei_DantsouAccepted solution
Level 3
September 4, 2020
Level 3
September 4, 2020
Thank you!!