SPA App deployment with classic profile

Avatar

Avatar

mrobinson

Avatar

mrobinson

mrobinson

04-09-2020

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! 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Andrei_Dantsou

Avatar

Andrei_Dantsou

Andrei_Dantsou

04-09-2020

Answers (1)

Answers (1)

Avatar

Avatar

Andrei_Dantsou

Avatar

Andrei_Dantsou

Andrei_Dantsou

04-09-2020

Hello @mrobinson,

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