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!
Solved! Go to Solution.
Views
Replies
Total Likes
@mrobinson ,
The classic profile can be found in the tutorial code repo:
https://github.com/adobe/aem-guides-wknd-spa/blob/React/create-project-start/all/pom.xml
https://github.com/adobe/aem-guides-wknd-spa/blob/React/create-project-start/core/pom.xml
Regards
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
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.
<!-- AEM 6.x Profile to include Core Components--> <profile> <id>classic</id> <activation> <activeByDefault>false</activeByDefault> </activation> <build> ... </profile>
Views
Replies
Total Likes
@mrobinson ,
The classic profile can be found in the tutorial code repo:
https://github.com/adobe/aem-guides-wknd-spa/blob/React/create-project-start/all/pom.xml
https://github.com/adobe/aem-guides-wknd-spa/blob/React/create-project-start/core/pom.xml
Regards
Views
Replies
Total Likes
Views
Like
Replies
Views
Likes
Replies