Expand my Community achievements bar.

SOLVED

How to create Site 30 template ? [AEM Sites - Quick Site Creation]

Avatar

Level 2

Using aem-site-template-standard I am able to create site. But I just want to create site template for quick site creation. Can anyone share steps for the same.

I have some links which I have used to understand and implement site template in to the site. 

https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-wknd-tutorial-devel...
https://github.com/adobe/aem-site-template-standard
https://github.com/adobe/aem-site-template-builder

1 Accepted Solution

Avatar

Correct answer by
Level 2

Here is the answer.

If you used the AEM Project Archetype to setup your project, make sure to adjust the property in the root Maven pom.xml like below.

I have changed property in root pom.xml, I have updated version of AEM Analyser to latest version.

Old version: [pom.xml]

<properties>
<aemanalyser.version>0.9.2</aemanalyser.version>
</properties>

<build>
<plugins> </plugins>
<pluginManagement>
<!-- AEM Analyser Plugin -->
<plugin>
<groupId>com.adobe.aem</groupId>
<artifactId>aemanalyser-maven-plugin</artifactId>
<version>${aemanalyser.version}</version>
<extensions>true</extensions>
</plugin>
</pluginManagement>
</build>

Latest Version: [pom.xml]

<properties>
<aemanalyser.version>1.3.0</aemanalyser.version> <!-- Make sure to use the latest release -->
</properties>

<build>
<plugins> </plugins>
<pluginManagement>
<!-- AEM Analyser Plugin -->
<plugin>
<groupId>com.adobe.aem</groupId>
<artifactId>aemanalyser-maven-plugin</artifactId>
<version>${aemanalyser.version}</version>
<extensions>true</extensions>
</plugin>
</pluginManagement>
</build>


Check latest version of AEM Analyser Maven Plugin https://mvnrepository.com/artifact/com.adobe.aem/aemanalyser-maven-plugin

 

 

View solution in original post

1 Reply

Avatar

Correct answer by
Level 2

Here is the answer.

If you used the AEM Project Archetype to setup your project, make sure to adjust the property in the root Maven pom.xml like below.

I have changed property in root pom.xml, I have updated version of AEM Analyser to latest version.

Old version: [pom.xml]

<properties>
<aemanalyser.version>0.9.2</aemanalyser.version>
</properties>

<build>
<plugins> </plugins>
<pluginManagement>
<!-- AEM Analyser Plugin -->
<plugin>
<groupId>com.adobe.aem</groupId>
<artifactId>aemanalyser-maven-plugin</artifactId>
<version>${aemanalyser.version}</version>
<extensions>true</extensions>
</plugin>
</pluginManagement>
</build>

Latest Version: [pom.xml]

<properties>
<aemanalyser.version>1.3.0</aemanalyser.version> <!-- Make sure to use the latest release -->
</properties>

<build>
<plugins> </plugins>
<pluginManagement>
<!-- AEM Analyser Plugin -->
<plugin>
<groupId>com.adobe.aem</groupId>
<artifactId>aemanalyser-maven-plugin</artifactId>
<version>${aemanalyser.version}</version>
<extensions>true</extensions>
</plugin>
</pluginManagement>
</build>


Check latest version of AEM Analyser Maven Plugin https://mvnrepository.com/artifact/com.adobe.aem/aemanalyser-maven-plugin